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: