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

Argo CD Image Updater Not Retaining Full Registry Path in kustomization.yaml Updates

Open assafsauer opened this issue 1 year ago • 0 comments

Describe the bug

Hello,

I'm encountering an issue with the Argo CD Image Updater where it's not updating my kustomization.yaml file as expected. Specifically, the updater seems to omit the full registry host from the image path, despite my annotations specifying it.

For example, my annotation is set as follows: argocd-image-updater.argoproj.io/image-list: nodejs=index.docker.io/project/nodejs

However, the resulting update in kustomization.yaml consistently appears like this:

yaml Copy code images:

name: project/nodejs newTag: 0.0.212 As you can see, the full registry path (index.docker.io/) is missing. This is causing issues as my kustomization.yaml requires the complete image path including the registry host.

Is there a way to configure the Image Updater to include the full registry path in the kustomization.yaml? Any guidance or suggestions on how to resolve this would be greatly appreciated.

To Reproduce create annotations argocd-image-updater.argoproj.io/image-list: nodejs=index.docker.io/proeject/nodejs

validate kustomization.yaml nam

Expected behavior get full path of the registry host in the kustomization.yaml

Additional context Add any other context about the problem here.

Version 0.9.3

assafsauer avatar Jan 30 '24 11:01 assafsauer