mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
16 lines
298 B
YAML
16 lines
298 B
YAML
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
|