aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/resources/config/bin/installSdncDb.sh
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-04-17 12:21:27 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-17 12:21:27 +0000
commit66dfea6665106cc179078a7ad52e5031637ab341 (patch)
treea729936c7a52164ae74137e98aab69198c9bd49b /kubernetes/sdnc/resources/config/bin/installSdncDb.sh
parent98831ae1f69c25e9b598a7245c13ce2b545dee75 (diff)
parentb76cb2810fc083b6151652083a416989680f17e7 (diff)
Merge "SDNC using shared mariadb-galera cluster"
Diffstat (limited to 'kubernetes/sdnc/resources/config/bin/installSdncDb.sh')
-rw-r--r--kubernetes/sdnc/resources/config/bin/installSdncDb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/sdnc/resources/config/bin/installSdncDb.sh b/kubernetes/sdnc/resources/config/bin/installSdncDb.sh
index ab0bc35880..2a733de7d5 100644
--- a/kubernetes/sdnc/resources/config/bin/installSdncDb.sh
+++ b/kubernetes/sdnc/resources/config/bin/installSdncDb.sh
@@ -22,7 +22,7 @@
###
SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
-MYSQL_HOST=${MYSQL_HOST:-{{.Release.Name}}-{{.Values.mysql.nameOverride}}-0.{{.Values.mysql.service.name}}.{{.Release.Namespace}}}
+MYSQL_HOST=${MYSQL_HOST:-{{.Values.config.mariadbGalera.serviceName}}.{{.Release.Namespace}}}
MYSQL_PASSWD=${MYSQL_PASSWD:-{{.Values.config.dbRootPassword}}}
SDNC_DB_USER=${SDNC_DB_USER:-sdnctl}
@@ -55,4 +55,4 @@ done
${SDNC_HOME}/bin/addVnis.sh 100 199
# Drop FK_NETWORK_MODEL foreign key as workaround for SDNC-291.
-${SDNC_HOME}/bin/rmForeignKey.sh NETWORK_MODEL FK_NETWORK_MODEL \ No newline at end of file
+${SDNC_HOME}/bin/rmForeignKey.sh NETWORK_MODEL FK_NETWORK_MODEL