mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
17 lines
298 B
YAML
17 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
|