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
Describe the bug
After successfully updating the image, the Helm values passed in the application are reset.
To Reproduce
Steps to reproduce the behavior:
Create an Argo Application resource with Helm as source. Pass values in valuesObject. Annotate with "argocd-image-updater.argoproj.io/image.update-strategy": "digest" and other relevant annotations for image-updater.
Sync the application, resources are rendered successfully.
Push a new image on same tag. Argocd-image-updater successfully detects the change but resets the values passed to Helm chart in Application spec.
Expected behavior
The Helm values passed in the Application spec should remain unchanged after updating the image.
Additional context
I assume image-updater updates the resources by passing image.tag as parameter to helm, and dismisses the values set previously. I have tried to pass values as parameters in Application spec and it worked fine. Works with values passed too. But I want to resort back to using valuesObject to specify values for my Helm release.
Version
ArgoCD: 2.10.2
Argocd-image-updater: 0.12.2
The text was updated successfully, but these errors were encountered:
Hello, I was experiencing the same issue you described and found out the problem doesn't appear on the current master branch.
The latest ArgoCD Image Updater release 0.12.2 was done 1 year and 4 months ago in January 2023 but ArgoCD merged the valuesObject feature 6 months later in June 2023 argoproj/argo-cd#11538 so that's why it wasn't supported in 0.12.2.
It's hard to tell if there will be a new release soon so your best chance is to use the latest docker image tag quay.io/argoprojlabs/argocd-image-updater:latest for now.
Describe the bug
After successfully updating the image, the Helm values passed in the application are reset.
To Reproduce
Steps to reproduce the behavior:
valuesObject
. Annotate with"argocd-image-updater.argoproj.io/image.update-strategy": "digest"
and other relevant annotations for image-updater.Expected behavior
The Helm values passed in the Application spec should remain unchanged after updating the image.
Additional context
I assume image-updater updates the resources by passing image.tag as parameter to helm, and dismisses the values set previously. I have tried to pass values as
parameters
in Application spec and it worked fine. Works withvalues
passed too. But I want to resort back to using valuesObject to specify values for my Helm release.Version
ArgoCD: 2.10.2
Argocd-image-updater: 0.12.2
The text was updated successfully, but these errors were encountered: