databricks / click

The "Command Line Interactive Controller for Kubernetes"
Apache License 2.0
1.49k stars 85 forks source link

Forward parent environment variables in kube config exec commands #180

Closed wchau closed 2 years ago

wchau commented 2 years ago

The kube config exec commands did not forward parent environment variables, causing the aws or aws-iam-authenticator to not run properly (due to lack of $PATH).

With this, it should match kubectl behavior and should fully close https://github.com/databricks/click/issues/89