summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/charts/msb-eag
diff options
context:
space:
mode:
authorHuabing Zhao <zhaohuabing@gmail.com>2018-07-30 07:35:08 +0000
committerHuabing Zhao <zhaohuabing@gmail.com>2018-07-30 07:36:28 +0000
commitd0379b11e1fb3f1734b8f0e119d780dec50e7718 (patch)
treeaee91aba2e986d10b39f4c28f0272f1816302a8c /kubernetes/msb/charts/msb-eag
parent81b8976007acce829ac5d4419319c35d4dbdadf1 (diff)
Add protocol prefix to port names
Protocol prefix needs to be added to prot name in order to leverage the Istio features. Issue-ID: MSB-226 Change-Id: I670d6abbb2321b25aa30166b7d5415acaaf3e971 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Diffstat (limited to 'kubernetes/msb/charts/msb-eag')
-rw-r--r--kubernetes/msb/charts/msb-eag/templates/service.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/msb/charts/msb-eag/templates/service.yaml b/kubernetes/msb/charts/msb-eag/templates/service.yaml
index 3e4a786cb8..5c7d83049b 100644
--- a/kubernetes/msb/charts/msb-eag/templates/service.yaml
+++ b/kubernetes/msb/charts/msb-eag/templates/service.yaml
@@ -15,17 +15,17 @@ spec:
{{if eq .Values.service.type "NodePort" -}}
- port: {{ .Values.service.externalPort }}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
- name: {{ .Values.service.name }}
+ name: http-{{ .Values.service.name }}
- port: {{ .Values.service.externalPortHttps }}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePortHttps }}
- name: {{ .Values.service.name }}-https
+ name: https-{{ .Values.service.name }}
{{- else -}}
- port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}
- name: {{ .Values.service.name }}
+ name: http-{{ .Values.service.name }}
- port: {{ .Values.service.externalPortHttps }}
targetPort: {{ .Values.service.internalPortHttps }}
- name: {{ .Values.service.name }}-https
+ name: https-{{ .Values.service.name }}
{{- end}}
selector:
app: {{ include "common.name" . }}