From ecb30b2785da5b95c5feba65ef3b83a864737506 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 15 Apr 2026 13:33:08 -0500 Subject: [PATCH] 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: https://git.mcintire.me/graham/towerops-web/pulls/238 --- k8s/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 5cad6cbb..c182e4a7 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -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