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 3 weeks ago

dstathis commented 3 weeks 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.