argocd-image-updater
argocd-image-updater copied to clipboard
It seems to be ignoring the settings | digest - mutable tags latest
Describe the bug It seems to be ignoring the settings.
To Reproduce
...
annotations:
argocd-image-updater.argoproj.io/update-strategy: digest
argocd-image-updater.argoproj.io/image-list: >
prod=registry.gitlab.com/image:latest,
dev=registry.gitlab.com/image:development,
Expected behavior It should be updated individually when a new image for a tag is released. But it updates everything where there is an image registry.gitlab.com/image (latest and development) simultaneously. regardless of the tag with which the new image appeared in the repository. It also substitutes the image without a tag registry.gitlab.com/image:latest -> registry.gitlab.com/image@sha256... (without a tag latest)
Additional context
apiVersion: argoproj.io/v1alpha1
kind: Application
...
spec:
source:
path: kustomize
Version
- name: argocd-image-updater
repository: https://argoproj.github.io/argo-helm
version: v0.11.0
Logs
time="2024-11-05T11:18:51Z" level=info msg="Starting image update cycle, considering 1 annotated application(s) for update"
time="2024-11-05T11:18:53Z" level=info msg="Setting new image to registry.gitlab.com/<image>@sha256:86a1****" alias=prod application=<appname> image_name=<appname>/<image> image_tag="sha256:7f08****" registry=registry.gitlab.com
time="2024-11-05T11:18:53Z" level=info msg="Successfully updated image 'registry.gitlab.com/<image>@sha256:7f08****' to 'registry.gitlab.com/<image>@sha256:86a1****', but pending spec update (dry run=false)" alias=prod application=<appname> image_name=<appname>/<image> image_tag="sha256:7f08****" registry=registry.gitlab.com
time="2024-11-05T11:18:58Z" level=info msg="Committing 1 parameter update(s) for application <appname>" application=<appname>
time="2024-11-05T11:18:58Z" level=info msg="Successfully updated the live application spec" application=<appname>
time="2024-11-05T11:18:58Z" level=info msg="Processing results: applications=1 images_considered=5 images_skipped=1 images_updated=1 errors=0"