diff --git a/deploy/app/statefulset.yaml b/deploy/app/statefulset.yaml index 8c7bdf1..2fdce1f 100644 --- a/deploy/app/statefulset.yaml +++ b/deploy/app/statefulset.yaml @@ -23,39 +23,38 @@ spec: operator: "Equal" value: "casa-mini-minion-01" effect: "NoSchedule" - containers: - - name: mosquitto - ### Maintained by flux - Image Update Automation - image: eclipse-mosquitto:latest@sha256:6f8d8a947c506f8a2290ec65cd4bd2bc7cb4d43fb5f6271f861cb013e2ef9797 # {"$imagepolicy": "mqtt:eclipse-mosquitto"} - ### - imagePullPolicy: IfNotPresent - command: ["/usr/sbin/mosquitto"] - args: ["-c", "/etc/mosquitto/mosquitto.conf"] - ports: - - containerPort: 8883 # Default MQTT port for encrypted communication using TLS/SSL - #hostPort: 8883 - protocol: TCP - - containerPort: 1883 # Default MQTT port for unencrypted communication - protocol: TCP - #hostPort: 1883 - volumeMounts: - - name: mosquitto-data - mountPath: /mosquitto-data - - mountPath: /etc/mosquitto/mosquitto.conf - name: mosquitto-secret - subPath: config - resources: - requests: - memory: "50Mi" - cpu: "100m" - limits: - memory: "100Mi" - cpu: "200m" - volumes: + - name: mosquitto + ### Maintained by flux - Image Update Automation + image: eclipse-mosquitto:latest@sha256:38c0da4f2ef84284d47b3b3eeea1cb3bdeabe81ee10caf0cd5c5ff61ee3ea408 # {"$imagepolicy": "mqtt:eclipse-mosquitto"} + ### + imagePullPolicy: IfNotPresent + command: ["/usr/sbin/mosquitto"] + args: ["-c", "/etc/mosquitto/mosquitto.conf"] + ports: + - containerPort: 8883 # Default MQTT port for encrypted communication using TLS/SSL + #hostPort: 8883 + protocol: TCP + - containerPort: 1883 # Default MQTT port for unencrypted communication + protocol: TCP + #hostPort: 1883 + volumeMounts: - name: mosquitto-data - persistentVolumeClaim: - claimName: mosquitto-data - - name: mosquitto-secret - secret: - secretName: "mosquitto" + mountPath: /mosquitto-data + - mountPath: /etc/mosquitto/mosquitto.conf + name: mosquitto-secret + subPath: config + resources: + requests: + memory: "50Mi" + cpu: "100m" + limits: + memory: "100Mi" + cpu: "200m" + volumes: + - name: mosquitto-data + persistentVolumeClaim: + claimName: mosquitto-data + - name: mosquitto-secret + secret: + secretName: "mosquitto"