From 1db773e68e50f333369ccde727166805bce2b795 Mon Sep 17 00:00:00 2001 From: Mandeep Khinda Date: Thu, 5 Apr 2018 18:26:07 +0000 Subject: Removing portal schema from configmap -Trying a new way to initialize maria db's. -Docker image contains project sources and sql files are fetched and executed agains't the target database. -duplicates are silently ignored. -A script that takes some basic params will do the heavy lifting -A 2nd job to make some OOM specific changes (carry over from amsterdam) -docker image has been pushed to oomk8s under the 2.0.0 number Issue-ID: OOM-858 Change-Id: I56d0c9c5aa1d3c4a9df2998634b9147db626d1fb Signed-off-by: Mandeep Khinda --- kubernetes/portal/charts/portal-mariadb/values.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'kubernetes/portal/charts/portal-mariadb/values.yaml') diff --git a/kubernetes/portal/charts/portal-mariadb/values.yaml b/kubernetes/portal/charts/portal-mariadb/values.yaml index 629ec86c7f..54267fe2e8 100644 --- a/kubernetes/portal/charts/portal-mariadb/values.yaml +++ b/kubernetes/portal/charts/portal-mariadb/values.yaml @@ -23,12 +23,19 @@ global: # global defaults # application image repository: nexus3.onap.org:10001 -image: onap/portal-db:latest +image: onap/portal-db:2.1-STAGING-latest pullPolicy: Always +#mariadbInitImage: oomk8s/flyway:1.0 +dockerhubRepository: registry.hub.docker.com +mariadbInitImage: oomk8s/mariadb-client-init:2.0.0 + # application configuration config: + mariadbUser: root mariadbRootPassword: Aa123456 + #The directory where sql files are found in the projects gerrit repo. + sqlSourceDirectory: portal/deliveries # default number of instances -- cgit 1.2.3-korg