Last active
April 16, 2019 12:48
-
-
Save akhilerm/0af87f53cba506ab33e3c8af758900bc to your computer and use it in GitHub Desktop.
Pod Security Policy for OpenEBS privileged access
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: | |
name: openebs-privileged | |
annotations: | |
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*' | |
spec: | |
privileged: true | |
allowPrivilegeEscalation: true | |
allowedCapabilities: | |
- '*' | |
volumes: | |
- '*' | |
hostNetwork: true | |
hostPorts: | |
- min: 0 | |
max: 65535 | |
hostIPC: true | |
hostPID: true | |
runAsUser: | |
rule: 'RunAsAny' | |
seLinux: | |
rule: 'RunAsAny' | |
supplementalGroups: | |
rule: 'RunAsAny' | |
fsGroup: | |
rule: 'RunAsAny' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment