aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-10-26 14:48:10 -0400
committerMarco Platania <platania@research.att.com>2018-10-26 14:48:10 -0400
commita101f3ba504c9d8563a2e735123b43be5984e349 (patch)
tree5c61cb5311675657ad2f111d6c88273ff74bec75 /deployment/heat
parentc72a69e767c9232080fb396695016071e426970c (diff)
Add pvc to cleanup script
Change-Id: Ib2388d96ec720fdac6ed7919ea3e9ef5aca721cb Issue-ID: INT-586 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'deployment/heat')
-rw-r--r--deployment/heat/onap-oom/scripts/cleanup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/heat/onap-oom/scripts/cleanup.sh b/deployment/heat/onap-oom/scripts/cleanup.sh
index b6583f4fe..4c84e3566 100644
--- a/deployment/heat/onap-oom/scripts/cleanup.sh
+++ b/deployment/heat/onap-oom/scripts/cleanup.sh
@@ -15,7 +15,7 @@ if [ $COMPONENT == "dcae" ] || [ $COMPONENT == "DCAE" ]; then
kubectl delete service consul -n onap
fi
-for op in secrets configmaps pv services deployments statefulsets; do
+for op in secrets configmaps pvc pv services deployments statefulsets; do
ARRAY=(`kubectl get $op -n onap | grep dev-$COMPONENT | awk '{print $1}'`)
for i in ${ARRAY[*]}; do
kubectl delete $op -n onap $i