aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-rke/scripts/cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/heat/onap-rke/scripts/cleanup.sh')
-rwxr-xr-xdeployment/heat/onap-rke/scripts/cleanup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/deployment/heat/onap-rke/scripts/cleanup.sh b/deployment/heat/onap-rke/scripts/cleanup.sh
index 405bc5ae4..a39e4edc1 100755
--- a/deployment/heat/onap-rke/scripts/cleanup.sh
+++ b/deployment/heat/onap-rke/scripts/cleanup.sh
@@ -30,8 +30,8 @@ if [ $COMPONENT == "dcae" ]; then
fi
if [ $COMPONENT == "sdc" ]; then
- for keyspace in sdctitan sdcrepository sdcartifact sdccomponent sdcaudit; do
- kubectl -n $NAMESPACE exec dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra -e "drop keyspace ${keyspace}"
+ for keyspace in sdctitan sdcrepository sdcartifact sdccomponent sdcaudit workflow dox zusammen_dox zusammen_workflow ; do
+ kubectl -n $NAMESPACE exec dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra --request-timeout=30 -e "drop keyspace ${keyspace}"
done
fi
@@ -57,4 +57,4 @@ done
ARRAY=(`kubectl get services -n $NAMESPACE | grep -e ^$COMPONENT | awk '{print $1}'`)
for i in ${ARRAY[*]}; do
kubectl delete service -n $NAMESPACE $i
-done \ No newline at end of file
+done