Category : acl

This is with OpenShift Container Platform 4.3. Consider this Dockerfile. FROM eclipse-mosquitto # Create folders USER root RUN mkdir -p /mosquitto/data /mosquitto/log # mosquitto configuration USER mosquitto # This is crucial to me COPY –chown=mosquitto:mosquitto ri45.conf /mosquitto/config/mosquitto.conf EXPOSE 1883 And, this is my Deployment YAML. apiVersion: apps/v1 kind: Deployment metadata: name: mosquitto-broker spec: selector: matchLabels: ..

Read more