mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
19 lines
485 B
YAML
19 lines
485 B
YAML
apiVersion: admissionregistration.k8s.io/v1beta1
|
|
kind: MutatingWebhookConfiguration
|
|
metadata:
|
|
name: nirmata-kube-policy-webhook-cfg
|
|
labels:
|
|
app: kube-policy
|
|
webhooks:
|
|
- name: webhook.nirmata.kube-policy
|
|
clientConfig:
|
|
service:
|
|
name: kube-policy-svc
|
|
namespace: default
|
|
path: "/mutate"
|
|
caBundle: ${CA_BUNDLE}
|
|
rules:
|
|
- operations: [ "CREATE" ]
|
|
resources: [ "*/*" ]
|
|
apiGroups: [ "*" ]
|
|
apiVersions: [ "*" ]
|