Closed m-messiah closed 2 years ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: christopherhein, m-messiah
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What this PR does / why we need it: SuperClusterLabelling was initially created for namespaces, but there are a lot of other objects and controllers created in virtualclusters. The PR adds labeling for all objects too, which could help in the future to use SuperClusterLabelFilter feature gate for any resource. (or even do something like
kubectl get pod -A -l tenancy.x-k8s.io/controlled=true
to find only tenant pods in the Kubernetes cluster).