commit | 71910972158b62297a4ac56e54109de654f19784 | [log] [tgz] |
---|---|---|
author | sebdet <sebastien.determe@intl.att.com> | Thu Apr 22 10:50:14 2021 +0200 |
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | Thu May 06 06:33:16 2021 +0000 |
tree | 4679f1d4e1e5eb184cfc95c1daa5ad111b0856b5 | |
parent | f6465e1e1386cd090ab9a125683304e57f373c19 [diff] [blame] |
[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 <sebastien.determe@intl.att.com> Change-Id: I784c354378fbad3281b9adc55ff7aa0bc2ef3510
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 329479f..ad9984c 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