diff --git a/argocd/templates/imageupdaters.yaml b/argocd/templates/imageupdaters.yaml new file mode 100644 index 0000000..1544483 --- /dev/null +++ b/argocd/templates/imageupdaters.yaml @@ -0,0 +1,22 @@ +{{- /* +argocd-image-updater v1+ ships a CRD-based controller: it no longer scans +Application annotations on its own and idles with "No ImageUpdater CRs to +process" — which silently froze image rollouts for the WHOLE fleet (kadans, +webapp, cms, dance-lessons-coach, prospection, telegram-gateway) after the +un-pinned HelmChart pulled the new major. + +This single CR restores the previous behaviour: select every Application in +the argocd namespace and read the existing +`argocd-image-updater.argoproj.io/*` annotations (useAnnotations mode). Apps +without annotations are simply ignored — no per-app CR to maintain, the +annotations in values.yaml stay the one source of truth. +*/ -}} +apiVersion: argocd-image-updater.argoproj.io/v1alpha1 +kind: ImageUpdater +metadata: + name: annotated-applications + namespace: argocd +spec: + applicationRefs: + - namePattern: "*" + useAnnotations: true