fix(mosquitto): set password file when auth is enabled (#3216)

* fix(mosquitto): set password file when auth is enabled

* Update Chart.yaml

* Update README.md.gotmpl
This commit is contained in:
Kjeld Schouten-Lebbing
2022-07-19 11:42:12 +02:00
committed by GitHub
parent 12e1b64b11
commit 74db8dd910
3 changed files with 30 additions and 5 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ name: mosquitto
sources:
- https://github.com/eclipse/mosquitto
type: application
version: 6.0.18
version: 6.0.19
annotations:
truecharts.org/catagories: |
- homeautomation
+1
View File
@@ -22,6 +22,7 @@ configmap:
listener {{ .Values.service.main.ports.main.port }}
{{- if .Values.auth.enabled }}
allow_anonymous false
password_file /mosquitto/data/passwords.txt
{{- else }}
allow_anonymous true
{{- end }}