[mosquitto] Add per_listener_settings option (#1623)

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-06-19 12:12:17 +02:00 committed by GitHub
parent d35052eb8a
commit 3b54c90168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 2.0.11 appVersion: 2.0.11
description: Eclipse Mosquitto - An open source MQTT broker description: Eclipse Mosquitto - An open source MQTT broker
name: mosquitto name: mosquitto
version: 4.3.2 version: 4.4.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- mosquitto - mosquitto
@ -22,5 +22,5 @@ dependencies:
version: 4.4.2 version: 4.4.2
annotations: annotations:
artifacthub.io/changes: |- artifacthub.io/changes: |-
- kind: changed - kind: added
description: Upgraded `common` chart dependency to version 4.4.2 description: Added support for enabling `per_listener_settings`

View File

@ -8,6 +8,7 @@ metadata:
{{- include "common.labels" . | nindent 4 }} {{- include "common.labels" . | nindent 4 }}
data: data:
mosquitto.conf: | mosquitto.conf: |
per_listener_settings {{ .Values.perListenerSettings }}
listener {{ .Values.service.main.ports.mqtt.port }} listener {{ .Values.service.main.ports.mqtt.port }}
{{- if .Values.auth.enabled }} {{- if .Values.auth.enabled }}
allow_anonymous false allow_anonymous false

View File

@ -28,6 +28,9 @@ auth:
# -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config. # -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config.
enabled: false enabled: false
# -- By enabling this, authentication and access control settings will be controlled on a per-listener basis
perListenerSettings: false
persistence: persistence:
# -- Configure a persistent volume to place mosquitto data in. # -- Configure a persistent volume to place mosquitto data in.
# When enabled, this enables `persistence` and `persistence_location` in the mosquitto config. # When enabled, this enables `persistence` and `persistence_location` in the mosquitto config.