diff --git a/deploy/gatekeeper.yaml b/deploy/gatekeeper.yaml index 2fff2c98e37..b9bf0ed2303 100644 --- a/deploy/gatekeeper.yaml +++ b/deploy/gatekeeper.yaml @@ -4958,7 +4958,7 @@ spec: - --logtostderr - --disable-opa-builtin={http.send} - --disable-cert-rotation - - --enable-pub-sub=true + - --enable-pub-sub=false - --constraint-violations-limit=0 - --audit-connection=audit - --audit-channel=audit diff --git a/test/pubsub/pod_must_have_test.yaml b/test/pubsub/pod_must_have_test.yaml index 3143283304a..68c421b56b7 100644 --- a/test/pubsub/pod_must_have_test.yaml +++ b/test/pubsub/pod_must_have_test.yaml @@ -4,8 +4,6 @@ metadata: name: pod-must-have-test spec: match: - scope: "Namespaced" - namespaces: [ "nginx" ] kinds: - apiGroups: [ "" ] kinds: [ "Pod" ]