argocd-image-updater icon indicating copy to clipboard operation
argocd-image-updater copied to clipboard

Kustomize using Helm Charts - Constantly updating images

Open tman5 opened this issue 1 year ago • 2 comments

We're using Helm charts through Kustomize. During every update cycle the images are being updated even if there are no image updates in the upstream repo:

2024-08-06T10:43:27.268478185-04:00 stdout F time="2024-08-06T14:43:27Z" level=info msg="Successfully updated image 'registry.local/myapp@dummy' to 'registry.local/myapp@sha', but pending spec update (dry run=false)" alias=myapp application=myapp image_name=myapp image_tag=app registry=registry.local

I have these annotations on the application object, however, I don't think they do anything because it's using kustomize not helm. But the problem is it keeps trying to update

        argocd-image-updater.argoproj.io/myapp.helm.image-name: image.repository
        argocd-image-updater.argoproj.io/myapp.helm.image-tag: image.tag

tman5 avatar Aug 06 '24 17:08 tman5

@tman5 can you share more application details, trace logs, etc? Does it happen with digest update strategy, or happen to other strategies too?

chengfang avatar Aug 30 '24 20:08 chengfang

Digest update strategy - that's the only one that works for our workflow. What other details do you need specifically? It's a custom helm chart we developed and it's using the helm chart inflator in kustomize.

tman5 avatar Sep 12 '24 13:09 tman5