Commit 33cc91da authored by Brendan Melville's avatar Brendan Melville

bootstrap.sh should look for the namespace file local to the script.

parent 051f2dc5
...@@ -42,7 +42,11 @@ $MANAGER > $LOGDIR/manager.log 2>&1 --port=8080 --expanderURL=http://localhost:8 ...@@ -42,7 +42,11 @@ $MANAGER > $LOGDIR/manager.log 2>&1 --port=8080 --expanderURL=http://localhost:8
echo echo
echo "Creating dm namespace..." echo "Creating dm namespace..."
$KUBECTL create -f dm-namespace.yaml $KUBECTL get namespace dm >/dev/null 2>/dev/null
if [ $? -ne 0 ]; then
BOOTSTRAP_PATH=$( cd $(dirname $0) ; pwd -P )
$KUBECTL create -f $BOOTSTRAP_PATH/dm-namespace.yaml
fi
echo echo
echo "Starting kubectl proxy..." echo "Starting kubectl proxy..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment