summaryrefslogtreecommitdiffstats
path: root/kubernetes/oneclick
diff options
context:
space:
mode:
authorMunir Ahmad <munir.ahmad@bell.ca>2017-12-07 14:31:01 -0500
committerMunir Ahmad <munir.ahmad@bell.ca>2017-12-07 19:50:16 +0000
commita37c0f49c3c11368f7cca3728df237790b68f6f5 (patch)
tree3ac5670426c5dc8cbae7427168597c18f401b63c /kubernetes/oneclick
parent852ac276248e995e1ec9782c5fc40c5dc578a803 (diff)
Fix Not all namespace/helm installs are deleted
Change-Id: I8353d297b45dfa7c3559523a652ef34bb5340a9d Issue-ID: OOM-495 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
Diffstat (limited to 'kubernetes/oneclick')
-rwxr-xr-xkubernetes/oneclick/deleteAll.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/oneclick/deleteAll.bash b/kubernetes/oneclick/deleteAll.bash
index cf293e48ad..b41679b061 100755
--- a/kubernetes/oneclick/deleteAll.bash
+++ b/kubernetes/oneclick/deleteAll.bash
@@ -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