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