-
Notifications
You must be signed in to change notification settings - Fork 301
Open
Description
Describe the issue
The field of the FluentBit ClusterFilter should be a String as FluentBit expect a String and not a MapString
https://docs.fluentbit.io/manual/pipeline/filters/modify
Similar FluentBit fields are using a String while other complex fiels are using a Map, as FluentBit expect for them
To Reproduce
Try to create a
Try to set a modify rule with using keyDoesNotExist as below
- modify:
conditions:
- keyDoesNotExist: mykey
It will fail because it expect a map<String,String>
Guess: Current accepted format should be similar to
- modify:
conditions:
- keyDoesNotExist:
- mykey: valuethatisnotrelevant
- anotherkey: withAnotherValueThatIsUseless
Expected behavior
Setting a modify rule with using keyDoesNotExist should accept below format instead:
- modify:
conditions:
- keyDoesNotExist: mykey
Your Environment
- Fluent Operator version: 3.4.0 and sooner (at least 3.0.0)
- Container Runtime: N/A
- Operating system: N/A
- Kernel version: N/A
How did you install fluent operator?
By using Helm chart template rendering and apply the produced yaml with ArgoCD.
Additional context
CRDs, code and Manual page should be adapted to support a single string instead of a map.
Metadata
Metadata
Assignees
Labels
No labels