diff --git a/examples/bootstrap/bootstrap.sh b/examples/bootstrap/bootstrap.sh index 43db6b584..c80fd6a48 100755 --- a/examples/bootstrap/bootstrap.sh +++ b/examples/bootstrap/bootstrap.sh @@ -1,6 +1,9 @@ #!/bin/bash + LOGDIR=log -mkdir $LOGDIR +if [[ ! -d $LOGDIR ]]; then + mkdir $LOGDIR +fi KUBECTL=`which kubectl` if [[ -z $KUBECTL ]] ; then