[MONIT-4106] Add Support for User-Provided Lua Scripts in Fluent Bit Helm Chart

Description

This merge request introduces support for user-provided Lua scripts in the Fluent Bit Helm chart. The enhancement allows users to define custom Lua scripts via Helm chart values, simplifying the configuration and extending the customization capabilities of Fluent Bit for logs and metrics.

Motivation

While replicating the OpenShift logging setup, we identified the need for Lua script support in our Helm chart. The current implementation required adding secrets one by one, which was cumbersome and error-prone. By enabling Lua scripts to be defined in the Helm chart values, we align with best practices and simplify the setup process for users. This feature mirrors the behavior of the Fluent Bit official Helm chart and improves the usability of our solution.

Commits

  • 6056aee5: [MONIT-4106] fluentbit/logs: Add support for user-provided Lua scripts
  • b24b0d7e: [MONIT-4106] values/logs/fluentbit: Add default LuaScripts value
  • c6c3db28: [MONIT-4106] fluentbit/metrics: Add support for user-provided Lua scripts
  • 283d6fa3: [MONIT-4106] values/metrics/fluentbit: Add default LuaScripts value
  • f9c08b91: [MONIT-4106] docs/logs/fluentbit: Add user-provided Lua scripts documentation
  • 72463f9c: [MONIT-4106] docs/metrics/fluentbit: Add user-provided Lua scripts documentation

Related Jira Tickets

  • MONIT-4106: Enable user-provided Lua scripts in Fluent Bit Helm chart.
Edited by Guillermo Facundo Colunga

Merge request reports

Loading