Skip to content

Commit

Permalink
Merge pull request #2824 from sean-morris/master
Browse files Browse the repository at this point in the history
[CloudBank] Added Admin to CCSF and Demo Hub Restored
  • Loading branch information
sean-morris authored Jul 17, 2023
2 parents 8906044 + ff36be4 commit 9305e08
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
1 change: 1 addition & 0 deletions config/clusters/cloudbank/ccsf.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jupyterhub:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
username_pattern: '^(.+@2i2c\.org|.+@berkeley\.edu|.+@mail\.ccsf\.edu|deployment-service-check)$'
extraFiles:
configurator-schema-default:
Expand Down
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 9305e08

Please sign in to comment.