diff options
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/heat/onap-oom/scripts/cleanup.sh | 2 |
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 |