summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/mariadb/resources/config/db.sh
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2019-04-15 14:50:32 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-15 14:50:32 +0000
commit53196542d0131ab77a9e29023b1b51fb68d90b0e (patch)
tree214be8c9804542bfe29b443a223ad2c3c1d67ac2 /kubernetes/policy/charts/mariadb/resources/config/db.sh
parentb34d0e540e38d887bb07444e2640ac9234ea7052 (diff)
parent6acdabf126d24f2f01a360e8e4ff1837ac264b09 (diff)
Merge "Adding configurations & fixing policy/pap charts"
Diffstat (limited to 'kubernetes/policy/charts/mariadb/resources/config/db.sh')
-rw-r--r--kubernetes/policy/charts/mariadb/resources/config/db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/policy/charts/mariadb/resources/config/db.sh b/kubernetes/policy/charts/mariadb/resources/config/db.sh
index 3f94223d33..a5eb7f55c2 100644
--- a/kubernetes/policy/charts/mariadb/resources/config/db.sh
+++ b/kubernetes/policy/charts/mariadb/resources/config/db.sh
@@ -15,7 +15,7 @@
#!/bin/bash -xv
-for db in support onap_sdk log migration operationshistory10 pooling
+for db in support onap_sdk log migration operationshistory10 pooling policyadmin 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}'@'%' ;"