diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2017-08-22 17:42:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-08-22 17:42:02 +0000 |
commit | e614826f96105851c1099ecb883327054bcd3f49 (patch) | |
tree | cee6280f9766abab68805c8577003a07900def26 /kubernetes/oneclick/deleteAll.bash | |
parent | 44a3e8c2303b299160daaec1e585b467a773a614 (diff) | |
parent | 74d723a8696a22dcbe8c0eee131540b45822a1af (diff) |
Merge "MSO K8S-Helm Parameterization"
Diffstat (limited to 'kubernetes/oneclick/deleteAll.bash')
-rwxr-xr-x | kubernetes/oneclick/deleteAll.bash | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/oneclick/deleteAll.bash b/kubernetes/oneclick/deleteAll.bash index 3d54aa80ae..ad7f060d12 100755 --- a/kubernetes/oneclick/deleteAll.bash +++ b/kubernetes/oneclick/deleteAll.bash @@ -20,6 +20,10 @@ delete_service() { kubectl --namespace $1-$2 delete -f ../$2/all-services.yaml } +delete_app_helm() { + helm delete $1 --purge +} + usage() { cat <<EOF Usage: $0 [PARAMs] @@ -88,5 +92,12 @@ for i in ${ONAP_APPS[@]}; do done +for i in ${HELM_APPS[@]}; do + + delete_app_helm $i + delete_namespace $NS $i + +done + printf "\n********** Gone **********\n" |