Files
truecharts/charts/stable/mosquitto/values.yaml
T
TrueCharts BotandGitHub 384bb2e450 chore(deps): update docker general non-major (#3453)
* chore(deps): update docker general non-major

* Commit bumped Chart Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
2022-08-12 22:40:58 +02:00

55 lines
1.4 KiB
YAML

image:
repository: tccr.io/truecharts/eclipse-mosquitto
tag: v2.0.14@sha256:2db29a781f38daacaa359d220e9c40196cbe3d43caa53da3a6d42b89298c094d
pullPolicy: IfNotPresent
service:
main:
ports:
main:
port: 1883
targetPort: 1883
auth:
# -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config.
enabled: false
configmap:
config:
enabled: true
data:
mosquitto.conf: |
listener {{ .Values.service.main.ports.main.port }}
{{- if .Values.auth.enabled }}
allow_anonymous false
{{- else }}
allow_anonymous true
{{- end }}
{{- if .Values.persistence.data.enabled }}
persistence true
persistence_location {{ .Values.persistence.data.mountPath }}
autosave_interval 1800
{{- end }}
{{- if .Values.persistence.configinc.enabled }}
include_dir {{ .Values.persistence.configinc.mountPath }}
{{- end }}
persistence:
data:
enabled: true
mountPath: "/mosquitto/data"
configinc:
enabled: true
mountPath: "/mosquitto/configinc"
mosquitto-config:
enabled: "true"
mountPath: "/mosquitto/config/mosquitto.conf"
subPath: "mosquitto.conf"
type: "custom"
volumeSpec:
configMap:
name: '{{ template "tc.common.names.fullname" . }}-config'
portal:
enabled: false