From ce8a39cd431e251d3effedbca07063fe25ce45c1 Mon Sep 17 00:00:00 2001 From: AndrewLamb Date: Thu, 14 Jul 2022 12:51:55 +0100 Subject: [VFC] Service Mesh Compatibility Adding basic requirements for Service Mesh compatibility for VFC Issue-ID: OOM-2991 Change-Id: I2c5d83772a13d9657858ae959c5ed336eccea89e Signed-off-by: AndrewLamb --- kubernetes/vfc/components/vfc-nslcm/templates/service.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes/vfc/components/vfc-nslcm/templates/service.yaml') diff --git a/kubernetes/vfc/components/vfc-nslcm/templates/service.yaml b/kubernetes/vfc/components/vfc-nslcm/templates/service.yaml index f46530ded9..4ca1cb891c 100644 --- a/kubernetes/vfc/components/vfc-nslcm/templates/service.yaml +++ b/kubernetes/vfc/components/vfc-nslcm/templates/service.yaml @@ -52,11 +52,11 @@ spec: - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} - name: {{ .Values.service.portName }} + name: {{ .Values.service.portName }}{{ if (include "common.needTLS" .) }}s{{ end }} {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} - name: {{ .Values.service.portName }} + name: {{ .Values.service.portName }}{{ if (include "common.needTLS" .) }}s{{ end }} {{- end}} selector: app: {{ include "common.name" . }} -- cgit 1.2.3-korg