mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-31 13:59:04 +00:00
ed7e0965d3
* [mosquitto] Upgrade to common v3 Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev> * Update maintainers Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
23 lines
660 B
YAML
23 lines
660 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "common.names.fullname" . }}-config
|
|
labels:
|
|
{{- include "common.labels" . | nindent 4 }}
|
|
data:
|
|
mosquitto.conf: |
|
|
listener {{ .Values.service.main.ports.mqtt.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 }}
|