summaryrefslogtreecommitdiffstats
path: root/kubernetes/helm/plugins/undeploy
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/helm/plugins/undeploy')
-rwxr-xr-xkubernetes/helm/plugins/undeploy/undeploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/helm/plugins/undeploy/undeploy.sh b/kubernetes/helm/plugins/undeploy/undeploy.sh
index e5c0c12711..1689bf1b48 100755
--- a/kubernetes/helm/plugins/undeploy/undeploy.sh
+++ b/kubernetes/helm/plugins/undeploy/undeploy.sh
@@ -23,7 +23,7 @@ undeploy() {
array=($(helm ls -q --all | grep $RELEASE))
n=${#array[*]}
- for (( i = n-1; i >= 0; i-- ))
+ for i in $(seq $(($n-1)) -1 0)
do
helm del "${array[i]}" $FLAGS
done