summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-wfd-be/templates/service.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-12-17 18:57:12 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-17 18:57:12 +0000
commit4a18669124ad341e06ffec59711a477d7223c873 (patch)
treed5a9a171e72a50b2971db9e479f31936c5e332b4 /kubernetes/sdc/charts/sdc-wfd-be/templates/service.yaml
parent448a16ef7f4816620fb45e842a664c6e6dc65c52 (diff)
parentc80bff934c950c2ad75fe06b0abcc91502f57fdf (diff)
Merge "Secure FE communications to the workflow backend"
Diffstat (limited to 'kubernetes/sdc/charts/sdc-wfd-be/templates/service.yaml')
-rw-r--r--kubernetes/sdc/charts/sdc-wfd-be/templates/service.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/kubernetes/sdc/charts/sdc-wfd-be/templates/service.yaml b/kubernetes/sdc/charts/sdc-wfd-be/templates/service.yaml
index 14a937fe00..fee95ba42e 100644
--- a/kubernetes/sdc/charts/sdc-wfd-be/templates/service.yaml
+++ b/kubernetes/sdc/charts/sdc-wfd-be/templates/service.yaml
@@ -28,13 +28,13 @@ spec:
type: {{ .Values.service.type }}
ports:
{{if eq .Values.service.type "NodePort" -}}
- - port: {{ .Values.service.internalPort }}
+ - port: {{ template "wfd-be.internalPort" . }}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
- name: {{ .Values.service.portName | default "http" }}
+ name: {{ .Values.service.portName }}
{{- else -}}
- - port: {{ .Values.service.externalPort }}
- targetPort: {{ .Values.service.internalPort }}
- name: {{ .Values.service.portName | default "http" }}
+ - port: {{ if .Values.config.serverSslEnabled }}{{ .Values.service.externalPort2 }}{{ else }}{{ .Values.service.externalPort }}{{ end }}
+ targetPort: {{ template "wfd-be.internalPort" . }}
+ name: {{ .Values.service.portName }}
{{- end}}
selector:
app: {{ include "common.name" . }}