Skip to content

Commit 840a6b0

Browse files
Update apparmor broker reference (#552)
2 parents ffebe34 + 3a14d0a commit 840a6b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

edge-helm-charts/charts/mqtt-broker/templates/mqtt-broker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ spec:
3636
# This prevents back-offs that might occur during cluster scaling operations
3737
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
3838

39-
# This annotation disables AppArmor restrictions for the mosquitto container
39+
# This annotation disables AppArmor restrictions for the mqtt-broker container
4040
# This prevents security-related back-offs that might occur due to AppArmor policies
41-
container.apparmor.security.beta.kubernetes.io/mosquitto: "unconfined"
41+
container.apparmor.security.beta.kubernetes.io/mqtt-broker: "unconfined"
4242
spec:
4343
# Setting restartPolicy to Always ensures the pod will be restarted if it exits
4444
# While this doesn't directly disable back-offs, it works with other settings

0 commit comments

Comments
 (0)