mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
added auth and config_dir (#667)
This commit is contained in:
parent
194990c6c0
commit
ab6cbbb1b0
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 2.0.7
|
appVersion: 2.0.7
|
||||||
description: Eclipse Mosquitto - An open source MQTT broker
|
description: Eclipse Mosquitto - An open source MQTT broker
|
||||||
name: mosquitto
|
name: mosquitto
|
||||||
version: 1.2.0
|
version: 1.3.0
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- mosquitto
|
- mosquitto
|
||||||
|
@ -83,11 +83,17 @@ N/A
|
|||||||
| persistence.data.enabled | bool | `false` | |
|
| persistence.data.enabled | bool | `false` | |
|
||||||
| persistence.data.mountPath | string | `"/mosquitto/data"` | |
|
| persistence.data.mountPath | string | `"/mosquitto/data"` | |
|
||||||
| persistence.data.size | string | `"100Mi"` | |
|
| persistence.data.size | string | `"100Mi"` | |
|
||||||
|
| persistence.configinc.accessMode | string | `"ReadWriteOnce"` | |
|
||||||
|
| persistence.configinc.emptyDir | bool | `false` | |
|
||||||
|
| persistence.configinc.enabled | bool | `false` | |
|
||||||
|
| persistence.configinc.mountPath | string | `"/mosquitto/configinc"` | |
|
||||||
|
| persistence.configinc.size | string | `"100Mi"` | |
|
||||||
| service.annotations | object | `{}` | |
|
| service.annotations | object | `{}` | |
|
||||||
| service.port.name | string | `"mqtt"` | |
|
| service.port.name | string | `"mqtt"` | |
|
||||||
| service.port.port | int | `1883` | |
|
| service.port.port | int | `1883` | |
|
||||||
| service.type | string | `"ClusterIP"` | |
|
| service.type | string | `"ClusterIP"` | |
|
||||||
| strategy.type | string | `"Recreate"` | |
|
| strategy.type | string | `"Recreate"` | |
|
||||||
|
| auth.enabled | bool | `false` | |
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
@ -119,4 +125,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||||
|
@ -7,9 +7,16 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
mosquitto.conf: |
|
mosquitto.conf: |
|
||||||
listener {{ .Values.service.port.port }}
|
listener {{ .Values.service.port.port }}
|
||||||
|
{{- if .Values.auth.enabled }}
|
||||||
|
allow_anonymous false
|
||||||
|
{{- else }}
|
||||||
allow_anonymous true
|
allow_anonymous true
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.persistence.data.enabled }}
|
{{- if .Values.persistence.data.enabled }}
|
||||||
persistence true
|
persistence true
|
||||||
persistence_location {{ .Values.persistence.data.mountPath }}
|
persistence_location {{ .Values.persistence.data.mountPath }}
|
||||||
autosave_interval 1800
|
autosave_interval 1800
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.persistence.configinc.enabled }}
|
||||||
|
include_dir {{ .Values.persistence.configinc.mountPath }}
|
||||||
|
{{- end }}
|
||||||
|
@ -21,6 +21,9 @@ service:
|
|||||||
port: 1883
|
port: 1883
|
||||||
name: mqtt
|
name: mqtt
|
||||||
|
|
||||||
|
auth:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
data:
|
data:
|
||||||
enabled: false
|
enabled: false
|
||||||
@ -38,3 +41,20 @@ persistence:
|
|||||||
## Do not delete the pvc upon helm uninstall
|
## Do not delete the pvc upon helm uninstall
|
||||||
# skipuninstall: false
|
# skipuninstall: false
|
||||||
# existingClaim: ""
|
# existingClaim: ""
|
||||||
|
configinc:
|
||||||
|
# a persistent volume to place *.conf mosquitto-config-files in
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /mosquitto/configinc
|
||||||
|
## Persistent Volume Storage Class
|
||||||
|
## If defined, storageClassName: <storageClass>
|
||||||
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||||
|
## If undefined (the default) or set to null, no storageClassName spec is
|
||||||
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||||
|
## GKE, AWS & OpenStack)
|
||||||
|
# storageClass: "-"
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 100Mi
|
||||||
|
## Do not delete the pvc upon helm uninstall
|
||||||
|
# skipuninstall: false
|
||||||
|
# existingClaim: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user