Skip to content

Instantly share code, notes, and snippets.

@sqqqrly
Created August 5, 2021 11:49
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 sqqqrly/afd4d3765498c582003e387cd28174d0 to your computer and use it in GitHub Desktop.
Save sqqqrly/afd4d3765498c582003e387cd28174d0 to your computer and use it in GitHub Desktop.
iboxcsiaccess_scc.yaml
kind: SecurityContextConstraints
apiVersion: security.openshift.io/v1
metadata:
annotations:
kubernetes.io/description: allow hostpath and host network to be accessible.
generation: 1
name: iboxcsiaccess
selfLink: /apis/security.openshift.io/v1/securitycontextconstraints/iboxcsiaccess
allowHostDirVolumePlugin: true
allowHostIPC: false
allowHostNetwork: true
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: true
allowPrivilegedContainer: true
readOnlyRootFilesystem: false
requiredDropCapabilities:
- KILL
- MKNOD
- SETUID
- SETGID
allowedCapabilities:
- SYS_ADMIN
defaultAddCapabilities: null
fsGroup:
type: RunAsAny
runAsUser:
type: RunAsAny
seLinuxContext:
type: RunAsAny
supplementalGroups:
type: RunAsAny
volumes:
- '*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment