Open naiame-neltheri opened 1 year ago
I have not tried to upgrade multiple images using kustomize but this should work too. I am currently using the image updater to update multiple images with helm. Which works nicely. Here is a working example for the cert-manager helm chart:
annotations:
argocd-image-updater.argoproj.io/image-list: cert-manager=quay.io/jetstack/cert-manager-controller:v1.13.x, webhook=quay.io/jetstack/cert-manager-webhook:v1.13.x, cainjector=quay.io/jetstack/cert-manager-cainjector:v1.13.x
argocd-image-updater.argoproj.io/write-back-method: git
argocd-image-updater.argoproj.io/cert-manager.helm.image-name: cert-manager.image.repository
argocd-image-updater.argoproj.io/cert-manager.helm.image-tag: cert-manager.image.tag
argocd-image-updater.argoproj.io/webhook.helm.image-name: webhook.image.repository
argocd-image-updater.argoproj.io/webhook.helm.image-tag: webhook.image.tag
argocd-image-updater.argoproj.io/webhook.helm.image-name: cainjector.image.repository
argocd-image-updater.argoproj.io/webhook.helm.image-tag: cainjector.image.tag
Sorry for late response @frittenlab . I can't see how your annotation is different from my annotation, also I believe this is related to multiple updates on same application causes it. Because it might be deleting the commit file before image updater can commit it due to another image update in progress. For example if image A is being updated and B is also starting the first thing argocd-image-updater does is to clean the directory hence uncommitted files deleted. Can this be the case?
Describe the bug Image updater is unable to image tags of application with multiple image defined To Reproduce Steps to reproduce the behavior: Add application with multiple images defined like in following yaml:
Expected behavior Image updater should update image tags in kustomization with new tag
Additional context
Version 0.12.2 Logs