Removing all charts, also the ones that may be stuck in deleting state
Change-Id: Ia9707e7571f0fb2631004b3574f9a3c9291910d6
diff --git a/vars/helmTeardown.groovy b/vars/helmTeardown.groovy
index 3dff0ab..71fd263 100644
--- a/vars/helmTeardown.groovy
+++ b/vars/helmTeardown.groovy
@@ -7,7 +7,7 @@
for(int i = 0;i<namespaces.size();i++) {
def n = namespaces[i]
sh """
- for hchart in \$(helm list -n ${n} -q | grep -E -v '${exc}');
+ for hchart in \$(helm list --all -n ${n} -q | grep -E -v '${exc}');
do
echo "Purging chart: \${hchart}"
helm delete -n ${n} "\${hchart}"