From 71910972158b62297a4ac56e54109de654f19784 Mon Sep 17 00:00:00 2001 From: sebdet Date: Thu, 22 Apr 2021 10:50:14 +0200 Subject: [POLICY] Add force to clamp-be db script Add a force flag so that clamp can be mounted even if the db already exists Issue-ID: POLICY-3161 Signed-off-by: sebdet Change-Id: I784c354378fbad3281b9adc55ff7aa0bc2ef3510 --- .../components/policy-clamp-be/resources/config/create-db-tables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes') diff --git a/kubernetes/policy/components/policy-clamp-be/resources/config/create-db-tables.sh b/kubernetes/policy/components/policy-clamp-be/resources/config/create-db-tables.sh index 329479fad2..ad9984c26c 100755 --- a/kubernetes/policy/components/policy-clamp-be/resources/config/create-db-tables.sh +++ b/kubernetes/policy/components/policy-clamp-be/resources/config/create-db-tables.sh @@ -16,4 +16,4 @@ # limitations under the License. */}} -mysql -h"${MYSQL_HOST}" -P"${MYSQL_PORT}" -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" policyclamp < /dbcmd-config/policy-clamp-create-tables.sql +mysql -h"${MYSQL_HOST}" -P"${MYSQL_PORT}" -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /dbcmd-config/policy-clamp-create-tables.sql -- cgit 1.2.3-korg