Add: Mosquitto MQTT Broker

This commit is contained in:
nold 2022-05-04 19:02:50 +02:00
parent 4a6bb29c7b
commit 976ea10aa1
2 changed files with 43 additions and 0 deletions

View file

@ -17,3 +17,8 @@ apps:
keys:
- root-user
- root-password
- name: mqtt
chart: mosquitto
repo: k8s-at-home
targetRevision: 4.3.1

View file

@ -0,0 +1,38 @@
image:
# -- image repository
repository: eclipse-mosquitto
# -- image tag
tag: 2.0.11
# -- image pull policy
pullPolicy: IfNotPresent
# -- Configures service settings for the chart. Normally this does not need to be modified.
# @default -- See values.yaml
service:
main:
ports:
http:
enabled: true
mqtt:
enabled: true
port: 1883
auth:
# -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config.
enabled: false
persistence:
# -- Configure a persistent volume to place mosquitto data in.
# When enabled, this enables `persistence` and `persistence_location` in the mosquitto config.
# @default -- See values.yaml
data:
enabled: false
mountPath: /mosquitto/data
# -- Configure a persistent volume to place *.conf mosquitto-config-files in.
# When enabled, this gets set as `include_dir` in the mosquitto config.
# @default -- See values.yaml
configinc:
enabled: false
mountPath: /mosquitto/configinc
accessMode: ReadWriteOnce
size: 100Mi