Closed odontomachus closed 5 years ago
The latest versions of jupyterhub-quickstart
support providing a jupyterhub_config.sh
which can set environment variables for the JupyterHub process. This is the mechanism currently being used to allow you to set additional environment variables for OAuth.
As example see:
There is also a template parameter JUPYTERHUB_ENVVARS
for supplying this when deploying.
I would rather stick with this rather than introduce a whole lot more template parameters which are specific to one deployment case.
Can you try instead providing the configuration via JUPYTERHUB_ENVVARS
template parameter instead?
This actually works even better. Thanks.
The OAuth client secret is assumed to come from a secret. This should be documented.
This allows the template to work with Juptyerhub 1.0 with OAuthenticator being loaded before the jupyterhub config file. This also simplifies the Jupyterhub config file.
This could be a solution for #26 rather than adding a configuration file to set the environment before starting Jupyterhub.