summaryrefslogtreecommitdiffstats
path: root/kubernetes/oneclick/deleteAll.bash
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2017-08-22 15:27:04 +0000
committerBorislav Glozman <Borislav.Glozman@amdocs.com>2017-08-22 16:28:10 +0000
commit74d723a8696a22dcbe8c0eee131540b45822a1af (patch)
tree9b490a4a39bb8bb1832fc1327234a2166da1e8a4 /kubernetes/oneclick/deleteAll.bash
parente94258e3be0da3a15680de53b1817490c4173759 (diff)
MSO K8S-Helm Parameterization
changed MSO k8s deployment to support helm parameterization Issue-ID: OOM-52 Change-Id: Ifb192ee2d417aae6b0bdd05d662229e3542e7944 Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/oneclick/deleteAll.bash')
-rwxr-xr-xkubernetes/oneclick/deleteAll.bash11
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"