aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common/templates/_pod.tpl
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-02-16 14:51:09 +0000
committerGerrit Code Review <gerrit@onap.org>2024-02-16 14:51:09 +0000
commit2140c3d6108068336e5b1c983457b53db2c352f2 (patch)
tree6ea031691f318795c2152ea08e9df472e4e070b5 /kubernetes/common/common/templates/_pod.tpl
parent723038ed1a0d58dade5c3da643c92f1ff0063005 (diff)
parentb02ca62bfca08104683f0ff0781fc759158952b9 (diff)
Merge "[DCAEGEN2] Update snmptrap-collector image"
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 -}}