summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/resources/config/db.sh
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-01-13 11:35:56 +0100
committerS�bastien Determe <sebastien.determe@intl.att.com>2021-02-11 08:58:38 +0000
commit5c4498813e10d25160a86f97fe7a95ea26f9ef7b (patch)
treee336a310e4d20c5c305e86f3812e77fdf59d2676 /kubernetes/policy/resources/config/db.sh
parentf26d9eff22180b8232f2965d347226e2a4999cd3 (diff)
[POLICY] Migration of clamp to policy area
Creation of the clamp subcharts + fusion of the clamp database to policy mariadb Issue-ID: POLICY-2951 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8192f82bc393e3fc8d5884d6ab73912a0466edcd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'kubernetes/policy/resources/config/db.sh')
-rwxr-xr-xkubernetes/policy/resources/config/db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/policy/resources/config/db.sh b/kubernetes/policy/resources/config/db.sh
index 0d7ce07c9b..90c987984f 100755
--- a/kubernetes/policy/resources/config/db.sh
+++ b/kubernetes/policy/resources/config/db.sh
@@ -18,7 +18,7 @@
mysql() { /usr/bin/mysql -h ${MYSQL_HOST} -P ${MYSQL_USER} "$@"; };
-for db in support onap_sdk log migration operationshistory10 pooling policyadmin operationshistory
+for db in support onap_sdk log migration operationshistory10 pooling policyadmin policyclamp operationshistory
do
mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};"
mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;"