-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argo CD Image Updater causes an infinite loop of syncs with ApplicationSets #400
Comments
I'm afraid that the only way to use Image Updater in combination with ApplicationSet is to use Git write-back. If you use the This behavior most likely needs to change in ApplicationSet controller. |
what about if you add write-back-method. From the doc:
|
It'd be really great if you'd mention this in the documentation (in the "Limitations" section maybe?). It would have saved me a lot of time. |
For anyone hitting this, it seems to work without git write-back by using kind: ApplicationSet
spec:
ignoreApplicationDifferences:
- jsonPointers:
- /spec/source/kustomize/images I'm using the pull request generator, and ending up with a bunch of |
Another solution is to modify Argo CD applicationset controller policy. See #186 (comment) |
Describe the bug
I am using ApplicationSets to deploy multiple applications, the template for this ApplicationSet is creating applications with the required annotations for the image updater. This leads to the applications syncing constantly.
I cannot use git writeback as I want to ensure the image tagged
main
is always deployed.To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
When the image digest changes there should be a sync, but this should not be an infinite loop.
Version
Argo CD: v2.3.1
Argo CD Image Updater: v 0.11.3
The text was updated successfully, but these errors were encountered: