Hi friends! I've tried to use this feature: <https...
# fluent-operator
r
Hi friends! I've tried to use this feature: https://github.com/fluent/fluent-operator/pull/1081 Added same lua script to the cluster-filter as in example on the link and have following error in operator logs about almost all fluentbit resources:
Copy code
2024-06-17T11:40:31Z	ERROR	Reconciler error	{"controller": "fluentbit", "controllerGroup": "<http://fluentbit.fluent.io|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": "<http://fluentbit.fluent.io|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"}
l
Did you solve this issue? It seems like i have the same error-message with the quickstart-manifests
j
Me too, I am using some "script" lua code and some "inline" version
But now I know it is linked to this feature, I though it was a permission issue
Thanks @Roman Dymov for pointing out the issue, I guess you will have to open an issue as by reverting the usage of LUA inline code, it works.
r
@Leon R unfortunately no, I've used classic feature with adding lua scripts through ConfigMap. @Jc Dauchy thank you! thumb up from me to this github issue 😎
j
No pb, I noticed it dated from June so if we want it to be fixed, we a need to open an issue