Skip to content

Commit b6785c6

Browse files
promasucw-Guo
authored andcommitted
helm: Allow ports configuration for fluent-bit via operator
Signed-off-by: promasu <[email protected]>
1 parent 8199a02 commit b6785c6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

charts/fluent-operator/templates/fluentbit-fluentBit.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ spec:
5454
nodeSelector:
5555
{{- toYaml . | nindent 4 }}
5656
{{- end }}
57+
{{- with .Values.fluentbit.ports }}
58+
ports:
59+
{{- toYaml . | nindent 4 }}
60+
{{- end }}
5761
{{- with .Values.fluentbit.priorityClassName }}
5862
priorityClassName: {{ . | quote }}
5963
{{- end }}

charts/fluent-operator/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ fluentbit:
165165
secrets: []
166166
# fluent-bit daemonset use host network
167167
hostNetwork: false
168+
# fluent-bit ports configuration
169+
ports: []
170+
# - containerPort: 514
171+
# name: syslog-tcp
172+
# protocol: TCP
168173
# Pod security context for Fluent Bit pods. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
169174
podSecurityContext: {}
170175
# Security context for Fluent Bit container. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

0 commit comments

Comments
 (0)