X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fpolicy%2Fcharts%2Fmariadb%2Ftemplates%2Fservice.yaml;fp=kubernetes%2Fpolicy%2Fcharts%2Fmariadb%2Ftemplates%2Fservice.yaml;h=9d5d13ab043340df269c61d5b4b707a14db5a5c3;hb=59ce22ddfd867629eed557a32e9e8b880a4725a9;hp=7660ef7580817bb82d46882b6bfb39dc2a70fcd4;hpb=c26a0d4c85f60e185141dbb86bae631406d34036;p=oom.git diff --git a/kubernetes/policy/charts/mariadb/templates/service.yaml b/kubernetes/policy/charts/mariadb/templates/service.yaml index 7660ef7580..9d5d13ab04 100644 --- a/kubernetes/policy/charts/mariadb/templates/service.yaml +++ b/kubernetes/policy/charts/mariadb/templates/service.yaml @@ -1,5 +1,5 @@ # Copyright © 2017 Amdocs, Bell Canada -# Modifications Copyright © 2018 AT&T +# Modifications Copyright © 2018-2019 AT&T # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -25,9 +25,9 @@ metadata: heritage: {{ .Release.Service }} spec: ports: - - port: {{ .Values.service.internalPort }} + - port: {{ .Values.service.externalPort }} + targetPort: {{ .Values.service.internalPort }} name: {{ .Values.service.portName }} selector: app: {{ include "common.name" . }} release: {{ .Release.Name }} - clusterIP: None