Skip to content

Commit 7582c38

Browse files
authored
Fix ClusterFluentBitConfig rendering in helm chart when using yaml configFileFormat (#1573)
* Fix ClusterFluentBitConfig rendering in helm chart when using yaml configFileFormat Signed-off-by: Truong Nguyen <truong.nguyen_1@philips.com> * Include parsers_multiline.conf in parsers.conf Signed-off-by: Truong Nguyen <truong.nguyen_1@philips.com> --------- Signed-off-by: Truong Nguyen <truong.nguyen_1@philips.com>
1 parent 1a75fb9 commit 7582c38

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

charts/fluent-operator/templates/fluentbitconfig-fluentBitConfig.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ spec:
1212
{{- end }}
1313
configFileFormat: {{ .Values.fluentbit.configFileFormat | default "classic" | quote }}
1414
service:
15-
parsersFiles:
16-
- /fluent-bit/etc/parsers.conf
17-
- /fluent-bit/config/parsers_multiline.conf
15+
parsersFile: /fluent-bit/etc/parsers.conf
1816
httpServer: true
1917
{{- with .Values.fluentbit.logLevel }}
2018
logLevel: {{ . | quote }}

conf/parsers.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@INCLUDE /fluent-bit/config/parsers.conf
2+
@INCLUDE /fluent-bit/config/parsers_multiline.conf
23

34
[PARSER]
45
Name apache

0 commit comments

Comments
 (0)