canonical / istio-beacon-k8s-operator

https://charmhub.io/istio-beacon-k8s
Apache License 2.0
0 stars 0 forks source link

Label custom k8s objects in the service mesh lib #19

Open dstathis opened 1 month ago

dstathis commented 1 month ago

Enhancement Proposal

From implementing the service mesh library, we have seen that managing labels from a charm is not at all trivial. We should provide code that can be used to apply the labels to custom resources.

Idea 0: A LabelSync class that will sync the labels for a given k8s object.

Idea 1: Add custom_objects to the constructor of the lib.

dstathis commented 1 week ago

Done.

dstathis commented 1 week ago

I was mistaken. This is not done.