aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common/templates/_pod.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/common/templates/_pod.tpl')
-rw-r--r--kubernetes/common/common/templates/_pod.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/common/common/templates/_pod.tpl b/kubernetes/common/common/templates/_pod.tpl
index b38a7f1105..810350bfa6 100644
--- a/kubernetes/common/common/templates/_pod.tpl
+++ b/kubernetes/common/common/templates/_pod.tpl
@@ -45,6 +45,9 @@
- containerPort: {{ default $port.plain_port $port.internal_plain_port }}
name: {{ $port.name }}-plain
{{- end }}
+{{- if $port.l4_protocol }}
+ protocol: {{ $port.l4_protocol }}
+{{- end }}
{{- end }}
{{- end -}}