From f4dfb9402c99f4326ab0305f18c3141d684e5f03 Mon Sep 17 00:00:00 2001 From: nick-gorse Date: Mon, 24 Aug 2026 19:42:16 +0100 Subject: [PATCH] add overall image updater --- .../argocd-image-updater/kustomization.yaml | 1 + .../overall-image-updater.yaml | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 manifest/overlays/production/argocd-image-updater/overall-image-updater.yaml diff --git a/manifest/overlays/production/argocd-image-updater/kustomization.yaml b/manifest/overlays/production/argocd-image-updater/kustomization.yaml index fa74996..dbc5e77 100644 --- a/manifest/overlays/production/argocd-image-updater/kustomization.yaml +++ b/manifest/overlays/production/argocd-image-updater/kustomization.yaml @@ -4,6 +4,7 @@ kind: Component resources: - https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/v1.2.2/config/install.yaml - regcred.sealed.secret.yaml + - overall-image-updater.yaml commonAnnotations: glance/parent: argocd diff --git a/manifest/overlays/production/argocd-image-updater/overall-image-updater.yaml b/manifest/overlays/production/argocd-image-updater/overall-image-updater.yaml new file mode 100644 index 0000000..c50a4ba --- /dev/null +++ b/manifest/overlays/production/argocd-image-updater/overall-image-updater.yaml @@ -0,0 +1,38 @@ +apiVersion: argocd-image-updater.argoproj.io/v1alpha1 +kind: ImageUpdater +metadata: + name: argocd-overall-production-updater + namespace: argocd +spec: + commonUpdateSettings: + updateStrategy: semver + forceUpdate: true + applicationRefs: + - namePattern: traefik-production + writeBackConfig: + method: git + gitConfig: + writeBackTarget: "kustomization:." + images: + - alias: traefik + imageName: docker.io/traefik + manifestTargets: + kustomize: + name: docker.io/traefik + - alias: traefik-manager + imageName: ghcr.io/chr0nzz/traefik-manager + manifestTargets: + kustomize: + name: ghcr.io/chr0nzz/traefik-manager + - namePattern: headlamp-production + writeBackConfig: + method: git + gitConfig: + writeBackTarget: "helmvalues:.manifests/overlay/production/helm-values/values.yaml" + images: + - alias: headlamp + imageName: ghcr.io/headlamp-k8s/headlamp + manifestTargets: + helm: + name: "image.repository" + tag: "image.tag" \ No newline at end of file