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

[2.7] Policies should remove argo labels when copied to cluster namespaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • ACM 2.7.2
    • ACM 2.5, ACM 2.6.0, ACM 2.7.0
    • GRC
    • 2
    • False
    • None
    • False
    • GRC Sprint 2023-02

      Argo CD adds a label and annotation to objects to denote that it is being managed by Argo CD, for example:
       
      argocd.argoproj.io/instance: kyverno-acm
       
      When using Argo CD to deploy policies to the hub cluster ACM copies these policies into local cluster folders and keeps the labels intact. Unfortunately this includes the Argo CD instance above which causes Argo CD to consider the application out-of-sync.
       
      ACM should remove these labels when copying policies since ACM is managing the policy in the local cluster namespaces not Argo CD.
       
      Tested in ACM 2.5 and 2.6.

            mprahl Matthew Prahl
            gnunn@redhat.com Gerald Nunn
            Derek Ho Derek Ho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: