[stable/opa] add namespace selector to OPA webhook resource and bump … (#13508)

* stable/opa:  add namespace selector to OPA webhook resource and bump version

Signed-off-by: Casey Lee <cplee@nektos.com>

* stable/opa: update namespace label to be 'opt-out' vs 'opt-in'

Signed-off-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Casey Lee
2019-05-13 18:11:10 -07:00
committed by Kubernetes Prow Robot
parent cfed1fe0af
commit 10d07e6ee0
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ keywords:
- opa
- admission control
- policy
version: 1.4.1
version: 1.4.2
home: https://www.openpolicyagent.org
icon: https://raw.githubusercontent.com/open-policy-agent/opa/master/logo/logo.png
sources:
@@ -13,6 +13,9 @@ metadata:
{{ include "opa.labels.standard" . | indent 4 }}
webhooks:
- name: webhook.openpolicyagent.org
namespaceSelector:
matchExpressions:
- {key: openpolicyagent.org/webhook, operator: NotIn, values: [ignore]}
failurePolicy: {{ .Values.admissionControllerFailurePolicy }}
rules:
{{ toYaml .Values.admissionControllerRules | indent 6 }}