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:
parent
445cafa88b
commit
ecb30b2785
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue