set as host network as change image and imagePullPolicy
This commit is contained in:
@@ -15,9 +15,9 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: mosquitto
|
app: mosquitto
|
||||||
spec:
|
spec:
|
||||||
|
hostNetwork: true
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/hostname: casa
|
kubernetes.io/hostname: casa
|
||||||
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
@@ -27,7 +27,7 @@ spec:
|
|||||||
### Maintained by flux - Image Update Automation
|
### Maintained by flux - Image Update Automation
|
||||||
image: eclipse-mosquitto:latest@sha256:a908c65cc8e67ec9d292ef27c2c0360dbaaee7eb1b935cdd194e67697f15dea1 # {"$imagepolicy": "mqtt:eclipse-mosquitto"}
|
image: eclipse-mosquitto:latest@sha256:a908c65cc8e67ec9d292ef27c2c0360dbaaee7eb1b935cdd194e67697f15dea1 # {"$imagepolicy": "mqtt:eclipse-mosquitto"}
|
||||||
###
|
###
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["/usr/sbin/mosquitto"]
|
command: ["/usr/sbin/mosquitto"]
|
||||||
args: ["-c", "/etc/mosquitto/mosquitto.conf"]
|
args: ["-c", "/etc/mosquitto/mosquitto.conf"]
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user