Skip to content

Commit

Permalink
cloudbank: remove berkeley idp, let admin users be google users
Browse files Browse the repository at this point in the history
Both berkeley and google has been configured as identity providers,
where the berkeley idp was meant to provide access for admin users at
berkeley and google idp was meant to provide access for admin users at
2i2c.

Since the admin users of berkeley have google accounts as well, we can
rely soley on the google idp instead to grant access to all admins.
  • Loading branch information
consideRatio committed Oct 5, 2023
1 parent c4a0a1b commit f2ea5f6
Show file tree
Hide file tree
Showing 30 changed files with 14 additions and 106 deletions.
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/ccsf.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jupyterhub:
username_claim: "email"
allowed_domains:
- mail.ccsf.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
allowed_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/csm.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ jupyterhub:
allowed_domains:
- my.smccd.edu
- smccd.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
9 changes: 3 additions & 6 deletions config/clusters/cloudbank/csulb.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,15 @@ jupyterhub:
CILogonOAuthenticator:
oauth_callback_url: https://csulb.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
allowed_domains:
- csulb.edu
https://its-shib.its.csulb.edu/idp/shibboleth:
username_derivation:
username_claim: "email"
allow_all: true
urn:mace:incommon:berkeley.edu:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
allowed_domains:
- csulb.edu
Authenticator:
admin_users:
- [email protected]
Expand Down
10 changes: 3 additions & 7 deletions config/clusters/cloudbank/demo.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,11 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
# allow_all is a partial authorization, username_pattern is enforced
# also to allow a subset of users, specifically *.edu suffixed
# domains in this case
# allow_all is a partial authorization for this hub because
# username_pattern configured and enforced also, allowing only users
# with *.edu suffixed domains besides specific admin users.
allow_all: true
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
# These folks should still have admin tho
admin_users:
- [email protected]
- [email protected]
Expand Down
7 changes: 2 additions & 5 deletions config/clusters/cloudbank/dvc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,16 @@ jupyterhub:
CILogonOAuthenticator:
oauth_callback_url: https://dvc.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
http://login.microsoftonline.com/common/oauth2/v2.0/authorize:
username_derivation:
username_claim: "email"
allowed_domains:
- dvc.edu
http://login.microsoftonline.com/common/oauth2/v2.0/authorize:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
allowed_domains:
- dvc.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
JupyterHub:
authenticator_class: cilogon
Authenticator:
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/elcamino.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ jupyterhub:
username_claim: "email"
allowed_domains:
- elcamino.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/evc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/fresno.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/glendale.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ jupyterhub:
allowed_domains:
- glendale.edu
- student.glendale.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/howard.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
OAuthenticator:
# WARNING: Don't use allow_existing_users with config to allow an
# externally managed group of users, such as
Expand Down
10 changes: 3 additions & 7 deletions config/clusters/cloudbank/humboldt.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,16 @@ jupyterhub:
CILogonOAuthenticator:
oauth_callback_url: https://humboldt.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
allowed_domains:
- humboldt.edu
https://sso.humboldt.edu/idp/metadata:
username_derivation:
username_claim: "email"
allow_all: true
urn:mace:incommon:berkeley.edu:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
allowed_domains:
- humboldt.edu
Authenticator:
# These folks should still have admin tho
admin_users:
- [email protected]
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/lacc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
OAuthenticator:
# WARNING: Don't use allow_existing_users with config to allow an
# externally managed group of users, such as
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/laney.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/mills.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jupyterhub:
username_claim: "email"
allowed_domains:
- mills.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
5 changes: 1 addition & 4 deletions config/clusters/cloudbank/miracosta.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,11 @@ jupyterhub:
CILogonOAuthenticator:
oauth_callback_url: https://miracosta.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
https://miracosta.fedgw.com/gateway:
username_derivation:
username_claim: "email"
allow_all: true
urn:mace:incommon:berkeley.edu:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
Authenticator:
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/mission.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ jupyterhub:
allowed_domains:
- missioncollege.edu
- mywvm.wvm.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/norco.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/palomar.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
OAuthenticator:
# WARNING: Don't use allow_existing_users with config to allow an
# externally managed group of users, such as
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/pasadena.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jupyterhub:
username_claim: "email"
allowed_domains:
- go.pasadena.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/sacramento.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ jupyterhub:
allowed_domains:
- scc.losrios.edu
- apps.losrios.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/saddleback.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jupyterhub:
username_claim: "email"
allowed_domains:
- saddleback.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/santiago.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
5 changes: 1 addition & 4 deletions config/clusters/cloudbank/sbcc-dev.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ jupyterhub:
CILogonOAuthenticator:
oauth_callback_url: "https://sbcc-dev.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
https://idp.sbcc.edu/idp/shibboleth:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
OAuthenticator:
Expand Down
5 changes: 1 addition & 4 deletions config/clusters/cloudbank/sbcc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ jupyterhub:
CILogonOAuthenticator:
oauth_callback_url: "https://sbcc.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
https://idp.sbcc.edu/idp/shibboleth:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
OAuthenticator:
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/sjcc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/sjsu.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/skyline.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jupyterhub:
username_claim: "email"
allowed_domains:
- my.smccd.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/srjc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jupyterhub:
username_claim: "email"
allowed_domains:
- santarosa.edu
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
OAuthenticator:
# WARNING: Don't use allow_existing_users with config to allow an
# externally managed group of users, such as
Expand Down
3 changes: 0 additions & 3 deletions config/clusters/cloudbank/tuskegee.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jupyterhub:
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
urn:mace:incommon:berkeley.edu:
username_derivation:
username_claim: "email"
OAuthenticator:
# WARNING: Don't use allow_existing_users with config to allow an
# externally managed group of users, such as
Expand Down

0 comments on commit f2ea5f6

Please sign in to comment.