Open clambin opened 8 months ago
I accidentally found that this can also happen for a Deployment. The root cause seems to be related to using multiple sources in your application:
Does not work (even if there's only one source):
sources:
- path: argocd/conf/infra/ledswitcher/resources
repoURL: https://github.com/clambin/gitops
targetRevision: HEAD
Works:
source:
path: argocd/conf/infra/ledswitcher/resources
repoURL: https://github.com/clambin/gitops
targetRevision: HEAD
In the first confirmation, image updates are broken with the error in the first comment. If we change it to the 2nd version (one source, rather than multiple), then image upgrades works fine.
Describe the bug I have an Application in ArgoCD with the following configuration:
This leads to a DaemonSet in argocd/conf/infra/ledswitcher/resources:
and the image tag is set in a kustomization.yaml:
Whenever argocd-image-updater tries to update the version, it reports the following error:
Additional context Similar setups exist in my cluster for deployments. Those work without any problem. The only difference that I found is that in this case, it's trying to update a daemonset, rather than a deployment.
Version quay.io/argoprojlabs/argocd-image-updater:v0.12.2
Logs