move auth config from jupyterhub.hub.extraConfig into jupyterhub.auth
@@ -110,9 +110,6 @@ jupyterhub:
# get cors config from config-map
cors = get_config_map('custom.cors', {})
- # disable login (users created exclusively via API)
- c.JupyterHub.authenticator_class = 'nullauthenticator.NullAuthenticator'
-
# image & token are set via spawn options
from kubespawner import KubeSpawner
@@ -140,14 +137,17 @@ jupyterhub:
return super().start()
c.JupyterHub.spawner_class = BinderSpawner
-
extraConfigMap:
cors: *cors
services:
binder:
admin: true
apiToken:
-
+ auth:
+ type: custom
+ custom:
+ # disable login (users created exclusively via API)
+ className: "nullauthenticator.NullAuthenticator"
singleuser:
# start jupyter notebook
cmd: jupyter-notebook
