diff options
author | ramverma <ram.krishna.verma@est.tech> | 2019-04-12 18:56:03 +0000 |
---|---|---|
committer | ramverma <ram.krishna.verma@est.tech> | 2019-04-12 18:56:03 +0000 |
commit | 6acdabf126d24f2f01a360e8e4ff1837ac264b09 (patch) | |
tree | f00c20701e0bc75541968197baf64841706707c2 /kubernetes/policy/charts/mariadb/resources/config/db.sh | |
parent | 44bb1331811826ab4ac256a8c60b9333e68bd2da (diff) |
Adding configurations & fixing policy/pap charts
1) Adding db configurations.
2) Adding dmaap topic configurations.
3) Adding "policyadmin" db.
4) Updating policy/pap charts.
5) Adding "operationshistory" db.
Change-Id: I50b67255cfc1d636d0f370d6c93628a30d6dac26
Issue-ID: POLICY-1640
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Diffstat (limited to 'kubernetes/policy/charts/mariadb/resources/config/db.sh')
-rw-r--r-- | kubernetes/policy/charts/mariadb/resources/config/db.sh | 2 |
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}'@'%' ;" |