Skip to content

bug: ElasticSearch output TLS config not reflect to fluent-bit.config #1452

Open
@idemirel

Description

@idemirel

Describe the issue

when i add TLS params to fluentbit/output/es config , it doesn't produce fluentbit config,

To Reproduce

  output:
    es:
      bufferSize: 25MB
      enable: true
      host: elastic-es-default.elastic-system.svc.cluster.local
      logstashPrefix: ks-logstash-log
      port: 9200
      traceError: true
      generateID: true
      httpPassword:
        valueFrom:
          secretKeyRef:
            key: password
            name: elastic-credentials
      httpUser:
        valueFrom:
          secretKeyRef:
            key: username
            name: elastic-credentials
      logstashFormat: true
      matchRegex: (?:kube|service)\.(.*)
      replaceDots: false
      suppressTypeName: 'on'
      timeKey: '@timestamp'
      tls:  <--- # this option not reflect to main config.
        debug: 4
        verify: false
      writeOperation: create

Expected behavior

The following params should appear in the secret fluent-bit-config (fluent-bit.conf)

[Output]
    Name    es
    Match_Regex    (?:kube|service)\.(.*)
    Host    elastic-es-default.elastic-system.svc.cluster.local
    Port    9200
    Buffer_Size    20MB
   .
   . 
   .
    Tls.Verify off  <---# that is not exist
    Tls  on  <---# that is not exist
    Suppress_Type_Name on

Your Environment

- Fluent Operator version: 3.2.0
- Container Runtime: containerd
- Operating system: Debian GNU/Linux 12 - Kubernetes 1.31.3
- Kernel version: 6.1.0-27-amd64

How did you install fluent operator?

adding apps helm chart using rancher

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions