-
Notifications
You must be signed in to change notification settings - Fork 263
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
Image updater updates the wrong helm values when having more than one chart in an Argocd Application #821
Comments
so the issue is, you're expecting the updates in repo1, but it actually goes to repo2 in this multi-source app? Have you tried |
I have exactly the same problem when using
Image updater recognizes that the new image (with new digest) was pushed to the repository, but gets that digest and for example tries to update the first one deployment ( The message looks like: I know that as a workaround I could prepare single values.yaml file and specify the
but I would prefer to have separate values files to keep the possibility to deploy some subset of the apps, not always all of them. I do not want to prepare merged values file each time with double (or trippled) field names prefixed with app. |
Describe the bug
When having more than one helm chart deployed in the same Application file, the annotation
argocd-image-updater.argoproj.io/XXXX.helm.image-name
does not update the properties for the correct chart, but for the first one.To Reproduce
Application.yaml
Expected behavior
Version
Chart version 0.11.0
Logs
The logs mentions that the properties are updated correctly and does not throw errors, but the place where the properties are updated is logically wrong
Additional-context
In the case above, we only had to swap chart-2 with chart-1 in the Application.yaml and it worked fine, since for chart-1 we don't need to use image updater. But in the cases where we have to update two images in two different values files which are in the same Application.yaml, this will not succeed. (Splitting the charts to different apps is a workaround ofcourse, but not always desired)
The text was updated successfully, but these errors were encountered: