mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
20 lines
589 B
YAML
20 lines
589 B
YAML
# MutatingWebhookConfiguration document which should be used when placing controller inside the cluster
|
|
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: [ "*" ]
|