From e5b90fed04d8527f41561919569b5c3a334ef019 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Wed, 19 May 2021 02:30:28 +0530 Subject: [PATCH 1/2] Move homepage under jupyterhub.custom Follow-up https://github.com/2i2c-org/pilot-hubs/pull/424 --- config/hubs/cloudbank.cluster.yaml | 31 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/config/hubs/cloudbank.cluster.yaml b/config/hubs/cloudbank.cluster.yaml index b411a54481..fe21d2be17 100644 --- a/config/hubs/cloudbank.cluster.yaml +++ b/config/hubs/cloudbank.cluster.yaml @@ -404,21 +404,22 @@ hubs: connection: google-oauth2 config: jupyterhub: - homepage: - templateVars: - org: - name: San Jose Community College - logo_url: https://upload.wikimedia.org/wikipedia/commons/c/cf/SJCC_logo.png - url: https://www.sjcc.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/ + custom: + homepage: + templateVars: + org: + name: San Jose Community College + logo_url: https://upload.wikimedia.org/wikipedia/commons/c/cf/SJCC_logo.png + url: https://www.sjcc.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: Authenticator: From 0ab91452473f4a519315cd8345399b01700c2499 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Wed, 19 May 2021 02:35:18 +0530 Subject: [PATCH 2/2] Fix openscapes hub 'homepage' config Since https://github.com/2i2c-org/pilot-hubs/pull/417, homepage needs to be under jupyterhub.custom --- config/hubs/openscapes.cluster.yaml | 31 +++++++++++++++-------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/config/hubs/openscapes.cluster.yaml b/config/hubs/openscapes.cluster.yaml index e39c017cbe..86f9521946 100644 --- a/config/hubs/openscapes.cluster.yaml +++ b/config/hubs/openscapes.cluster.yaml @@ -30,21 +30,22 @@ hubs: operator: "Exists" effect: "NoSchedule" jupyterhub: - homepage: - templateVars: - org: - name: Openscapes - logo_url: https://www.openscapes.org/img/logo.png - url: https://www.openscapes.org/ - designed_by: - name: 2i2c - url: https://2i2c.org - operated_by: - name: 2i2c - url: https://2i2c.org - funded_by: - name: Openscapes - url: https://www.openscapes.org/ + custom: + homepage: + templateVars: + org: + name: Openscapes + logo_url: https://www.openscapes.org/img/logo.png + url: https://www.openscapes.org/ + designed_by: + name: 2i2c + url: https://2i2c.org + operated_by: + name: 2i2c + url: https://2i2c.org + funded_by: + name: Openscapes + url: https://www.openscapes.org/ singleuser: defaultUrl: /lab initContainers: