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

Gatekeeper autoFromCache=Automatic error when namespaceSeletor is used in match

XMLWordPrintable

    • 2
    • False
    • None
    • False
    • ACM-14736 - Gatekeeper 3.18
    • 2
    • GRC Sprint 2025-04
    • None

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

       

              yikim@redhat.com Yi Rae Kim
              yikim@redhat.com Yi Rae Kim
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: