diff options
author | andreasgeissler <andreas-geissler@telekom.de> | 2020-03-13 15:13:35 +0100 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2020-03-25 15:38:57 +0000 |
commit | ef0371c50a1d1006f580f0392eeb42ce54f82446 (patch) | |
tree | 907e36614bd59efd37786341f48b3b52ec45ffdf /deployment/heat/onap-rke/scripts | |
parent | d688c4c4e37526e276690b5b51d1044b7e220aff (diff) |
corrected the hardcoded DB pod-names
Issue-ID: INT-1484
Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: I7f1670a79db751087f722a1196e2de23448f7a2a
Diffstat (limited to 'deployment/heat/onap-rke/scripts')
-rwxr-xr-x | deployment/heat/onap-rke/scripts/cleanup.sh | 6 |
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 b65c8097c..3a6644b69 100755 --- a/deployment/heat/onap-rke/scripts/cleanup.sh +++ b/deployment/heat/onap-rke/scripts/cleanup.sh @@ -31,19 +31,19 @@ fi if [ $COMPONENT == "sdc" ]; then 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}" + kubectl -n $NAMESPACE exec $DEPLOYMENT-cassandra-0 -- cqlsh -u cassandra -p cassandra --request-timeout=30 -e "drop keyspace ${keyspace}" done fi if [ $COMPONENT == "so" ]; then for database in camundabpmn catalogdb requestdb; do - kubectl -n $NAMESPACE exec dev-mariadb-galera-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}" + kubectl -n $NAMESPACE exec $DEPLOYMENT-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}" done fi if [ $COMPONENT == "sdnc" ]; then for database in sdnctl; do - kubectl -n $NAMESPACE exec dev-mariadb-galera-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}" + kubectl -n $NAMESPACE exec $DEPLOYMENT-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}" done fi |