mirror of
https://github.com/kyverno/kyverno.git
synced 2025-01-20 18:52:16 +00:00
f01f0d6dc4
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
18 lines
313 B
YAML
18 lines
313 B
YAML
apiVersion: kyverno.io/v1
|
|
kind: ClusterPolicy
|
|
metadata:
|
|
name: psa-3
|
|
spec:
|
|
background: true
|
|
validationFailureAction: Enforce
|
|
rules:
|
|
- name: baseline
|
|
match:
|
|
any:
|
|
- resources:
|
|
kinds:
|
|
- Pod
|
|
validate:
|
|
podSecurity:
|
|
level: baseline
|
|
version: latest
|