argocd-image-updater icon indicating copy to clipboard operation
argocd-image-updater copied to clipboard

Add Image tag as label to manifest

Open EmmanuelOgiji opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. We are looking to add podTopologySpreadConstraints for our deployment/statefulset/daemonset manifests. As part of this, we want the label selectors to reference a label with image tags.

Describe the solution you'd like We would like the image updater to add a label with the image version(s) for the container(s) as part of updating image tags. Also, if possible, allow ability to patch/update manifests with that image version. In our case, allow us add the image tag value label as part of the labelSelectors for podTopologySpreadConstraints.

EmmanuelOgiji avatar Apr 26 '22 13:04 EmmanuelOgiji

This would also be useful for users of Kiali + Istio. Kiali uses lables to group metrics. If an image tag is included in the deployment labels, Kiali can be configured to segregate metrics based on new image versions.

Garett-MacGowan avatar Jan 10 '24 18:01 Garett-MacGowan