argocd-image-updater
argocd-image-updater copied to clipboard
Option to just restart pod on image update detection
Is your feature request related to a problem? Please describe. If I'm updating to a tag we shouldnt have to write back to the git repo as long as pull-policy: always is set Describe the solution you'd like Option to just restart the pod when the tag is updated
Describe alternatives you've considered Git writeback would be fine except for the fact that all code goes through a review process and cant be commited directly to main
Additional context Add any other context or screenshots about the feature request here.
Though I am not the maintainer of this project, your best bet is to use digest update strategy which is introduced exactly for this purpose (restarting a pod upon an update to a mutable tag).
It still requires a git write-back, though, because there's no way that argocd-image-updater can detect if the image is updated or not without comparing the image's sha hash and it must be included as part of the tag value.