Skip to content

Commit

Permalink
[CloudBank] Restored Demo Hub
Browse files Browse the repository at this point in the history
I kept the GitHub Org Auth commented out in
the file as  a reference for now.
  • Loading branch information
sean-morris committed Jul 17, 2023
1 parent e213f0b commit ff36be4
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions config/clusters/cloudbank/demo.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,34 +34,34 @@ jupyterhub:
url: http://cloudbank.org/
hub:
config:
JupyterHub:
authenticator_class: github
GitHubOAuthenticator:
oauth_callback_url: https://demo.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_organizations:
- 2i2c-org
- ahs-cs-a
scope:
- read:org
Authenticator:
admin_users:
- sean-morris
# JupyterHub:
# authenticator_class: cilogon
# CILogonOAuthenticator:
# authenticator_class: github
# GitHubOAuthenticator:
# oauth_callback_url: https://demo.cloudbank.2i2c.cloud/hub/oauth_callback
# username_claim: email
# allowed_organizations:
# - 2i2c-org
# - ahs-cs-a
# scope:
# - read:org
# Authenticator:
# # These folks should still have admin tho
# admin_users:
# - [email protected]
# - [email protected]
# - [email protected]
# # We only want 2i2c users and users with .edu emails to sign up
# # Protects against cryptominers - https://github.com/2i2c-org/infrastructure/issues/1216
# # FIXME: This doesn't account for educational institutions that have emails that don't end in .edu,
# # as is the case for some non-euroamerican universities.
# username_pattern: '^(.+@2i2c\.org|.+\.edu|kalkeab@gmail\.com|deployment-service-check)$'
# - sean-morris
JupyterHub:
authenticator_class: cilogon
CILogonOAuthenticator:
oauth_callback_url: https://demo.cloudbank.2i2c.cloud/hub/oauth_callback
username_claim: email
Authenticator:
# These folks should still have admin tho
admin_users:
- [email protected]
- [email protected]
- [email protected]
# We only want 2i2c users and users with .edu emails to sign up
# Protects against cryptominers - https://github.com/2i2c-org/infrastructure/issues/1216
# FIXME: This doesn't account for educational institutions that have emails that don't end in .edu,
# as is the case for some non-euroamerican universities.
username_pattern: '^(.+@2i2c\.org|.+\.edu|kalkeab@gmail\.com|deployment-service-check)$'
cull:
# Cull after 30min of inactivity
every: 300
Expand Down

0 comments on commit ff36be4

Please sign in to comment.