port names

This commit is contained in:
Ariel Sosnovsky committed 2023-11-09 13:40:36 -05:00
1 parent 5a8fd84e9c
commit 8a6baeb8d6
1 file changed
+2
@@ -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: