Fluent-bit: Unable to apply extraFiles configuration
Hi,
I'm trying to use extraFiles variable to generate different configuration files for fluentbit. However, I am not able to load these files into fluentbit.
I think there is a bug in the ConfigMap https://github.com/fluent/helm-charts/blob/main/charts/fluent-bit/templates/configmap.yaml, because , from my point of view, I would expect some code to add the sentence @INCLUDE as it is mentioned in https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file#config_include_file-1 but I haven't found it anywhere in the chart
Is there any other possibility to use extraFiles that I didn't come up to?
Thank you
Hello,
are there any updates on this issue? We want to include config files, but that's not possible with the helm chart.
Thanks!
I think the issue is it uses config.extraFiles in the template but the values file does not make this clear.
The following works fine for me to specify YAML config format files for example:
config:
extraFiles:
fluent-bit.yaml: |
service:
log_level: debug
pipeline:
inputs:
- name: dummy
tag: dummy
outputs:
- name: stdout
match: "*"
args:
- --workdir=/fluent-bit/etc
- --config=/fluent-bit/etc/conf/fluent-bit.yaml
extraFiles seems broken: the files are not mounted in the container.
@croneter please indicate how as it works fine for me using the correct config.extraFiles and not just extraFiles.