Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-7150

Policy CRDs can be removed when detach a managed hub cluster in the global hub scenario

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • ACM 2.8.2
    • ACM 2.8.0
    • GRC
    • None
    • 1
    • True
    • None
    • False
    • GRC Sprint 2023-16
    • 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:

      1.  
      2.  
      3. ...

      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:

      refer to https://issues.redhat.com/browse/ACM-6206

              mprahl Matthew Prahl
              clyang82 Chunlin Yang
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: