Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
[DCAEGEN2] Update snmptrap-collector image
[oom.git]
/
kubernetes
/
common
/
common
/
templates
/
_pod.tpl
diff --git
a/kubernetes/common/common/templates/_pod.tpl
b/kubernetes/common/common/templates/_pod.tpl
index
b38a7f1
..
810350b
100644
(file)
--- 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 -}}