-
Notifications
You must be signed in to change notification settings - Fork 310
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Describe the issue
In the Transport.Params() function (around line 270-273), the following parameters use camelCase instead of snake_case:
if t.ClientCertAuth != nil {
ps.InsertPairs("client_certAuth", fmt.Sprint(*t.ClientCertAuth))
}According to Fluentd documentation, these should be:
client_cert_auth(notclient_certAuth)
This causes TLS mutual authentication to fail because Fluentd doesn't recognize the incorrectly named parameters.
To Reproduce
- Create a Fluentd configuration using the fluent-operator with Transport plugin
- Set
ClientCertAuth: truein the Transport configuration - Deploy the configuration
- Observe that Fluentd doesn't recognize the
client_certAuthparameter - Check Fluentd logs - the TLS mutual authentication setting is ignored
Expected behavior
The Transport plugin should generate Fluentd configuration parameters using snake_case naming convention as specified in the official Fluentd documentation:
client_cert_authfor TLS mutual authentication
Your Environment
- Fluent Operator version:v3.5.0
- Container Runtime:
- Operating system:
- Kernel version:How did you install fluent operator?
No response
Additional context
Proposed Fix:
if t.ClientCertAuth != nil {
ps.InsertPairs("client_cert_auth", fmt.Sprint(*t.ClientCertAuth))
}Reference:
- Fluentd official documentation: https://docs.fluentd.org/input/http#how-to-enable-tls-mutual-authentication
- All Fluentd configuration parameters use snake_case convention
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers