diff --git a/projects/services/project.yml b/projects/services/project.yml index 750e73e9..34dcad7e 100644 --- a/projects/services/project.yml +++ b/projects/services/project.yml @@ -17,3 +17,8 @@ apps: keys: - root-user - root-password + +- name: mqtt + chart: mosquitto + repo: k8s-at-home + targetRevision: 4.3.1 diff --git a/projects/services/values/mqtt.yaml b/projects/services/values/mqtt.yaml new file mode 100644 index 00000000..fcfcc2a6 --- /dev/null +++ b/projects/services/values/mqtt.yaml @@ -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