-
Bug
-
Resolution: Done
-
Blocker
-
ACM 2.7.7
-
None
-
1
-
True
-
None
-
False
-
-
-
GRC Sprint 2023-17
-
No
Description of problem:
In the global hub scenario, it allows to import an existing ACM cluster as a managed hub cluster. so the ACM addons are installed in the existing ACM cluster. when the user detaches this managed hub cluster, all the addons can be deleted. the policy crds can be deleted. But we do not want to delete the policy crds, because as a standalone ACM, the policy crds are required.
Version-Release number of selected component (if applicable):
2.7
2.8
2.9
How reproducible:
Steps to Reproduce:
- ...
Actual results:
Expected results:
We expect to not delete the policy crds if there is a specific annotation in the managed cluster
apiVersion: cluster.open-cluster-management.io/v1alpha1
kind: ManagedCluster
metadata:
annotations:
addon.open-cluster-management.io/on-multicluster-hub: "true"
Additional info:
- clones
-
ACM-7150 Policy CRDs can be removed when detach a managed hub cluster in the global hub scenario
- Closed