Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keepvars extra #99

Merged
merged 2 commits into from
Aug 10, 2018
Merged

Keepvars extra #99

merged 2 commits into from
Aug 10, 2018

Conversation

rkdarst
Copy link
Contributor

@rkdarst rkdarst commented Jun 21, 2018

This is part of my project to make batchspawner handle the user environment better. It doesn't immediately make things better, but provides one tool which will help environment management later.

The req_keepvars defaults to a lot of stuff from inside JupyterHub. If you want to add something, you have to copy and paste the default - something fragile. This lets you append without worrying about what is inside.


Add keepvars_extra to whitelist more environment.

  • Existing keepvars will whitelist environment variables, but is
    all-or-nothing: you can't append to existing required environemnt
    variables that JupyterHub requires.
  • This allows a comma separated list of the same format as
    req_keepvars that gets appended to keepvars, with one extra comma
    between them.

- Existing keepvars will whitelist environment variables, but is
  all-or-nothing: you can't append to existing required environemnt
  variables that JupyterHub requires.
- This allows a comma separated list of the same format as
  req_keepvars that gets appended to keepvars, with one extra comma
  between them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants