Created
February 24, 2018 17:15
-
-
Save vpavlin/e8fef99d6c1a5d23987706d773a09351 to your computer and use it in GitHub Desktop.
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
c.JupyterHub.log_level = 'DEBUG' | |
c.KubeSpawner.user_storage_pvc_ensure = True | |
c.KubeSpawner.user_storage_capacity = '2Gi' | |
c.KubeSpawner.pvc_name_template = '%s-nb-{username}-pvc' % c.KubeSpawner.hub_connect_ip | |
c.KubeSpawner.volumes = [dict(name='data', persistentVolumeClaim=dict(claimName=c.KubeSpawner.pvc_name_template))] | |
c.KubeSpawner.volume_mounts = [dict(name='data', mountPath='/opt/app-root/src')] | |
from oauthenticator.openshift import OpenShiftOAuthenticator | |
c.JupyterHub.authenticator_class = OpenShiftOAuthenticator | |
OpenShiftOAuthenticator.scope = ['user:info'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment