Skip to content

Commit

Permalink
Modified jupyterhub example configs to include github oauth app authn…
Browse files Browse the repository at this point in the history
… based on organization.
  • Loading branch information
lwinckers committed Jan 16, 2025
1 parent 43a54a1 commit a0ba419
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions applications/jupyterhub/config-basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ hub:
# client_id: your-client-id
# client_secret: your-client-secret
# oauth_callback_url: https://<route name>-<project name>.apps.dsri2.unimaas.nl/hub/oauth_callback
# allowed_organizations:
# - my-github-organization
# scope:
# - read:org
# JupyterHub:
# authenticator_class: github
consecutiveFailureLimit: 5
Expand Down
8 changes: 6 additions & 2 deletions applications/jupyterhub/config-extensive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ hub:
# client_id: your-client-id
# client_secret: your-client-secret
# oauth_callback_url: https://<route name>-<project name>.apps.dsri2.unimaas.nl/hub/oauth_callback
# allowed_organizations:
# - my-github-organization
# scope:
# - read:org
# JupyterHub:
# authenticator_class: github
consecutiveFailureLimit: 5
Expand Down Expand Up @@ -450,7 +454,7 @@ singleuser:
- /bin/bash
- '-c'
- >-
pip install papersize && [ "$(ls -A /home/jovyan/materials 2>/dev/null)" ]
pip install papersize pandas && [ "$(ls -A /home/jovyan/materials 2>/dev/null)" ]
|| git clone https://github.com/EbookFoundation/free-programming-books.git
/home/jovyan/materials && exec jupyterhub-singleuser
cpu:
Expand Down Expand Up @@ -526,7 +530,7 @@ singleuser:
serviceAccountName: null
startTimeout: 300
storage:
capacity: 2Gi
capacity: 20Gi
dynamic:
pvcNameTemplate: 'claim-{username}{servername}'
storageAccessModes:
Expand Down

0 comments on commit a0ba419

Please sign in to comment.