20 lines
333 B
YAML
20 lines
333 B
YAML
apiVersion: policy/v1beta1
|
|
kind: PodSecurityPolicy
|
|
metadata:
|
|
name: my-psp
|
|
spec:
|
|
privileged: false # Prevents creation of privileged Pods
|
|
defaultAddCapabilities:
|
|
- CHOWN
|
|
seLinux:
|
|
rule: RunAsAny
|
|
supplementalGroups:
|
|
rule: RunAsAny
|
|
runAsUser:
|
|
rule: RunAsAny
|
|
fsGroup:
|
|
rule: RunAsAny
|
|
volumes:
|
|
- '*'
|
|
|