fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
587 stars 250 forks source link

bug: incorrect fields in syslog input plugin parameters #1083

Closed lukasboettcher closed 8 months ago

lukasboettcher commented 8 months ago

Describe the issue

The fields Mode, Listen and BufferMaxSize are not set correctly by the operator.

To Reproduce

create a syslog input:

apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterInput
metadata:
  name: syslog
  labels:
    fluentbit.fluent.io/enabled: "true"
    fluentbit.fluent.io/component: logging
spec:
  syslog:
    mode: tcp
    port: 6659

check the generated config:

kubectl get secrets fluent-bit-config -o jsonpath='{.data.fluent-bit\.conf}' | base64 -d

Expected behavior

The fields Mode, Listen and BufferMaxSize should be present in the config.

Your Environment

- Fluent Operator version: latest
- Container Runtime: v1.7.13
- Operating system: Arch
- Kernel version: 6.7.8

How did you install fluent operator?

No response

Additional context

No response