mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
21 lines
313 B
YAML
21 lines
313 B
YAML
|
apiVersion: kyverno.io/v2
|
||
|
kind: PolicyException
|
||
|
metadata:
|
||
|
name: exception-3
|
||
|
spec:
|
||
|
exceptions:
|
||
|
- policyName: psa
|
||
|
ruleNames:
|
||
|
- restricted
|
||
|
match:
|
||
|
all:
|
||
|
- resources:
|
||
|
kinds:
|
||
|
- Pod
|
||
|
podSecurity:
|
||
|
- controlName: "/proc Mount Type"
|
||
|
images:
|
||
|
- nginx
|
||
|
values:
|
||
|
- "bar"
|