1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/conformance/chainsaw/exceptions/exclude-ephemeral-containers/exception.yaml

17 lines
298 B
YAML
Raw Normal View History

apiVersion: kyverno.io/v2
kind: PolicyException
metadata:
name: test-policy-exceptions
spec:
background: true
exceptions:
- policyName: require-run-as-nonroot
ruleNames:
- run-as-non-root
- autogen-run-as-non-root
match:
all:
- resources:
kinds:
- Pod