Skip to content

Commit

Permalink
feat: add JUPYTERHUB_USER as env var to git-clone image
Browse files Browse the repository at this point in the history
  • Loading branch information
m-alisafaee authored and rokroskar committed Jul 1, 2019
1 parent 7fdd566 commit 790f92c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jupyterhub/spawners.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ def get_pod_manifest(self):
),
client.V1EnvVar(
name='BRANCH', value=options.get('branch', 'master')
),
client.V1EnvVar(
name='JUPYTERHUB_USER', value=self.user.name
)
],
image=options.get('git_clone_image'),
Expand Down

0 comments on commit 790f92c

Please sign in to comment.