argocd-image-updater
argocd-image-updater copied to clipboard
Add Image tag as label to manifest
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.
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.