Ensure default namespace is used

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

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