infra4talos/apps-kustomized/external-mqtt/cm.yaml

25 lines
461 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: mosquitto-config
data:
mosquitto.conf: |
persistence true
persistence_location /mosquitto/data/
log_dest stdout
password_file /mosquitto/data/auth
# MQTTS listener
listener 8883
protocol mqtt
cafile /etc/ssl/certs/ca-certificates.crt
keyfile /mosquitto/certs/tls.key
certfile /mosquitto/certs/tls.crt
# WS Listener
listener 9001
protocol websockets