Skip to content

[BUG] Image should be filtered by image-list annotation #650

Open
@ziouf

Description

@ziouf

Argocd image updater crashes with the following message.
I think the problem lies in the fact that the images discovered are not filtered by the annotation argocd-image-updater.argoproj.io/image-list .
In my case, I have an image injected by operator istio at runtime that should not be observed by argocd image updater.

Error log :

time="2023-12-08T11:22:53Z" level=error msg="Could not update application spec: could not find an image-name annotation for image istio/proxyv2" application=my-app

Application annotations :

metadata:
  annotations:
    argocd-image-updater.argoproj.io/image-list: >-
      alias=registry.corp/application/image:latest

Application status :

status:
  summary:
    images:
      - 'docker.io/istio/proxyv2:1.19.3'
      - 'registry.corp/application/image:latest'

The code lines that should be updated :

https://github.com/argoproj-labs/argocd-image-updater/blob/master/pkg/argocd/argocd.go#L488

@jannfis Does it make sens to you ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions