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

[3.15] Gatekeeper autoFromCache=Automatic error when namespaceSeletor is used in match

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • None
    • GRC
    • None

      Description:
      When we set
      auditFromCache=Automatic and constraint has only
      namespace selector not "namespace" array in match
       
      it collects resources under all namespaces
       
       
      Solution:
      When namespaceSelector is presented in constraint. Add "namespace" sync in Config
       
      Reproduce
      spec.audit.autoFromCache=Automatic  in Gatekeeper CR add [^constraint.yaml]

       

              Unassigned Unassigned
              yikim@redhat.com Yi Rae Kim
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: