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

ACM does not prune labels from synced GitopsClusters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • ACM 2.14.1
    • Application Lifecycle
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      ACM can be integrated with ArgoCD so that clusters under ACM management can be imported automatically into ArgoCD as Clusters with their metadata such as labels applied.

      When removing a label from a Managed Cluster in ACM, the label is not removed from the Cluster in ArgoCD

      Version-Release number of selected component (if applicable):

      OpenShift 4.19.17

      ACM 2.14.0

      OpenShift GitOps 1.18.1

      How reproducible:

      Consistently

      Steps to Reproduce:

      1. Install operators, integrate with GitopsCluster CR: https://github.com/kenmoini/lab-ocp/blob/main/rhacm/gitops/rhacm-integration.yaml
      2. Validate that integration is successful
      3. Add a label to a Managed Cluster in ACM
      4. Validate that label was synced to the ArgoCD Cluster
      5. Remove the invitation from the Managed Cluster in ACM
      6. Verify the label persists

      Actual results:

      Pruned labels in ACM persist in ArgoCD

      Expected results:

      Labels in ArgoCD should match the labels in ACM

      Additional info:

              Unassigned Unassigned
              kmoini1@redhat.com Ken Moini
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: