Commit 53f45a71 authored by Craig Russell's avatar Craig Russell
Browse files

Added potential support for binderhub auth

parent 83819398
......@@ -9,10 +9,10 @@ resources:
limits:
cpu: "2"
memory: 3Gi
config:
BinderHub:
auth_enabled: false
build_memory_limit: "8G"
build_memory_request: "4G"
# hub_url: http://10.43.114.27
......@@ -32,9 +32,20 @@ cors: &cors
allowOrigin: '*'
jupyterhub:
cull:
users: True
custom:
binderauth_enabled: false
cors: *cors
hub:
config:
GitHubOAuthenticator:
admin_users:
- ctr26
allowed_organizations:
- bioimagearchive
scope:
- read:user
baseUrl: /binderhub
networkPolicy:
enabled: true
......@@ -47,6 +58,7 @@ jupyterhub:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-body-size: 2m
singleuser:
# cmd: jupyterhub-singleuser
cpu:
limit: 2
guarantee: 1
......
config:
BinderHub:
hub_url: binder.bioimagearchive.org/binderhub/
auth_enabled: false
hub_url: https://binder.bioimagearchive.org/binderhub/
jupyterhub:
hub:
baseUrl: /binderhub
config:
GitHubOAuthenticator:
oauth_callback_url: https://binder.bioimagearchive.org/binderhub/hub/oauth_callback
ingress:
enabled: true
hosts:
- binder.bioimagearchive.org
custom:
binderauth_enabled: false
ingress:
enabled: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment