Skip to content

Instantly share code, notes, and snippets.

@utkarshmani1997
Created October 1, 2019 05:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save utkarshmani1997/f34e7a000a5efbcd44f9c41aa8e3d19c to your computer and use it in GitHub Desktop.
Save utkarshmani1997/f34e7a000a5efbcd44f9c41aa8e3d19c to your computer and use it in GitHub Desktop.
kind: PodSecurityPolicy
metadata:
name: openebs-nfs-provisioner
spec:
fsGroup:
rule: RunAsAny
allowedCapabilities:
- DAC_READ_SEARCH
- SYS_RESOURCE
runAsUser:
rule: RunAsAny
seLinux:
rule: RunAsAny
supplementalGroups:
rule: RunAsAny
volumes:
- configMap
- downwardAPI
- emptyDir
- persistentVolumeClaim
- secret
- hostPath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment