From fff198ac1b9d10db05543096b4f2bf2c8feb4911 Mon Sep 17 00:00:00 2001 From: Trey Dockendorf Date: Fri, 6 Dec 2024 08:52:13 -0500 Subject: [PATCH] Update kyverno values to match what will be used similar to OSC --- .github/config/kyverno-values.yaml | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/.github/config/kyverno-values.yaml b/.github/config/kyverno-values.yaml index 441ce10..9fb28a1 100644 --- a/.github/config/kyverno-values.yaml +++ b/.github/config/kyverno-values.yaml @@ -12,26 +12,11 @@ admissionController: exceptionNamespace: kyverno webhookTimeout: 30 config: - # TODO: Remove once fixed: https://github.com/kyverno/kyverno/issues/3190 - resourceFilters: - - "[ConfigMap,*,*]" - - "[*,local-path-storage,*]" - - "[Event,*,*]" - - "[*,default,*]" - - "[*,kube-system,*]" - - "[*,kube-public,*]" - - "[*,kube-node-lease,*]" - - "[Node,*,*]" - - "[APIService,*,*]" - - "[TokenReview,*,*]" - - "[SubjectAccessReview,*,*]" - - "[SelfSubjectAccessReview,*,*]" - - "[*,kyverno,*]" - - "[Binding,*,*]" - - "[ReplicaSet,*,*]" - - "[ReportChangeRequest,*,*]" - - "[ClusterReportChangeRequest,*,*]" - - "[*,keycloak,*]" + resourceFiltersIncludeNamespaces: + - local-path-storage + - default + - kyverno + - keycloak webhooks: namespaceSelector: matchExpressions: