kube-exec
kube-exec copied to clipboard
Lightweight Golang package for executing commands in remote Kubernetes pods
Right now you are not able to pass other environment variables than secrets to a pod - https://github.com/radu-matei/kube-exec/blob/master/cmd.go#L32 You should have the ability to pass any environment variable.
It most likely involves a rewrite of the `Wait` and `waitPod` methods.
It would be great if we could specify secrets to be exposed to the pod via the environment or through volume mounts.