Add ability to re-exec into shell when using tsh proxy kube.#40246
Add ability to re-exec into shell when using tsh proxy kube.#40246
tsh proxy kube.#40246Conversation
This PR introduces the `tsh proxy kube --exec` mode which spawns the kube proxy in the background and re-execs the user shell with the configured kubeconfig file. Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
|
When using
Also, file mentioned in So I would imagine we would want to remove the prompt if |
I fixed the message. It was using the incorrect message. Now it prints: |
tsh proxy kube --exec to specify process to run in the new shell
#44462
This PR introduces the
tsh proxy kube --execmode which spawns the kube proxy in the background and re-execs the user shell with the configured kubeconfig file.Changelog: Added
tsh proxy kube --execmode that spawns kube proxy in the background, re-executes user shell with the appropriate kubeconfig.