X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Finfrastructure%2Fsubcharts%2Fkong%2Fcharts%2Fpostgresql%2Ftemplates%2Fsvc-read.yaml;h=d9492e2ff3ebdd91726c12fec14ea3dec261584f;hb=7a43fbd4642448783aaf708d07ca883bf9bc5afd;hp=6b2de778ab0bbf12fd8c1c17b5302e2adec25fb0;hpb=282e7af25ec053ae6d1c5a399c91c2c323f705cd;p=ric-plt%2Fric-dep.git diff --git a/helm/infrastructure/subcharts/kong/charts/postgresql/templates/svc-read.yaml b/helm/infrastructure/subcharts/kong/charts/postgresql/templates/svc-read.yaml index 6b2de77..d9492e2 100755 --- a/helm/infrastructure/subcharts/kong/charts/postgresql/templates/svc-read.yaml +++ b/helm/infrastructure/subcharts/kong/charts/postgresql/templates/svc-read.yaml @@ -18,12 +18,12 @@ spec: loadBalancerIP: {{ .Values.service.loadBalancerIP }} {{- end }} ports: - - name: postgresql - port: {{ .Values.service.port }} - targetPort: postgresql - {{- if .Values.service.nodePort }} - nodePort: {{ .Values.service.nodePort }} - {{- end }} + - name: tcp-postgresql + port: {{ template "postgresql.port" . }} + targetPort: tcp-postgresql + {{- if .Values.service.nodePort }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} selector: app: {{ template "postgresql.name" . }} release: {{ .Release.Name | quote }}