fix(flux): add imagepolicy setter markers to deployment (#238)

Without these comments the ImageUpdateAutomation with strategy=Setters
has nothing to rewrite, so new image tags detected by ImagePolicy never
get committed back to main and the cluster never rolls out new builds.

Reviewed-on: graham/towerops-web#238
This commit is contained in:
Graham McIntire 2026-04-15 13:33:08 -05:00 committed by graham
parent 445cafa88b
commit ecb30b2785

View file

@ -32,7 +32,7 @@ spec:
type: RuntimeDefault
initContainers:
- name: migrate
image: git.mcintire.me/graham/towerops-web:main-1774707244-ce7a8d1
image: git.mcintire.me/graham/towerops-web:main-1774707244-ce7a8d1 # {"$imagepolicy": "flux-system:towerops-web"}
imagePullPolicy: IfNotPresent
command: ["/app/bin/migrate"]
securityContext:
@ -100,7 +100,7 @@ spec:
cpu: "500m"
containers:
- name: towerops
image: git.mcintire.me/graham/towerops-web:main-1774707244-ce7a8d1
image: git.mcintire.me/graham/towerops-web:main-1774707244-ce7a8d1 # {"$imagepolicy": "flux-system:towerops-web"}
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false