diff --git a/config/clusters/catalystproject-latam/cicada.values.yaml b/config/clusters/catalystproject-latam/cicada.values.yaml new file mode 100644 index 0000000000..1d9e18a963 --- /dev/null +++ b/config/clusters/catalystproject-latam/cicada.values.yaml @@ -0,0 +1,71 @@ +jupyterhub: + ingress: + hosts: [cicada.latam.catalystproject.2i2c.cloud] + tls: + - hosts: [cicada.latam.catalystproject.2i2c.cloud] + secretName: https-auto-tls + custom: + 2i2c: + add_staff_user_ids_to_admin_users: true + add_staff_user_ids_of_type: "github" + homepage: + templateVars: + org: + name: Catalyst Project, LatAm - CICADA + url: "https://cicada.uy/" + logo_url: https://cicada.uy/wp-content/uploads/2021/07/Logo-Cicada-e1625771419399.png + designed_by: + name: "2i2c" + url: https://2i2c.org + operated_by: + name: "2i2c" + url: https://2i2c.org + funded_by: + name: Chan Zuckerberg Initiative - Open Science + url: "https://chanzuckerberg.com/science/programs-resources/open-science/" + hub: + config: + JupyterHub: + authenticator_class: github + GitHubOAuthenticator: + oauth_callback_url: https://cicada.latam.catalystproject.2i2c.cloud/hub/oauth_callback + allowed_organizations: + - CatalystProject-Hubs:cicada + scope: + - read:org + Authenticator: + admin_users: + - mfariello + - luciauy + singleuser: + profileList: + - display_name: Jupyter + slug: jupyter-scipy + description: "Python environment" + default: true + kubespawner_override: + image: jupyter/scipy-notebook:2023-06-27 + default_url: /lab + profile_options: &profile_options + resource_allocation: + display_name: Resource Allocation + choices: + mem_8: + default: true + display_name: ~8 GB RAM, ~1.0 CPU + kubespawner_override: + mem_guarantee: 6.684G + cpu_guarantee: 0.75 + mem_limit: null + cpu_limit: null + node_selector: + node.kubernetes.io/instance-type: n2-highmem-4 + - display_name: RStudio + description: R environment + kubespawner_override: + image: rocker/binder:4.3 + default_url: /rstudio + # Ensures container working dir is homedir + # https://github.com/2i2c-org/infrastructure/issues/2559 + working_dir: /home/rstudio + profile_options: *profile_options diff --git a/config/clusters/catalystproject-latam/cluster.yaml b/config/clusters/catalystproject-latam/cluster.yaml index cd11869c40..b19d00710b 100644 --- a/config/clusters/catalystproject-latam/cluster.yaml +++ b/config/clusters/catalystproject-latam/cluster.yaml @@ -33,3 +33,19 @@ hubs: - common.values.yaml - unitefa-conicet.values.yaml - enc-unitefa-conicet.secret.values.yaml + - name: cicada + display_name: "Catalyst Project, LatAm - CICADA" + domain: cicada.latam.catalystproject.2i2c.cloud + helm_chart: basehub + helm_chart_values_files: + - common.values.yaml + - cicada.values.yaml + - enc-cicada.secret.values.yaml + - name: gita + display_name: "Catalyst Project, LatAm - GITA" + domain: gita.latam.catalystproject.2i2c.cloud + helm_chart: basehub + helm_chart_values_files: + - common.values.yaml + - gita.values.yaml + - enc-gita.secret.values.yaml diff --git a/config/clusters/catalystproject-latam/enc-cicada.secret.values.yaml b/config/clusters/catalystproject-latam/enc-cicada.secret.values.yaml new file mode 100644 index 0000000000..e175c410c7 --- /dev/null +++ b/config/clusters/catalystproject-latam/enc-cicada.secret.values.yaml @@ -0,0 +1,20 @@ +jupyterhub: + hub: + config: + GitHubOAuthenticator: + client_id: ENC[AES256_GCM,data:zxCOJ8mjqR+xBpsz0HpFsUStS8I=,iv:7d2fjvmGVxkOTZ8xz50b2wrvT72ytOknwNem3KSllcM=,tag:o57jzgHPoOSuT9CAHnbREw==,type:str] + client_secret: ENC[AES256_GCM,data:O6CpyvDhCDlA40vtiKTwQ8A8/o3Lk+mgCv8cs00fFxbxerxsC64pVg==,iv:DSPf5/jq8lsqKsoVP+Ok81tWif3gji7+ZXkepJj+Lzc=,tag:uWc0o3L4D6jMwNVSQaPTUg==,type:str] +sops: + kms: [] + gcp_kms: + - resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs + created_at: "2023-12-14T20:04:27Z" + enc: CiUA4OM7eAFaGyBVMS6lLZIWNElU5r/7ZRC8lwFzpfXqMp/ezVPPEkkAjTWv+iK4ew9YxFceEes4r01ULi4kS1467tLMNP4wiK0wajCBqwefCnR3JuA0dAhF8f8OTYEfVAlRiQIBFfOoTrReCW6LMKPs + azure_kv: [] + hc_vault: [] + age: [] + lastmodified: "2023-12-14T20:04:28Z" + mac: ENC[AES256_GCM,data:rec/sZYtFB9rbEw6wcLxwmWZ3FQQgBUPrf+OncCCDcdJfTpJgbf0tA4HUYbmfw0KQV0u/6dQ9N1E+i31Vc1r5NcuCcaFiB0hiwv+x6RLlSR5dT4anO0CjHflKzA4x8RQRNZ69fv3/31kPAKThiVu5ronpsASJxSwdT64GT/yDtQ=,iv:0mDEHvYdYCZSCpeORvs4GAulPIyi21cT4KepcHY2DIc=,tag:lwnnxngi59sEm7kfOeTdSQ==,type:str] + pgp: [] + unencrypted_suffix: _unencrypted + version: 3.8.1 diff --git a/config/clusters/catalystproject-latam/enc-gita.secret.values.yaml b/config/clusters/catalystproject-latam/enc-gita.secret.values.yaml new file mode 100644 index 0000000000..4f2cb62669 --- /dev/null +++ b/config/clusters/catalystproject-latam/enc-gita.secret.values.yaml @@ -0,0 +1,20 @@ +jupyterhub: + hub: + config: + GitHubOAuthenticator: + client_id: ENC[AES256_GCM,data:/+L+lrHasy1fXdJqk81ICAQRFhw=,iv:P7XQGmkhfJwNUK5CdPogNILKUgdQV2LkSoNqRIIOzVc=,tag:a6LsC1wO9vvC0swaO+5zFg==,type:str] + client_secret: ENC[AES256_GCM,data:OEWuWUlxuM66ocyh30vHbVo7rKV+MCsGnYGPaAvGJLpZ6o35cUg43A==,iv:bEzJFVq1CZNwmWypGT7L5FZmHEl4iiOW1DOkOSORaDI=,tag:UTLjevBcSzDbnFxcyE8kKw==,type:str] +sops: + kms: [] + gcp_kms: + - resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs + created_at: "2024-01-18T02:23:15Z" + enc: CiUA4OM7eOCBjXdrS9uc0fxzNQ79Yev2HDrme79QfHX0rDak3EqLEkkAjTWv+lJst5+W/Lw8PYZMteMCrM+kOv6erRDdafuu8w2ZsEo1RsULgfwoyewk/ZzyaFM91obHsQevECit/+1RWxB+krWrN2GU + azure_kv: [] + hc_vault: [] + age: [] + lastmodified: "2024-01-18T02:23:16Z" + mac: ENC[AES256_GCM,data:mE/2Mcl5pMRXv4dVAKtQwcPluFChcbKlajczKdUzHp7+QjLqCn+Fdl4Bn8YIhvXG8HX/kkW2ZfdaCcvWaiUulwHZ4PJWN0IWBDWMezfK7E5gLiH/PGinc6lwZG++HT/tKw7bP1mX8Ltc6724maH1ZG2QpSF+Bo7hfU8ACr25Mlc=,iv:QTdUWv4bQsrV2H+hNNyTOabpYMNq7MKejScVLtMehME=,tag:cDr5P87/FXV7bfE0mFZiZA==,type:str] + pgp: [] + unencrypted_suffix: _unencrypted + version: 3.8.1 diff --git a/config/clusters/catalystproject-latam/gita.values.yaml b/config/clusters/catalystproject-latam/gita.values.yaml new file mode 100644 index 0000000000..fd07c26bbe --- /dev/null +++ b/config/clusters/catalystproject-latam/gita.values.yaml @@ -0,0 +1,70 @@ +jupyterhub: + ingress: + hosts: [gita.latam.catalystproject.2i2c.cloud] + tls: + - hosts: [gita.latam.catalystproject.2i2c.cloud] + secretName: https-auto-tls + custom: + 2i2c: + add_staff_user_ids_to_admin_users: true + add_staff_user_ids_of_type: "github" + homepage: + templateVars: + org: + name: Catalyst Project, LatAm - GITA + url: https://2i2c.org + logo_url: https://2i2c.org/media/logo.png + designed_by: + name: "2i2c" + url: https://2i2c.org + operated_by: + name: "2i2c" + url: https://2i2c.org + funded_by: + name: Chan Zuckerberg Initiative - Open Science + url: "https://chanzuckerberg.com/science/programs-resources/open-science/" + hub: + config: + JupyterHub: + authenticator_class: github + GitHubOAuthenticator: + oauth_callback_url: https://gita.latam.catalystproject.2i2c.cloud/hub/oauth_callback + allowed_organizations: + - CatalystProject-Hubs:gita + scope: + - read:org + Authenticator: + admin_users: + - rafaelorozco511 + singleuser: + profileList: + - display_name: Jupyter + slug: jupyter-scipy + description: "Python environment" + default: true + kubespawner_override: + image: jupyter/scipy-notebook:2023-06-27 + default_url: /lab + profile_options: &profile_options + resource_allocation: + display_name: Resource Allocation + choices: + mem_8: + default: true + display_name: ~8 GB RAM, ~1.0 CPU + kubespawner_override: + mem_guarantee: 6.684G + cpu_guarantee: 0.75 + mem_limit: null + cpu_limit: null + node_selector: + node.kubernetes.io/instance-type: n2-highmem-4 + - display_name: RStudio + description: R environment + kubespawner_override: + image: rocker/binder:4.3 + default_url: /rstudio + # Ensures container working dir is homedir + # https://github.com/2i2c-org/infrastructure/issues/2559 + working_dir: /home/rstudio + profile_options: *profile_options