Skip to content

Instantly share code, notes, and snippets.

@nickjordan
Last active July 9, 2019 21:09
Show Gist options
  • Save nickjordan/78fda3ac4f44225a5c94d1b57f5a2b9a to your computer and use it in GitHub Desktop.
Save nickjordan/78fda3ac4f44225a5c94d1b57f5a2b9a to your computer and use it in GitHub Desktop.
jupyter-extras.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
creationTimestamp: null
name: runasany
namespace: jupyter
apiVersion: security.openshift.io/v1
defaultAddCapabilities: null
fsGroup:
type: RunAsAny
groups:
- system:cluster-admins
kind: SecurityContextConstraints
metadata:
annotations:
kubernetes.io/description: anyuid provides all features of the restricted SCC but allows users to run with any UID and any GID.
creationTimestamp: null
name: anyuid
priority: 10
readOnlyRootFilesystem: false
requiredDropCapabilities:
- MKNOD
runAsUser:
type: RunAsAny
seLinuxContext:
type: MustRunAs
supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:jupyter:runasany
volumes:
- configMap
- downwardAPI
- emptyDir
- persistentVolumeClaim
- projected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment