From edacd8c223058256a6afa2f93c95c8c5b878514e Mon Sep 17 00:00:00 2001 From: sean-morris Date: Thu, 27 Jun 2024 11:22:41 -0700 Subject: [PATCH] [CloudBank] LBCC Added --- config/clusters/cloudbank/cluster.yaml | 8 +++ .../cloudbank/enc-lbcc.secret.values.yaml | 20 +++++++ config/clusters/cloudbank/lbcc.values.yaml | 53 +++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 config/clusters/cloudbank/enc-lbcc.secret.values.yaml create mode 100644 config/clusters/cloudbank/lbcc.values.yaml diff --git a/config/clusters/cloudbank/cluster.yaml b/config/clusters/cloudbank/cluster.yaml index 2d74ddb18c..caaf62a230 100644 --- a/config/clusters/cloudbank/cluster.yaml +++ b/config/clusters/cloudbank/cluster.yaml @@ -172,6 +172,14 @@ hubs: - common.values.yaml - lamission.values.yaml - enc-lamission.secret.values.yaml + - name: lbcc + display_name: "Long Beach City College" + domain: lbcc.cloudbank.2i2c.cloud + helm_chart: basehub + helm_chart_values_files: + - common.values.yaml + - lbcc.values.yaml + - enc-lbcc.secret.values.yaml - name: mills display_name: "Mills College" domain: datahub.mills.edu diff --git a/config/clusters/cloudbank/enc-lbcc.secret.values.yaml b/config/clusters/cloudbank/enc-lbcc.secret.values.yaml new file mode 100644 index 0000000000..b4d0e2b8c4 --- /dev/null +++ b/config/clusters/cloudbank/enc-lbcc.secret.values.yaml @@ -0,0 +1,20 @@ +jupyterhub: + hub: + config: + CILogonOAuthenticator: + client_id: ENC[AES256_GCM,data:rO5xRlcL82JIWIUWeBanzipPb4EXl36SJI7f67FDLF1sVsCv3UCU3rwExr7TYBC7a7xF,iv:FMIjlDLKp/W/1lUDZYuzwhRklgg80KavccGZBTSHapA=,tag:uSazDfhdJIL2bHw/3MaG+A==,type:str] + client_secret: ENC[AES256_GCM,data:/B0/e1KusQqFOAs5RXI6EuaieId7EemVLmm6vstvibyNEKYdQC7fil1FOd3oxiJk8w2r7BQLW93AHzKrp4b8onlx98rzRQ+tfLto7IFYlSrM9iwEyto=,iv:++qcg1G+Hmb5vvu5erVCCG7TlqXp2z609asDZsDUS3g=,tag:kZ+WIP7kWrTTkEoGw4sILg==,type:str] +sops: + kms: [] + gcp_kms: + - resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs + created_at: "2024-06-27T18:22:23Z" + enc: CiUA4OM7eKuNwO1EelkRuR7dT2E27kVhlGlct8VuYgBlG5wEe1CkEkgAWX/fcUfwYzVmBs0Ssv+IytOT5I6y0EuTmJxzFaE/oeACcH6u/q2RCYr+NTi8e8RP/NyW/I9b+NbVIv+7NRZxHixx1VlXprU= + azure_kv: [] + hc_vault: [] + age: [] + lastmodified: "2024-06-27T18:22:24Z" + mac: ENC[AES256_GCM,data:uIBw1A1u8gm1FQ5A1I8wP9bdyZl7ssOQdmcxTMQucm+OVP6rc7LTZYxWABCNgh/LfIfgXj+ym8rLuJ0z0RfeuzeKCR0sK5AcjrdklcICwjGf5eHrnmb9Zy0wLp3qel4EcvMZQSvhkEsLuTKNbS9r+ggrC204qJKBUCBFc6FCoX4=,iv:oai0U/AxIeWJbxpcvhHdWgyDJB0nv2ZANNYMYTLCtzY=,tag:Y4XHBZlAynKyMER9NezYjQ==,type:str] + pgp: [] + unencrypted_suffix: _unencrypted + version: 3.8.1 diff --git a/config/clusters/cloudbank/lbcc.values.yaml b/config/clusters/cloudbank/lbcc.values.yaml new file mode 100644 index 0000000000..b7cdf30464 --- /dev/null +++ b/config/clusters/cloudbank/lbcc.values.yaml @@ -0,0 +1,53 @@ +jupyterhub: + ingress: + hosts: [lbcc.cloudbank.2i2c.cloud] + tls: + - hosts: [lbcc.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 + operated_by: + name: CloudBank + url: http://cloudbank.org/ + funded_by: + name: CloudBank + url: http://cloudbank.org/ + org: + name: Long Beach City College + logo_url: https://www.lbcc.edu/sites/default/themes/dtheme/img/logo-theme.svg + url: https://www.lbcc.edu/ + hub: + config: + JupyterHub: + authenticator_class: cilogon + CILogonOAuthenticator: + oauth_callback_url: https://lbcc.cloudbank.2i2c.cloud/hub/oauth_callback + allowed_idps: + http://login.microsoftonline.com/common/oauth2/v2.0/authorize: + default: true + username_derivation: + username_claim: "email" + allowed_domains: + - lbcc.edu + http://google.com/accounts/o8/id: + username_derivation: + username_claim: "email" + Authenticator: + admin_users: + - ericvd@berkeley.edu + - sean.smorris@berkeley.edu + - dgonzalez@lbcc.edu + - lbarbee@lbcc.edu