Skip to content

Commit

Permalink
Merge pull request #1855 from consideRatio/pr/detail-fixes
Browse files Browse the repository at this point in the history
Misc detail fixes in docs and test config
  • Loading branch information
yuvipanda authored May 29, 2024
2 parents c6c5dc8 + 6bc13f9 commit 1dae180
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/source/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ you need to add the following into ``config.yaml``:
jupyterhub:
cull:
# don't cull authenticated users
users: False
# don't cull authenticated users (reverts binderhub chart's default)
users: false
hub:
redirectToServer: false
config:
BinderSpawner:
auth_enabled: true
# specify the desired authenticator
JupyterHub:
redirect_to_server: false
# specify the desired authenticator
authenticator_class: <desired-authenticator>
# use config of your authenticator here
# use the docs at https://zero-to-jupyterhub.readthedocs.io/en/stable/authentication.html
Expand All @@ -39,10 +39,10 @@ you need to add the following into ``config.yaml``:
user:
scopes:
- self
- "access:services"
- "access:services!service=binder"
singleuser:
# to make notebook servers aware of hub
# make notebook servers aware of hub (reverts binderhub chart's default to z2jh chart's default)
cmd: jupyterhub-singleuser
If the configuration above was entered correctly, once you upgrade your
Expand Down
8 changes: 6 additions & 2 deletions helm-chart/binderhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,12 @@ jupyterhub:
- binder
scopes:
- servers
# we don't need admin:users if auth is not enabled!
- "admin:users"
# admin:users is required in order to create a jupyterhub user for an
# anonymous binderhub web-server visitor in non-authenticated
# deployments, and read:users is required for authenticated
# deployments to check the state of a jupyterhub user's running
# servers before trying to launch.
- admin:users
extraConfig:
0-binderspawnermixin: |
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ hub:
user:
scopes:
- self
- "access:services"
- "access:services!service=binder"

0 comments on commit 1dae180

Please sign in to comment.