From 8a6baeb8d6b9671b03ff5e048e4bc5a28c74a5ff Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Thu, 9 Nov 2023 13:40:36 -0500 Subject: [PATCH] port names --- k8s/apps/videohosting/templates/sts-linuxservices.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/k8s/apps/videohosting/templates/sts-linuxservices.yaml b/k8s/apps/videohosting/templates/sts-linuxservices.yaml index 8f05fc5..7dbb41a 100644 --- a/k8s/apps/videohosting/templates/sts-linuxservices.yaml +++ b/k8s/apps/videohosting/templates/sts-linuxservices.yaml @@ -91,11 +91,13 @@ spec: {{ range $portName, $portValue := $v.ports.tcp }} - containerPort: {{ $portValue }} protocol: TCP + name: {{$portName}} {{ end }} {{- if $v.ports.udp -}} {{ range $portName, $portValue := $v.ports.udp }} - containerPort: {{ $portValue }} protocol: UDP + name: {{$portName}} {{ end }} {{ end }} volumeMounts: