diff options
author | Munir Ahmad <munir.ahmad@bell.ca> | 2017-12-07 14:31:01 -0500 |
---|---|---|
committer | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2017-12-18 13:31:34 +0000 |
commit | 21306ccaa0d50781bfd23e726c59421634ac66dc (patch) | |
tree | ccfac65183d0cc8dac2a8784bdd85c93dcff0624 | |
parent | 8acdecfe914b96156652abd436fc0f262ccaf1cc (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>
(cherry picked from commit a37c0f49c3c11368f7cca3728df237790b68f6f5)
-rwxr-xr-x | kubernetes/oneclick/deleteAll.bash | 4 |
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 |