try to adjust tshwrapper for k8s use

This commit is contained in:
Nico Schottelius 2023-11-10 12:51:27 +01:00
parent 6cb22bdb7f
commit a8232b9cb6

View file

@ -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