From 3b24410353f7d8f193785e6288a0fe5b206b6c8e Mon Sep 17 00:00:00 2001 From: roman huesler Date: Fri, 19 Apr 2024 13:04:25 +0200 Subject: [PATCH] feat(fluentd): ability to specify nodeport manually Signed-off-by: Roman Huesler --- charts/fluentd/templates/service.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/fluentd/templates/service.yaml b/charts/fluentd/templates/service.yaml index 6cf58e6c..b794cce8 100644 --- a/charts/fluentd/templates/service.yaml +++ b/charts/fluentd/templates/service.yaml @@ -28,6 +28,9 @@ spec: port: {{ $port.containerPort }} targetPort: {{ $port.containerPort }} protocol: {{ $port.protocol }} + {{- if $port.nodePort }} + nodePort: {{ $port.nodePort }} + {{- end }} {{- end }} {{- end }} selector: