From f1b8aa65e9c1944558ed55ed1a2aed4fa007b876 Mon Sep 17 00:00:00 2001 From: Guillermo Facundo Colunga <guillermo.facundo.colunga@cern.ch> Date: Tue, 21 Jan 2025 14:49:17 +0100 Subject: [PATCH] [MONIT-4106] values/metrics/fluentbit: add default luaScripts value In commit c6c3db2 we added support for lua scripts provided via user values. This commit adds a default value and documents this in the values file. Reported-at: https://its.cern.ch/jira/browse/MONIT-4106 Signed-off-by: Guillermo Facundo Colunga <guillermo.facundo.colunga@gmail.com> Signed-off-by: Guillermo Facundo Colunga <guillermo.facundo.colunga@cern.ch> --- values.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/values.yaml b/values.yaml index 7f412d5..4b28a1d 100644 --- a/values.yaml +++ b/values.yaml @@ -382,3 +382,14 @@ logs: extraVolumes: [] ## -- extra volumes to mount in the fluentbits, can be used to scrape metrics from pvcs extraVolumeMounts: [] + + # These scripts are available in the fluentbit /fluent-bit/etc/scripts path. + # Include your lua scripts in the following format: + # luaScripts: + # my_lua_script.lua: | + # function my_function(tag, timestamp, record) + # // Do something... + # return 2, timestamp, record + # end + # my_other_lua_script.lua: ... + luaScripts: {} -- GitLab