fix(argocd): restore fleet image rollouts — image-updater v1 needs an ImageUpdater CR (#34)
Co-authored-by: Gabriel Radureau <[email protected]> Co-committed-by: Gabriel Radureau <[email protected]>
This commit was merged in pull request #34.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user