From ef6b233dd262e4474c776b12a8869841625912fe Mon Sep 17 00:00:00 2001 From: sean-morris Date: Wed, 3 Jul 2024 10:21:58 -0700 Subject: [PATCH] [CloudBank] Rio Hondo Added --- config/clusters/cloudbank/cluster.yaml | 8 +++ .../cloudbank/enc-riohondo.secret.values.yaml | 20 +++++++ .../clusters/cloudbank/riohondo.values.yaml | 55 +++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 config/clusters/cloudbank/enc-riohondo.secret.values.yaml create mode 100644 config/clusters/cloudbank/riohondo.values.yaml diff --git a/config/clusters/cloudbank/cluster.yaml b/config/clusters/cloudbank/cluster.yaml index f91879fb00..7d7ab04d4f 100644 --- a/config/clusters/cloudbank/cluster.yaml +++ b/config/clusters/cloudbank/cluster.yaml @@ -92,6 +92,14 @@ hubs: - common.values.yaml - miracosta.values.yaml - enc-miracosta.secret.values.yaml + - name: riohondo + display_name: "Rio Hondo Community College" + domain: riohondo.cloudbank.2i2c.cloud + helm_chart: basehub + helm_chart_values_files: + - common.values.yaml + - riohondo.values.yaml + - enc-riohondo.secret.values.yaml - name: skyline display_name: "Skyline College" domain: skyline.cloudbank.2i2c.cloud diff --git a/config/clusters/cloudbank/enc-riohondo.secret.values.yaml b/config/clusters/cloudbank/enc-riohondo.secret.values.yaml new file mode 100644 index 0000000000..3349ede20a --- /dev/null +++ b/config/clusters/cloudbank/enc-riohondo.secret.values.yaml @@ -0,0 +1,20 @@ +jupyterhub: + hub: + config: + CILogonOAuthenticator: + client_id: ENC[AES256_GCM,data:o0H4a1gc7xnWmX0T+mC5p7vAPksudPTi245E0PcooZmDgWJwca6rr5wcGfgVtAomGL+e,iv:UpBBCfc+APgXlKdiS/XFAaNLECMM4rryUbUmMg7Flrk=,tag:n5J721jsaLPK5WhgA0dnhQ==,type:str] + client_secret: ENC[AES256_GCM,data:mADqa9b8mh+vS2K9mojaiZb/dzfZR92nodjSDxDkIvJjtLb1YXSfAONigd/P+Lg3FhZWnrO9ggLxyHu9ZaUVL+Jm97/+omLmI91yn/ZIHyRQV6+Ezqc=,iv:Is6yyQEmY8M5pLpkYbAjxtpUyaJAHBveQchiVi998cA=,tag:Ys1fABLI0TQ/CAecKLzP6A==,type:str] +sops: + kms: [] + gcp_kms: + - resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs + created_at: "2024-07-03T17:21:27Z" + enc: CiUA4OM7eDrrfPy8/JB54M9505seFk9hu7hafNrItyQ6/ABrOHLTEkkAWX/fcWiiuciTBycqQU9BGGoahMA9U6EMewQK2mWujA6xxaxtH7FI1BNxx3+Q0z1Xs5m8pBPIQgJBwoTKxyaB3hWlJsRYhVER + azure_kv: [] + hc_vault: [] + age: [] + lastmodified: "2024-07-03T17:21:27Z" + mac: ENC[AES256_GCM,data:DD7xBCvkPLwkParsNHBRI3L86Oid16TBS8wOiB2rbXlyaEV5MesVOK3TxQyZI8mVyNGq/6kCe7yVA2LdlweQ1/LERMvK26RZPTPaimgbWOxQMRD3qB0/884NVi/1UdjCmKiRy5OfDSmlvFhBXYbyzS9dr7qM8f50vSyrjPlZjqM=,iv:t9IRNmjAq5ly/kff3g+NxGm/caFQs3Nwkp/Tb1jMQ2k=,tag:kLpZQ4qMjlBhdAuHj4rdGw==,type:str] + pgp: [] + unencrypted_suffix: _unencrypted + version: 3.8.1 diff --git a/config/clusters/cloudbank/riohondo.values.yaml b/config/clusters/cloudbank/riohondo.values.yaml new file mode 100644 index 0000000000..b119e3f089 --- /dev/null +++ b/config/clusters/cloudbank/riohondo.values.yaml @@ -0,0 +1,55 @@ +jupyterhub: + ingress: + hosts: [riohondo.cloudbank.2i2c.cloud] + tls: + - hosts: [riohondo.cloudbank.2i2c.cloud] + secretName: https-auto-tls + singleuser: + memory: + # Increased to help deal with possible kernel restarts + # https://2i2c.freshdesk.com/a/tickets/567 + guarantee: 384M + limit: 1.5G + custom: + 2i2c: + add_staff_user_ids_of_type: google + add_staff_user_ids_to_admin_users: true + homepage: + templateVars: + designed_by: + name: 2i2c + url: https://2i2c.org + funded_by: + name: CloudBank + url: http://cloudbank.org/ + operated_by: + name: CloudBank + url: http://cloudbank.org/ + org: + logo_url: https://www.riohondo.edu/wp-content/themes/reverie-child/img/rhc-logo-2x.png + name: Rio Hondo Community College + url: https://www.riohondo.edu/ + hub: + config: + JupyterHub: + authenticator_class: cilogon + CILogonOAuthenticator: + oauth_callback_url: https://riohondo.cloudbank.2i2c.cloud/hub/oauth_callback + allowed_idps: + http://google.com/accounts/o8/id: + default: true + username_derivation: + username_claim: "email" + allowed_domains: + - my.riohondo.edu + http://login.microsoftonline.com/common/oauth2/v2.0/authorize: + username_derivation: + username_claim: "email" + allowed_domains: + - riohondo.edu + Authenticator: + admin_users: + - ericvd@berkeley.edu + - sean.smorris@berkeley.edu + - bharlow@riohondo.edu + - vholbrook@riohondo.edu