aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-10-26 18:52:36 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-26 18:52:36 +0000
commit2fbcd137b09895ebcbaee406d595a4db9a873219 (patch)
tree962eebe6277adb4534a3eae6e28a1df304ca1867 /deployment/heat/onap-oom
parent898be633f924a0d65cdf642c922e36213df47fa5 (diff)
parenta101f3ba504c9d8563a2e735123b43be5984e349 (diff)
Merge "Add pvc to cleanup script"
Diffstat (limited to 'deployment/heat/onap-oom')
-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