summaryrefslogtreecommitdiffstats
path: root/kubernetes/oneclick/deleteAll.bash
diff options
context:
space:
mode:
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"