Skip to content
Snippets Groups Projects

Resolve "no upgrade when deploying"

Merged Ulf Seltmann requested to merge 6-no-upgrade-when-deploying into master
Compare and
2 files
+ 7
1
Preferences
Compare changes
Files
2
+ 1
1
@@ -273,7 +273,7 @@ helm_deploy() {
@@ -273,7 +273,7 @@ helm_deploy() {
helmargs=$(echo -e "$helmargs" | sed -E 's/(^[[:space:]]*)|([[:space:]]*$)//g')
helmargs=$(echo -e "$helmargs" | sed -E 's/(^[[:space:]]*)|([[:space:]]*$)//g')
cmd="helm upgrade --install --wait --timeout=60 --tiller-namespace=${namespace}"
cmd="helm upgrade --install --wait --timeout=60 --tiller-namespace=${namespace}"
cmd="$cmd --namespace=${namespace} ${name} ${charts} ${helmargs}"
cmd="$cmd --namespace=${namespace} --recreate-pods ${name} ${charts} ${helmargs}"
out=`$cmd 2>&1`
out=`$cmd 2>&1`
if [ "$?" != "0" ];then
if [ "$?" != "0" ];then