diff --git a/assets/deployer b/assets/deployer index 4a386f31ef7f9e271edd2c55f69f5b843492023f..af153a2cd707076128882fff938fe48fb404c6ac 100755 --- a/assets/deployer +++ b/assets/deployer @@ -207,7 +207,7 @@ prepare_kubectl() { prepare_helm() { echo -ne "Preparing helm..." - out=`helm init --tiller-namespace="${namespace}" --service-account ${service_account} --force-upgrade` + out=`helm init --wait --tiller-namespace="${namespace}" --service-account ${service_account} --force-upgrade` if [ "$?" != "0" ];then echo "failed!" echo "$out" @@ -220,7 +220,7 @@ prepare_helm() { prepare_helm_command() { echo -ne "Preparing helm command..." - cmd="helm --tiller-namespace=${namespace} --namespace=${namespace}" + cmd="helm --tiller-namespace=${namespace} --namespace=${namespace} --wait" if [ "${name}" == "" ];then echo "failed"