fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
587 stars 250 forks source link

fluent-bit LUA "inline code" feature does not work #1287

Closed jcdauchy-moodys closed 3 months ago

jcdauchy-moodys commented 3 months ago

Describe the issue

This feature does not seem to work, when we activate the example provided here: https://github.com/fluent/fluent-operator/pull/1081

We are getting this type of message in Fluent-operator:

2024-06-17T11:40:31Z ERROR Reconciler error {"controller": "fluentbit", "controllerGroup": "fluentbit.fluent.io", "controllerKind": "FluentBit", "FluentBit": {"name":"fluent-bit-config"}, "namespace": "", "name": "fluent-bit-config", "reconcileID": "75c5aa8d-db62-4222-99fd-9836f72dc079", "error": "ConfigMap \"\" not found"} 2024-06-17T11:37:48Z ERROR Reconciler error {"controller": "fluentbit", "controllerGroup": "fluentbit.fluent.io", "controllerKind": "FluentBit", "FluentBit": {"name":"fluent-bit","namespace":"k8s-logging"}, "namespace": "k8s-logging", "name": "fluent-bit", "reconcileID": "c4d9be7f-800b-468b-b133-6154ced28618", "error": "ConfigMap \"\" not found"}

To Reproduce

Use the example provided here:

https://github.com/fluent/fluent-operator/pull/1081

Expected behavior

It should work with code and script LUA feature.

Your Environment

- Fluent Operator version: 3.0.0 and before
- Container Runtime: containerd
- Operating system: Linux
- Kernel version:

How did you install fluent operator?

No response

Additional context

No response