mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
21 lines
711 B
YAML
21 lines
711 B
YAML
# MutatingWebhookConfiguration document which should be used when placing controller inside the cluster
|
|
# This configuration is just an example. Webhook for in-cluster configuration is registered by controller (see webhooks/registration.go).
|
|
apiVersion: admissionregistration.k8s.io/v1beta1
|
|
kind: MutatingWebhookConfiguration
|
|
metadata:
|
|
name: nirmata-kyverno-webhook-cfg
|
|
labels:
|
|
app: kyverno
|
|
webhooks:
|
|
- name: webhook.nirmata.kyverno
|
|
clientConfig:
|
|
service:
|
|
name: kyverno-svc
|
|
namespace: default
|
|
path: "/mutate"
|
|
caBundle: ${CA_BUNDLE}
|
|
rules:
|
|
- operations: [ "CREATE" ]
|
|
resources: [ "*/*" ]
|
|
apiGroups: [ "*" ]
|
|
apiVersions: [ "*" ]
|