diff --git a/home/.bin/kube-shell b/home/.bin/kube-shell index e74a0c9..0ccca34 100755 --- a/home/.bin/kube-shell +++ b/home/.bin/kube-shell @@ -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