diff --git a/config/clusters/cloudbank/cluster.yaml b/config/clusters/cloudbank/cluster.yaml index d530f20c6a..8a40e95768 100644 --- a/config/clusters/cloudbank/cluster.yaml +++ b/config/clusters/cloudbank/cluster.yaml @@ -140,6 +140,14 @@ hubs: - common.values.yaml - sbcc.values.yaml - enc-sbcc.secret.values.yaml + - name: sbcc-dev + display_name: "Santa Barbara City College Dev" + domain: sbcc-dev.cloudbank.2i2c.cloud + helm_chart: basehub + helm_chart_values_files: + - common.values.yaml + - sbcc-dev.values.yaml + - enc-sbcc-dev.secret.values.yaml - name: lacc display_name: "Los Angeles City College" domain: lacc.cloudbank.2i2c.cloud diff --git a/config/clusters/cloudbank/enc-sbcc-dev.secret.values.yaml b/config/clusters/cloudbank/enc-sbcc-dev.secret.values.yaml new file mode 100644 index 0000000000..68d5616350 --- /dev/null +++ b/config/clusters/cloudbank/enc-sbcc-dev.secret.values.yaml @@ -0,0 +1,20 @@ +jupyterhub: + hub: + config: + CILogonOAuthenticator: + client_id: ENC[AES256_GCM,data:xmTRjiSeDsxXB9hDQqx99EG+7ss8gqaz2SiyMvpfKz6tPVOS9JhTYvI56XNNdXHJwtqU,iv:J2VWn4bn7ECTqen2czgDtCSg3gGcwKMD0jIp7BArqyM=,tag:p6EeNmZe8dTAQ+UHX1mfAg==,type:str] + client_secret: ENC[AES256_GCM,data:cJNShicH2nWnw0nuCe+beMHz9eZMIfQQZlrWO0VH5S9mT6uZW6OxH1z7CKImrjROcdmAN4i266sWOe5bMr7+hYWyEC7NtG7TheUYnx7xKjesE/0i1gI=,iv:/yfdMOOd+o0tPNs7h5ptGTl+XF19nGTPwlTemOtjS+o=,tag:8+jAb74PMOtk9T1K8bdWew==,type:str] +sops: + kms: [] + gcp_kms: + - resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs + created_at: "2023-08-30T23:47:39Z" + enc: CiUA4OM7eF/U3dRVT6ix2EYJSIQelECfuaAAkZlKR9m4kJUzZjPgEkkAq2nhVdsA2g2i6v2icPUfWR29xxTXZyKZqLNSZYewKdFfogA8qk52r+27xC26Z8r0Rod29Z4siF05HENYPipU7VF9JucFzX1G + azure_kv: [] + hc_vault: [] + age: [] + lastmodified: "2023-08-30T23:47:40Z" + mac: ENC[AES256_GCM,data:30ZmpnL1cOjUQ2yzekI0nJfCaE6LxoGr0iwFKr12++6D9dISwvtaYG68tBk/gJlMrD1E7XkxiXw4mIP+iPWPh62U29arSVXcT/D+aAdo4tGag27XQIWEd5xweRNFoqhl3JNVnuB3JhG9/12FMeeUbqdPlFdB69iLpxOMS8Q1Jgo=,iv:z3qbKeGeQPOKwhGlrstrVtfGxC/zPhso/rg7qLgMQgA=,tag:kMXOfm4mz3mHVmAHRSYLcg==,type:str] + pgp: [] + unencrypted_suffix: _unencrypted + version: 3.7.1 diff --git a/config/clusters/cloudbank/sbcc-dev.values.yaml b/config/clusters/cloudbank/sbcc-dev.values.yaml new file mode 100644 index 0000000000..a95946a67e --- /dev/null +++ b/config/clusters/cloudbank/sbcc-dev.values.yaml @@ -0,0 +1,52 @@ +jupyterhub: + ingress: + hosts: [sbcc-dev.cloudbank.2i2c.cloud] + tls: + - hosts: [sbcc-dev.cloudbank.2i2c.cloud] + secretName: https-auto-tls + custom: + 2i2c: + add_staff_user_ids_to_admin_users: true + add_staff_user_ids_of_type: "google" + homepage: + templateVars: + org: + name: Santa Barbara City College Dev + logo_url: https://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Santa_Barbara_City_College.svg/1200px-Santa_Barbara_City_College.svg.png + url: https://www.sbcc.edu/ + designed_by: + name: 2i2c + url: https://2i2c.org + operated_by: + name: CloudBank + url: http://cloudbank.org/ + funded_by: + name: CloudBank + url: http://cloudbank.org/ + hub: + config: + JupyterHub: + authenticator_class: cilogon + CILogonOAuthenticator: + oauth_callback_url: "https://sbcc-dev.cloudbank.2i2c.cloud/hub/oauth_callback" + # Only show and allow the option to login with Google + shown_idps: + - http://google.com/accounts/o8/id + - https://idp.sbcc.edu/idp/shibboleth + - urn:mace:incommon:berkeley.edu + 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: + username_derivation: + username_claim: "email" + Authenticator: + allowed_users: &sbcc_users + - ericvd@gmail.com + - sean.smorris@berkeley.edu + - nfguebels@pipeline.sbcc.edu + admin_users: *sbcc_users