diff options
author | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2018-04-06 03:03:24 +0000 |
---|---|---|
committer | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2018-04-06 03:03:24 +0000 |
commit | 454e2fd0872dfe433e3edacdf69fde523b32c5a0 (patch) | |
tree | d1573cac855e889528b8d03d9e60895213524a5f /kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties | |
parent | 1db773e68e50f333369ccde727166805bce2b795 (diff) |
Correcting portal k8s configmap service names
The service.name is really a port name and was being used wrong.
Need a better way than this to get dependant chart names.
This gets it working.
Issue-ID: OOM-842
Change-Id: I6a78a5adb0e69524a90aa3386009a0d87ebed73c
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties')
-rwxr-xr-x | kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties b/kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties index a11ffa04d2..765ba02b57 100755 --- a/kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties +++ b/kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties @@ -1,6 +1,6 @@ #mysql db.driver = org.mariadb.jdbc.Driver -db.connectionURL = jdbc:mariadb:failover://{{.Values.mariadb.service.name}}.{{.Release.Namespace}}:3306/portal +db.connectionURL = jdbc:mariadb:failover://{{.Release.Name}}-{{.Values.mariadb.chart.name}}.{{.Release.Namespace}}:3306/portal db.userName =root db.password =Aa123456 db.hib.dialect = org.hibernate.dialect.MySQLDialect @@ -82,7 +82,7 @@ notification_update_duration = 900 #Microservices Related Properties for Portal microservices.widget.protocol = http -microservices.widget.hostname = {{.Values.widget.service.name}}.{{.Release.Namespace}} +microservices.widget.hostname = {{.Release.Name}}-{{.Values.widget.chart.name}}.{{.Release.Namespace}} microservices.widget.username = widget_user microservices.widget.password = M+KcrCMVrR1rAxtiFE49n1uXC3FCkNBqFgeYsubEC/U= #This property won't be needed after consul is functional on VMs - |