Fix Not all namespace/helm installs are deleted
Change-Id: I8353d297b45dfa7c3559523a652ef34bb5340a9d
Issue-ID: OOM-495
Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
diff --git a/kubernetes/oneclick/deleteAll.bash b/kubernetes/oneclick/deleteAll.bash
index cf293e4..b41679b 100755
--- a/kubernetes/oneclick/deleteAll.bash
+++ b/kubernetes/oneclick/deleteAll.bash
@@ -94,7 +94,6 @@
printf "\n********** Cleaning up ONAP: ${ONAP_APPS[*]}\n"
-
for i in ${HELM_APPS[@]}; do
delete_app_helm $NS $i
@@ -103,6 +102,9 @@
done
+delete_app_helm $NS "config"
+kubectl delete namespace $NS
+
if $WAIT_TERMINATE; then
wait_terminate $NS
fi