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 }}
+28 -4
View File
@@ -14,7 +14,7 @@ https://truecharts.org
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
{{- end -}}
{{- define "custom.notes" -}}
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE. Please refer to your specific platform for more detailed instructions.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
{{- end -}}
{{- define "custom.requirements" -}}
@@ -30,24 +30,48 @@ TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not gu
{{- define "custom.install" -}}
## Installing the Chart
### TrueNAS SCALE
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
### Helm
To install the chart with the release name `{{ template "chart.name" . }}`
```console
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
helm repo update
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.uninstall" -}}
## Upgrading, Rolling Back and Uninstalling the Chart
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
## Helm
To uninstall the `{{ template "chart.name" . }}` deployment
```console
helm uninstall {{ template "chart.name" . }}
```
{{- end -}}
{{- define "custom.linking" -}}
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
{{- end -}}
{{- define "custom.support" -}}
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Adding-TrueCharts/) first.
- See the [Wiki](https://truecharts.org)
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
{{- end -}}