try to adjust tshwrapper for k8s use
This commit is contained in:
parent
6cb22bdb7f
commit
a8232b9cb6
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ if ! docker ps | grep -q tshwrapper ; then
|
|||
docker exec -ti tshwrapper /bin/sh -c "supervisord -c /etc/supervisor/supervisord.conf"
|
||||
fi
|
||||
|
||||
docker exec -ti tshwrapper "$@"
|
||||
set -- export KUBECONFIG=/root/.tsh/kube.conf \;
|
||||
|
||||
docker exec -ti tshwrapper /bin/sh -c "$@"
|
||||
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue