1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-14 00:06:45 +00:00
kyverno/test/conformance/chainsaw/webhook-configurations/webhook-registeration/webhook.yaml
shuting e58d7120c6
fix: sort webhookconfig.operations (#10274)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2024-05-21 13:22:08 +00:00

27 lines
689 B
YAML

apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
labels:
webhook.kyverno.io/managed-by: kyverno
name: kyverno-resource-validating-webhook-cfg
webhooks:
- failurePolicy: Ignore
matchConditions:
- expression: '!("system:nodes" in request.userInfo.groups)'
name: exclude-requests-by-groups
matchPolicy: Equivalent
name: validate.kyverno.svc-ignore-finegrained-cpol-fine-grained-match-conditions-disallow-latest-image-tag-1
rules:
- apiGroups:
- ""
apiVersions:
- v1
operations:
- CONNECT
- CREATE
- DELETE
- UPDATE
resources:
- pods
- pods/ephemeralcontainers
scope: Namespaced