We need to run a binderhub behind an outbound proxy.
To get this to work, my idea is to pass PROXY_* env vars to the build pod.
Currently env vars set in the values.yaml for binder do not propagate to the build pod.
Would that be something for a PR?
If yes:
What do you think would be best?
- Pass all environment variables from
os.environ
to the new pod - Just pass the
PROXY_*
vars - Somehow get the vars from
extraEnv
and pass them.
Edit: Not sure if the env propagating will help. The crucial thing which made it work in my case, was to inject a .docker/config.json containing the proxy vars into the build pod (the one spawned in build.py)