diff --git a/examples/bootstrap/bootstrap.sh b/examples/bootstrap/bootstrap.sh index a1b2776fa..91b17f555 100755 --- a/examples/bootstrap/bootstrap.sh +++ b/examples/bootstrap/bootstrap.sh @@ -42,7 +42,9 @@ $MANAGER > $LOGDIR/manager.log 2>&1 --port=8080 --expanderURL=http://localhost:8 echo echo "Creating dm namespace..." -$KUBECTL create -f dm-namespace.yaml +BOOTSTRAP_PATH=$( cd $(dirname $0) ; pwd -P ) +$KUBECTL delete -f $BOOTSTRAP_PATH/dm-namespace.yaml +$KUBECTL create -f $BOOTSTRAP_PATH/dm-namespace.yaml echo echo "Starting kubectl proxy..."