aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/heat/onap-oom/scripts')
-rwxr-xr-x[-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 4c84e3566..7c2a1e29f 100644..100755
--- 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 pvc pv services deployments statefulsets; do
+for op in secrets configmaps pvc pv services deployments statefulsets clusterrolebinding; do
ARRAY=(`kubectl get $op -n onap | grep dev-$COMPONENT | awk '{print $1}'`)
for i in ${ARRAY[*]}; do
kubectl delete $op -n onap $i