Is it possible to configure image updater to change only image tag with helm values #1189
Unanswered
KonstantinNosov
asked this question in
Q&A
Replies: 2 comments 2 replies
-
With your helm chart structure, you can use: argocd-image-updater.argoproj.io/<image_alias>.helm.image-name: image.repository # maps to the repository field in helm values file
argocd-image-updater.argoproj.io/<image_alias>.helm.image-tag: image.version # maps to version field in helm values file |
Beta Was this translation helpful? Give feedback.
1 reply
-
You may want to take a look at one of the sample apps: https://github.com/chengfang/image-updater-examples/tree/main/write-helmvalues. Its helm values file contains: image:
registry: docker.io
repository: bitnami/nginx
tag: 1.27.1 and application manifest file has annotations to map the helm parameters: argocd-image-updater.argoproj.io/nginx.helm.image-name: image.repository
argocd-image-updater.argoproj.io/nginx.helm.image-tag: image.tag With the above config, the default value for helm image name ("image.name") does not take effect, as the helm image name property is directed towards |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
in docs there are described 2 ways of configuration:
name and tag
spec:
I have helm chart that defines image with 3 values
so neither of two documented options work. Ideally i need just image.version be updated to imgae updater determined tag , but even if i have
argocd-image-updater.argoproj.io/<image_alias>.helm.image-name: ""
or not set helm.image-name annotation at all it uses default 'image.name' and adds value...Adding dummy
.helm.image-name
does not work as chart has json schema validationBeta Was this translation helpful? Give feedback.
All reactions