Skip to content

Instantly share code, notes, and snippets.

@initcron
Last active October 18, 2024 06:20
Show Gist options
  • Save initcron/ddf79cb9ba9ca940a1263150b586ec60 to your computer and use it in GitHub Desktop.
Save initcron/ddf79cb9ba9ca940a1263150b586ec60 to your computer and use it in GitHub Desktop.
Mark Staging App for Automatic Image Updates from Argo
metadata:
annotations:
argocd-image-updater.argoproj.io/git-branch: main
argocd-image-updater.argoproj.io/image-list: myimage=xxxxxx/vote
argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9a-f]{7}$
argocd-image-updater.argoproj.io/myimage.ignore-tags: latest, dev
argocd-image-updater.argoproj.io/myimage.update-strategy: latest
argocd-image-updater.argoproj.io/myimage.kustomize.image-name: schoolofdevops/vote
argocd-image-updater.argoproj.io/myimage.force-update: "true"
argocd-image-updater.argoproj.io/write-back-method: git:secret:argocd/git-creds
argocd-image-updater.argoproj.io/write-back-target: "kustomization:../base"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment