-
Bug
-
Resolution: Won't Do
-
Undefined
-
ACM 2.15.0
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
Moderate
-
None
Description of problem:
When a managedcluster is added to a managedclusterset, this label is added:
cluster.open-cluster-management.io/clusterset:x
When a managedcluster is removed from a managedclusterset, this label is removed from the managedcluster. However when a managedclusterset is deleted, the clusterset label remains on the managedcluster. I don't think this is right behavior. Why would we remove the label when the managedcluster is removed from the managedclusterset, but not when the managedclusterset itself is deleted?
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
- Create a managedclusterset and add a managedcluster to set
- Delete the managedclusterset
Actual results:
clusterset label remains on managedcluster
Expected results:
clusterset label should be removed from managedcluster
Additional info:
Any placement or other resource targeting a managedcluster by clusterset label will incorrectly target the managedcluster if managedclusterset is deleted.