You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the argocd-image-updater.argoproj.io/git-branch annotation, Argo CD Image Updater may create new, different branches with different SHA256 hashes.
This causes significant "noise" in creating and closing many Git branches.
To Reproduce
Deploy an Argo CD Application with the argocd-image-updater.argoproj.io/git-branch annotation and multiple container images.
Expected behavior
We expect a single branch to be created with a single, consistent, unique SHA256 hash.
Additional context
The write back git commit often lists only a subset of images in the Application and does not find the {{ .OldTag }}.
Example commit message:
updates image container-1 tag '' to '0.1.27'
updates image container-2 tag '' to '0.4.8'
updates image container-3 tag '' to '1.8.8'
updates image container-7 tag '' to '1.0.1'
updates image container-8 tag '' to '0.2.0'
another example commit message (for the same image tag update):
updates image container-1 tag to 0.1.27
updates image container-2 tag to 0.4.8
updates image container-3 tag to 1.8.8
updates image container-4 tag to 1.1.0
updates image container-5 tag to 0.6.9
updates image container-7 tag to 1.0.1
updates image container-8 tag to 0.2.0
Note that images are listed even when there is no new tag, but also not all image are listed.
Describe the bug
When using the
argocd-image-updater.argoproj.io/git-branch
annotation, Argo CD Image Updater may create new, different branches with different SHA256 hashes.This causes significant "noise" in creating and closing many Git branches.
To Reproduce
Deploy an Argo CD Application with the
argocd-image-updater.argoproj.io/git-branch
annotation and multiple container images.Expected behavior
We expect a single branch to be created with a single, consistent, unique SHA256 hash.
Additional context
The write back git commit often lists only a subset of images in the Application and does not find the
{{ .OldTag }}
.Example commit message:
another example commit message (for the same image tag update):
Note that images are listed even when there is no new tag, but also not all image are listed.
Example ApplicationSet:
Version
ArgoCD Image Updater v0.14.0
Note, we've seen this behavior for a long time and it does not appear to be new to this version.
Logs
No relevant logs.
The text was updated successfully, but these errors were encountered: