tsh: expose KUBECONFIG

This commit is contained in:
Nico Schottelius 2023-12-08 10:37:36 +01:00
parent 7e60ddfa6e
commit ac13052df8
2 changed files with 2 additions and 0 deletions

View file

@ -5,6 +5,7 @@ docker run -t \
-v ~/k8s:/home/nico/k8s \ -v ~/k8s:/home/nico/k8s \
-v ~/.ssh:/home/nico/.ssh \ -v ~/.ssh:/home/nico/.ssh \
-v ~/.gnupg:/home/nico/.gnupg \ -v ~/.gnupg:/home/nico/.gnupg \
-e KUBECONFIG=$KUBECONFIG \
--entrypoint /usr/local/bin/tsh \ --entrypoint /usr/local/bin/tsh \
nicoschottelius/teleport "$@" nicoschottelius/teleport "$@"

View file

@ -6,6 +6,7 @@ docker run -ti \
-v ~/k8s:/home/nico/k8s \ -v ~/k8s:/home/nico/k8s \
-v ~/.ssh:/home/nico/.ssh \ -v ~/.ssh:/home/nico/.ssh \
-v ~/.gnupg:/home/nico/.gnupg \ -v ~/.gnupg:/home/nico/.gnupg \
-e KUBECONFIG=$KUBECONFIG \
--entrypoint /usr/local/bin/tsh \ --entrypoint /usr/local/bin/tsh \
nicoschottelius/teleport "$@" nicoschottelius/teleport "$@"