Fix Not all namespace/helm installs are deleted 45/26445/1
authorMunir Ahmad <munir.ahmad@bell.ca>
Thu, 7 Dec 2017 19:31:01 +0000 (14:31 -0500)
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Mon, 18 Dec 2017 13:31:34 +0000 (13:31 +0000)
Change-Id: I8353d297b45dfa7c3559523a652ef34bb5340a9d
Issue-ID: OOM-495
Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
(cherry picked from commit a37c0f49c3c11368f7cca3728df237790b68f6f5)

kubernetes/oneclick/deleteAll.bash

index cf293e4..b41679b 100755 (executable)
@@ -94,7 +94,6 @@ fi
 
 printf "\n********** Cleaning up ONAP: ${ONAP_APPS[*]}\n"
 
-
 for i in ${HELM_APPS[@]}; do
 
   delete_app_helm $NS $i
@@ -103,6 +102,9 @@ for i in ${HELM_APPS[@]}; do
 
 done
 
+delete_app_helm $NS "config"
+kubectl delete namespace $NS
+
 if $WAIT_TERMINATE; then
   wait_terminate $NS
 fi