Skip to content

Commit 2baea8f

Browse files
authored
Make ArgoCD ignore annotation on ImageRepository when sycning (#4051)
Ignore image-controller.appstudio.redhat.com/update-component-image because controller is removing annotation after it is done with it. Without ignoring it, it would be constant loop fight between argoCD syncing and controller removing it Signed-off-by: Hugo Ares <[email protected]>
1 parent a615d2a commit 2baea8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

argo-cd-apps/base/tenants-config/tenants-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ spec:
2929
- /metadata/annotations/build.appstudio.openshift.io~1request
3030
- /metadata/annotations/image.redhat.com~1image
3131
- /metadata/annotations/image.redhat.com~1generate
32+
- group: appstudio.redhat.com
33+
kind: ImageRepository
34+
jsonPointers:
35+
- /metadata/annotations/image-controller.appstudio.redhat.com~1update-component-image
3236
- group: appstudio.redhat.com
3337
kind: ReleasePlan
3438
jsonPointers:

0 commit comments

Comments
 (0)