From 6f5135619c1e3c8a72c53339fabb2b08937128df Mon Sep 17 00:00:00 2001 From: Yuvi Panda Date: Wed, 10 Jan 2024 11:11:16 -0800 Subject: [PATCH] Revert "Move the " UToronto JupyterHub Private Cloner" GitHub app's details under the default hubs common" --- config/clusters/utoronto/common.values.yaml | 14 ++++++++++++++ .../clusters/utoronto/default-common.values.yaml | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/clusters/utoronto/common.values.yaml b/config/clusters/utoronto/common.values.yaml index 3e0d1e79b..95f7ecb0a 100644 --- a/config/clusters/utoronto/common.values.yaml +++ b/config/clusters/utoronto/common.values.yaml @@ -49,6 +49,20 @@ jupyterhub: memory: limit: 2G guarantee: 1G + extraFiles: + github-app-private-key.pem: + mountPath: /etc/github/github-app-private-key.pem + # stringData field will be set via encrypted values files but added here + # to meet the chart schema validation requirements without the need to + # use secret values during the validation. + stringData: "dummy" + gitconfig: + mountPath: /etc/gitconfig + # app-id comes from https://github.com/organizations/utoronto-2i2c/settings/apps/utoronto-jupyterhub-private-cloner + stringData: | + [credential "https://github.com"] + helper = !git-credential-github-app --app-key-file /etc/github/github-app-private-key.pem --app-id 93515 + useHttpPath = true hub: db: pvc: diff --git a/config/clusters/utoronto/default-common.values.yaml b/config/clusters/utoronto/default-common.values.yaml index 7e6e1db1e..9d8866521 100644 --- a/config/clusters/utoronto/default-common.values.yaml +++ b/config/clusters/utoronto/default-common.values.yaml @@ -3,20 +3,6 @@ jupyterhub: image: name: quay.io/2i2c/utoronto-image tag: "14320bae73a0" - extraFiles: - github-app-private-key.pem: - mountPath: /etc/github/github-app-private-key.pem - # stringData field will be set via encrypted values files but added here - # to meet the chart schema validation requirements without the need to - # use secret values during the validation. - stringData: "dummy" - gitconfig: - mountPath: /etc/gitconfig - # app-id comes from https://github.com/organizations/utoronto-2i2c/settings/apps/utoronto-jupyterhub-private-cloner - stringData: | - [credential "https://github.com"] - helper = !git-credential-github-app --app-key-file /etc/github/github-app-private-key.pem --app-id 93515 - useHttpPath = true hub: config: Authenticator: