port names
This commit is contained in:
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:
|
||||
|
||||
Reference in new issue
Block a user