Move files from samos123/pspmigrator into here

This commit is contained in:
Sam Stoelinga
2022-06-24 10:13:51 -07:00
parent 5134cadbb8
commit 2a0d58fcb5
20 changed files with 2131 additions and 11 deletions

19
tests/psp-policy.yaml Normal file
View File

@ -0,0 +1,19 @@
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:
- '*'