Rename port to match Istio naming conventions

Istio requires the service port to be named like `<protocol>[-<suffix>]`.
If possible, it would be good to rename it here to match this requirement.
This commit is contained in:
Martin Mauch
2021-01-27 00:24:19 +01:00
committed by GitHub
parent 38715871da
commit 829c10f509
+1 -1
View File
@@ -32,7 +32,7 @@ spec:
ports:
- port: {{ .Values.service.port }}
protocol: TCP
name: {{ .Values.service.name }}
name: http-{{ .Values.service.name }}
targetPort: 5000
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}