From 198e4d62dcb1261ad3da0f1ed7134633e8716e83 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Thu, 20 Jun 2024 14:58:51 -0700 Subject: [PATCH 1/2] Moving extra_env under kubespawner_override stanza --- deployments/dev/config/common.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployments/dev/config/common.yaml b/deployments/dev/config/common.yaml index c8c081302..d66d7218d 100644 --- a/deployments/dev/config/common.yaml +++ b/deployments/dev/config/common.yaml @@ -71,6 +71,9 @@ jupyterhub: description: "A newer repo2docker-based image with a primary focus of building dashboards." kubespawner_override: image: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-secondary:36280727a + extra_env: + GH_SCOPED_CREDS_CLIENT_ID: "Iv23liFjgKFgkSBWph4C" + GH_SCOPED_CREDS_APP_URL: "https://github.com/apps/test-gh-scoped-creds" - display_name: "1524699: DataHub Infrastructure" slug: "1524699" description: "Regular image with per-course subpath." From d31382ff5ad3df7a5ac83080bc43d933eea206c2 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Mon, 24 Jun 2024 18:02:25 -0700 Subject: [PATCH 2/2] Fixing extraenv with env --- deployments/dev/config/common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/dev/config/common.yaml b/deployments/dev/config/common.yaml index d66d7218d..f0c49b1de 100644 --- a/deployments/dev/config/common.yaml +++ b/deployments/dev/config/common.yaml @@ -71,7 +71,7 @@ jupyterhub: description: "A newer repo2docker-based image with a primary focus of building dashboards." kubespawner_override: image: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-secondary:36280727a - extra_env: + env: GH_SCOPED_CREDS_CLIENT_ID: "Iv23liFjgKFgkSBWph4C" GH_SCOPED_CREDS_APP_URL: "https://github.com/apps/test-gh-scoped-creds" - display_name: "1524699: DataHub Infrastructure"