kyma icon indicating copy to clipboard operation
kyma copied to clipboard

[Telemetry Operator] Support repeated keys in custom Fluent Bit plugins

Open a-thaler opened this issue 2 years ago • 0 comments

Description

Fluent Bit output or filter plugin configurations might expect repeated keys. For instance, the header attribute of the HTTP output plugin can be set multiple times.

The telemetry-operator stores a configuration section internally in a map. When using repeated keys in a configuration section, oder the last occurrence of a key would be effective.

Criteria

  • All occurrences of repeated configuration keys in custom plugin definitions need to be supported
  • Attributes which are not repeatable should fail validation when multiple entries are provided

a-thaler avatar Jul 22 '22 08:07 a-thaler