Closed kevin-bates closed 1 year ago
@lresende, @rahul26goyal - could I please get a review from either of you?
@blair-anson - if you'd like to provide a review (or anyone else) - that would be much appreciated!
Thank you.
Going ahead with the merge - thank you for your review @kiersten-stokes.
While looking into #1160, it became apparent that the flow of env variables from the client to the kernel pods is not working for
KubernetesProcessProxy
. Only a fixed set ofKERNEL_
-prefixed variables were transferred to the pod, along with system-defined values for the kernel launcher parameters. This pull request ensures that envs configured to flow to the kernel pod do flow.Previously, because k8s relies on its own envs, we unconditionally included all EG-configured envs as well, even though those also never found their way into the kernel pod. This PR only copies EG envs prefixed with
KUBECONFIG
orKUBERNETES_SERVICE
rather than the entire EG environment.