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

Policies should remove argo labels when copied to cluster namespaces

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Sprint 27, GRC Sprint 2023-01, GRC Sprint 2023-02
    • Important
    • -
    • None

      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.

        1. image-2023-01-27-08-59-30-918.png
          14 kB
          Laurent Serot
        2. change-projects.png
          309 kB
          Dale Haiducek

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

                Created:
                Updated:
                Resolved: