apiVersion: v1
kind: ConfigMap
metadata:
    name: mosquitto.conf
    namespace: iot
data:
    mosquitto.conf: |
        listener 1883
        allow_anonymous true
        persistence true
        persistence_location /mosquitto/data/
        log_dest file /mosquitto/log/mosquitto.log
