Skip to content

Commit

Permalink
Support pulling from private git repos
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Dec 13, 2021
1 parent 2d4239e commit 8baf7ab
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
9 changes: 9 additions & 0 deletions config/hubs/utoronto.cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ hubs:
name: University of Toronto
url: https://www.utoronto.ca/
singleuser: &staging_jhub_singleuser
extraFiles:
github-app-private-key.pem:
mountPath: /etc/github/github-app-private-key.pem
gitconfig:
mountPath: /etc/gitconfig
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
initContainers:
# Need to explicitly fix ownership here, since Azure File doesn't do anonuid
- name: volume-mount-ownership-fix
Expand Down
12 changes: 10 additions & 2 deletions secrets/config/hubs/utoronto.cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ hubs:
- name: ENC[AES256_GCM,data:IAeq1UJtaQ==,iv:uw3u83ri3uxGI0kgRsg6F+eEFFf4p6OZXGJRicLMl00=,tag:2OZjavRba3MlN+0CJxVzaA==,type:str]
config:
jupyterhub:
singleuser:
extraFiles:
github-app-private-key.pem:
stringData: ENC[AES256_GCM,data:UGpcbNCgQDyHNtP7lquoq1D0e2Qcv4SOV4E5cNQj3QDrzthIz3BLZ704PX9lXquU7x8C63AfIoucfAsg5JtAoFUPSXMuqhQ6AajL/GwTu7ToDAUSXbrEZAGmzoJTXalAl0aI7cBpxGvzs45Zw0iekV569ZkJM9zM2aWb7m8mCa/zrxs220pgDopDy82lyCC8GowKOgRUGG8joHEWmNGLt4is6wIygARZkbMUQhdX6pGyhc5bdKBCJz+CJRJdmu4xnQg+ahqnRphm6qNzMmHzJKu4QYhBRDnjxa4+vtmR7sMBFLBA5vQri8jIDvNx2RkGdFfrsWuN4fUEybf4JJO75hD2Fde6JUXoJxGHPLT6d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YKBaGLPdl1dKWkiMJYbnHqt/hvW0fRcHeJcQaeo3Z+rWIJYRaeDpy7IZodEuvcf8tpbR8ObcVYcf8q9ZnTrFChCb/pOBMg5kzlu60qgcrpuW+oYjZg95RlEk6Iv2k3OoFnbNh1r/6hDvoOJQLdkpntvmNEV5infGLUE0qCEES2LUSvTJGoV8JPP0xOvk0MCxDi/8Cbq4qVXSMhxh6B/t+DNCDuoZadIyU5Wo3qsc0LgZTCujJ5OHCqaGbdUdD6p3YQCr73fD6QlaKex89s2OuPh8dKPzDajTNt+OBcZNLY+oa+YYLjf/sIG0JFYQ6Bp6u1Zr09YzOgrk18BtVOeYljDnVMlKAIqgmrWSttOOtUqqlh9Jt5/NqaO8E+dxJCJkkqBWcHJsiK5oixrnkpdTCyAzxgySK3WPUcIhvdVXXpKffzPHhZ7D58CAczDTXcwJ67XbdQuMSYjYoVSD6Jz4vRgQULIjQ2XiR0ymnfTSlqfovjEKW/wu8P8D1nvzmLbZj0Pn6Q02Elo1bE21dO1K5VYvWAp4XSl7FQFMpI2zzsjoaAh+VGmDaa8uwEns+LA3nYon0MaCfyPZDnmBg5oESOpZ+SBOmKhiOAjGuRz6hVA9b2FGNIdyuPdFXXBERJa/vTe2jGKA401xJNwCvJLhBB3sGmZ7EhYTGnrbm+ah9wTgeALbkr/JoBiiK9+vU54x3neH8WT7co+vSBo24QgXv4vQO9fVrFjx6Bd9cqL4//tF/lmS0Y6NWNePz64lj8zrPh1BaYES48zJMBh75KPQz6xc=,iv:vMvkAvAxetYx0JTzWkmlsicyGjgspA8eMeL0KbpV1xg=,tag:yUm7SZ9s6/zktLWBXyAiiw==,type:str]
hub:
config:
AzureAdOAuthenticator:
Expand All @@ -10,6 +14,10 @@ hubs:
- name: ENC[AES256_GCM,data:hIMyvQ==,iv:jSMZit0o6ai3yxJjRMe6rLRgGYfeqzWtS4ntBbGVst4=,tag:5qp5pzwfB7SLf+ItXekYdQ==,type:str]
config:
jupyterhub:
singleuser:
extraFiles:
github-app-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rbm+ah9wTgeALbkr/JoBiiK9+vU54x3neH8WT7co+vSBo24QgXv4vQO9fVrFjx6Bd9cqL4//tF/lmS0Y6NWNePz64lj8zrPh1BaYES48zJMBh75KPQz6xc=,iv:vMvkAvAxetYx0JTzWkmlsicyGjgspA8eMeL0KbpV1xg=,tag:yUm7SZ9s6/zktLWBXyAiiw==,type:str]
hub:
config:
AzureAdOAuthenticator:
Expand All @@ -25,8 +33,8 @@ sops:
azure_kv: []
hc_vault: []
age: []
lastmodified: "2021-12-13T09:04:55Z"
mac: ENC[AES256_GCM,data:0j8kcivCARJMtCaM4aGwKD4Nvbr8LzGU2+m1+XcTLcRDwlm2IyN+CLAugmX5NHyHk/21Vz743FCTEHWd4j62eAt4EkjVsRO5pST42rh89g38lC9/9gudu8Q3EbM1uN46vCUetqFW2YrqnGgjjwYWT7K/gfDiIWquSG29c6L5LYs=,iv:jyqLmr2l2iNp46UOpWBmeDmphvGYM0ZzrHqFgz3fOZ0=,tag:051lQDmd3JGx1oBWhz6tJA==,type:str]
lastmodified: "2021-12-13T15:37:12Z"
mac: ENC[AES256_GCM,data:JJD8IM0P+ifwU0tcqNT5Wtvs4140tsj9l9Vc/5AJpHjsTlP1QRw7Jh4tgVk6/Rw3jzSWmGhxp3GEtbV2pQ/WAOixKwC3wN9fWarDaguvYNS89xW0/fAHBlRwoBnga5KErUd5g/S7+Nv/gc1UObj22qUfnRJ83Tb2ekVuRjLJx2c=,iv:rU6MamjwmrJpBWhp1hljyX5iPZ5YA4X93vv9NYReEvU=,tag:vUIo3ApZxmRMP4fwJ76oJQ==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.7.1

0 comments on commit 8baf7ab

Please sign in to comment.