Skip to content
Snippets Groups Projects
Commit b81d34d3 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

fixed helm delete

parent 16c14a66
No related merge requests found
Pipeline #677 passed with stages
in 1 minute and 40 seconds
...@@ -265,7 +265,7 @@ helm_deploy() { ...@@ -265,7 +265,7 @@ helm_deploy() {
local out="" local out=""
if [ "$(helm ls --tiller-namespace=${namespace} --namespace=${namespace} --deleted --failed --short | grep ${name})" != "" ];then if [ "$(helm ls --tiller-namespace=${namespace} --namespace=${namespace} --deleted --failed --short | grep ${name})" != "" ];then
out=`helm delete --tiller-namespace=${namespace} --namespace=${namespace} --purge ${name} 2>&1` out=`helm delete --tiller-namespace=${namespace} --purge ${name} 2>&1`
if [ "$?" != "0" ];then if [ "$?" != "0" ];then
echo "failed" echo "failed"
echo "$out" echo "$out"
......
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