Skip to content

Commit

Permalink
[CloudBank] Demo Hub to GH Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-morris committed Jun 3, 2024
1 parent acc0f19 commit b18c71f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
2 changes: 1 addition & 1 deletion config/clusters/cloudbank/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ hubs:
helm_chart_values_files:
- common.values.yaml
- demo.values.yaml
- enc-demo.secret.values.yaml
- enc-demo-git.secret.values.yaml
- name: fresno
display_name: "Fresno City College"
domain: fresno.cloudbank.2i2c.cloud
Expand Down
26 changes: 9 additions & 17 deletions config/clusters/cloudbank/demo.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jupyterhub:
custom:
2i2c:
add_staff_user_ids_to_admin_users: true
add_staff_user_ids_of_type: "google"
add_staff_user_ids_of_type: "github"
homepage:
templateVars:
org:
Expand All @@ -35,25 +35,17 @@ jupyterhub:
hub:
config:
JupyterHub:
authenticator_class: cilogon
CILogonOAuthenticator:
authenticator_class: github
GitHubOAuthenticator:
oauth_callback_url: https://demo.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_organizations:
- data-8:demo-hub-auth
- data-8
scope:
- read:org
Authenticator:
admin_users:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
# NOTE: This demo hub may be temporarily opened up for broad access by
# declaring `allow_all: true` for the google idp. If that is done,
# username_pattern can then be used to constrain access.
#
# username_pattern: '^(.+@2i2c\.org|.+\.edu|kalkeab@gmail\.com|jhenryestrada@gmail\.com|deployment-service-check)$'
- sean-morris
cull:
# Cull after 30min of inactivity
every: 300
Expand Down

0 comments on commit b18c71f

Please sign in to comment.