Describe the bug
We have a repo containing the Helm Chart we want to deploy from GitLab, and another repo containing the values .yaml files for environment (lab, dev, uat, prd).
After setting the argocd-image-updater annotations for the ApplicationSet through Terraform, Image Updater recognises the need to update the spec image, but doesn't do so with little to no information in the logs. All we see is:
Successfully updated image but pending spec update (dry run=false)
This happens even when we set the deployment.image.tag in our values to an empty string in the hopes that Argo Image Updater will recognise the need for 'latest' or the highest 'semver' and update the deployment.
Expected behavior
Argo CD Image Updater should see the latest image and update the spec of the deployments, or at least provide better errors and information so we can debug this further.
Versionv2.12.6+4dab5bd
Logs
time="2024-12-02T16:22:04Z" level=debug msg="found 100 from 100 tags eligible for consideration" image=europe-docker.pkg.dev/company-artifact-registry-dev/dev/titan/job-service
time="2024-12-02T16:22:04Z" level=info msg="Setting new image to europe-docker.pkg.dev/company-artifact-registry-dev/dev/titan/job-service:latest" alias=job-service application=job-service image_name=company-artifact-registry-dev/dev/titan/job-service image_tag= registry=europe-docker.pkg.dev
time="2024-12-02T16:22:04Z" level=debug msg="target parameters: image-spec= image-name=deployment.image.repository, image-tag=deployment.image.tag" application=job-service image=europe-docker.pkg.dev/company-artifact-registry-dev/dev/titan/job-service namespace=argocd
time="2024-12-02T16:22:04Z" level=info msg="Successfully updated image 'europe-docker.pkg.dev/company-artifact-registry-dev/dev/titan/job-service' to 'europe-docker.pkg.dev/company-artifact-registry-dev/dev/titan/job-service:latest', but pending spec update (dry run=false)" alias=job-service application=job-service image_name=company-artifact-registry-dev/dev/titan/job-service image_tag= registry=europe-docker.pkg.dev
time="2024-12-02T16:22:04Z" level=debug msg="Using commit message: "
time="2024-12-02T16:22:04Z" level=info msg="Committing 1 parameter update(s) for application job-service" application=job-service
Describe the bug We have a repo containing the Helm Chart we want to deploy from GitLab, and another repo containing the values .yaml files for environment (lab, dev, uat, prd).
After setting the argocd-image-updater annotations for the ApplicationSet through Terraform, Image Updater recognises the need to update the spec image, but doesn't do so with little to no information in the logs. All we see is:
Successfully updated image but pending spec update (dry run=false)
This happens even when we set the deployment.image.tag in our values to an empty string in the hopes that Argo Image Updater will recognise the need for 'latest' or the highest 'semver' and update the deployment.
To Reproduce Steps to reproduce the behavior:
Expected behavior Argo CD Image Updater should see the latest image and update the spec of the deployments, or at least provide better errors and information so we can debug this further.
Version
v2.12.6+4dab5bd
Logs