mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
23 lines
456 B
YAML
23 lines
456 B
YAML
|
apiVersion: kyverno.io/v2
|
||
|
kind: PolicyException
|
||
|
metadata:
|
||
|
name: exception-1
|
||
|
spec:
|
||
|
exceptions:
|
||
|
- policyName: psa
|
||
|
ruleNames:
|
||
|
- restricted
|
||
|
match:
|
||
|
all:
|
||
|
- resources:
|
||
|
kinds:
|
||
|
- Pod
|
||
|
podSecurity:
|
||
|
- controlName: Capabilities
|
||
|
- controlName: Host Namespaces
|
||
|
- controlName: HostPath Volumes
|
||
|
- controlName: Privilege Escalation
|
||
|
- controlName: Running as Non-root
|
||
|
- controlName: Seccomp
|
||
|
- controlName: Volume Types
|