summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-clamp-be/resources/config/create-db-tables.sh
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-04-22 10:50:14 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-05-06 06:33:16 +0000
commit71910972158b62297a4ac56e54109de654f19784 (patch)
tree4679f1d4e1e5eb184cfc95c1daa5ad111b0856b5 /kubernetes/policy/components/policy-clamp-be/resources/config/create-db-tables.sh
parentf6465e1e1386cd090ab9a125683304e57f373c19 (diff)
[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
Diffstat (limited to 'kubernetes/policy/components/policy-clamp-be/resources/config/create-db-tables.sh')
-rwxr-xr-xkubernetes/policy/components/policy-clamp-be/resources/config/create-db-tables.sh2
1 files changed, 1 insertions, 1 deletions
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