Ensure default namespace is used

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2021-12-15 10:46:43 +00:00
parent fc58941ad1
commit 1568e5a56f

View File

@@ -52,6 +52,7 @@ while test $# -gt 0; do
esac
done
NAMESPACE=${NAMESPACE:-default}
echo kubectl run -it --namespace $NAMESPACE $POD --image $IMAGE --restart Never --rm -- $CMD
kubectl run -it --namespace $NAMESPACE $POD --image $IMAGE --restart Never --rm -- $CMD