Open shanduur opened 3 weeks ago
I am interested in this issue.
Hi @Abiji-2020! Thanks for reaching out.
I think that the changes to annotations on Namespace should be already watched, so the only thing left is to save annotations in something like scribe.anza-labs.devl/last-applied-annotations
and update existing ones based on the diff between namespace and the aforementioned annotation.
Is your feature request related to a problem? Please describe.
Currently, when annotations are removed from the namespace, they remain on the previously annotated objects (e.g., Deployments, Services) unless manually removed. This can lead to outdated or incorrect annotations persisting on resources, which might cause confusion or unwanted behavior.
Describe the solution you'd like.
I would like Scribe to automatically remove annotations from resources when they are deleted from the namespace's annotations. This would ensure that resources stay in sync with the current state of the namespace's annotations.
Example:
example
has the following annotation:app.kubernetes.io/name=example
annotation from all relevant resources automatically.Describe alternatives you've considered.
Additional Information
No response