-
Notifications
You must be signed in to change notification settings - Fork 314
Description
Description:
Hi,
I noticed an issue with rollback handling when using Argo CD Image Updater.
My setup:
Argo CD + Argo CD Image Updater
argocd-image-updater.argoproj.io/write-back-method: git
Image update policy like ~v0.1
Problem:
I pushed a new image v0.1.6.
Image Updater updated my Git repo automatically to v0.1.6.
Later, I needed to rollback, so I manually set the image tag in Git to v0.1.3.
After a short time, Image Updater again committed v0.1.6 to Git, overriding my rollback.
Expected behavior:
When I rollback in Git, I would expect Image Updater to respect that rollback (at least temporarily), instead of immediately overriding it with the latest tag.
Actual behavior:
Image Updater continues to enforce the update policy and reverts my manual rollback by pushing the latest tag again.
Question:
Is this the intended behavior?
Should rollback scenarios always be handled by disabling annotations or pinning a fixed tag?
Or is this a bug/feature gap where Image Updater should recognize rollbacks and not override them automatically?