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:
@@ -21,7 +21,7 @@ name: mosquitto
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/eclipse/mosquitto
|
- https://github.com/eclipse/mosquitto
|
||||||
type: application
|
type: application
|
||||||
version: 6.0.18
|
version: 6.0.19
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- homeautomation
|
- homeautomation
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ configmap:
|
|||||||
listener {{ .Values.service.main.ports.main.port }}
|
listener {{ .Values.service.main.ports.main.port }}
|
||||||
{{- if .Values.auth.enabled }}
|
{{- if .Values.auth.enabled }}
|
||||||
allow_anonymous false
|
allow_anonymous false
|
||||||
|
password_file /mosquitto/data/passwords.txt
|
||||||
{{- else }}
|
{{- else }}
|
||||||
allow_anonymous true
|
allow_anonymous true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ https://truecharts.org
|
|||||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- define "custom.notes" -}}
|
{{- 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)**
|
**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 -}}
|
{{- end -}}
|
||||||
{{- define "custom.requirements" -}}
|
{{- 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" -}}
|
{{- define "custom.install" -}}
|
||||||
## Installing the Chart
|
## 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/).
|
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 -}}
|
{{- end -}}
|
||||||
{{- define "custom.uninstall" -}}
|
{{- 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/).
|
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 -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "custom.linking" -}}
|
{{- define "custom.linking" -}}
|
||||||
##### Connecting to other apps
|
##### 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.
|
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 -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "custom.support" -}}
|
{{- define "custom.support" -}}
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Adding-TrueCharts/) first.
|
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Important-MUST-READ).
|
||||||
- See the [Wiki](https://truecharts.org)
|
- See the [Website](https://truecharts.org)
|
||||||
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
|
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
|
||||||
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
|
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user