I want to create separate environments for Jupyterlab users running in the Kubernetes cluster. The way I am trying to customize different environments is by environment variables (all environments are using the same Docker image)
I tried specifying something like this:
singleuser:
defaultUrl: "/lab"
extraEnv:
ENV1: "val1"
ENV2: "val2"
profileList:
- display_name: "Environment 1"
kubespawner_override:
env_keep:
- ENV1
- ENV2
environment:
ENV3: "val3"
But in this case ENV1 and ENV2 (and also other hub variables) are not populated in the spawned container. I need those variables to be populated, since they include variables populated dynamically with user authentication.
Any idea? Thanks