Skip to content

feat: adjust fluentbit service helm value to allow specifying all possible service fields#2010

Merged
joshuabaird merged 1 commit into
fluent:masterfrom
eatmyrust:master
Jul 8, 2026
Merged

feat: adjust fluentbit service helm value to allow specifying all possible service fields#2010
joshuabaird merged 1 commit into
fluent:masterfrom
eatmyrust:master

Conversation

@eatmyrust

Copy link
Copy Markdown
Contributor

…ossible service fields

What this PR does / why we need it:

Allows users of the helm chart to specify any possible fluentbit service configuration, rather than only the fields that the chart explicitly exposes through values. This will reduce future maintenance of the helm chart by not requiring chart maintainers to add every possible service configuration value into the helm chart.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduced a user-facing change?


Additional documentation, usage docs, etc.:


Copilot AI review requested due to automatic review settings July 8, 2026 01:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the charts/fluent-operator Helm chart to make Fluent Bit service configuration more flexible by passing through user-provided fluentbit.service values into the rendered ClusterFluentBitConfig resources.

Changes:

  • Switch Fluent Bit config templates to render .Values.fluentbit.service via toYaml, enabling arbitrary service fields to be specified through values.
  • Adjust values.yaml to avoid a non-empty default service map (by removing the default storage: {}) that would otherwise render unintended defaults.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
charts/fluent-operator/values.yaml Removes default service.storage: {} and updates the commented example for service storage config.
charts/fluent-operator/templates/fluentbitconfig-fluentBitConfig.yaml Renders fluentbit.service into spec.service to support additional service fields.
charts/fluent-operator/templates/fluentbitconfig-fluentbitconfig-edge.yaml Renders fluentbit.service into spec.service for the edge config.

Comment thread charts/fluent-operator/templates/fluentbitconfig-fluentBitConfig.yaml Outdated
Comment thread charts/fluent-operator/templates/fluentbitconfig-fluentbitconfig-edge.yaml Outdated
…ossible service fields

Signed-off-by: Dylan Jenik <dylanjenikcodes@gmail.com>
Copilot AI review requested due to automatic review settings July 8, 2026 02:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread charts/fluent-operator/templates/_helpers.tpl
Comment on lines 526 to +533
service:
# Scheduler configuration for retry wait times (supported in Fluent Bit >= 1.8.7)
# -- Scheduler base for exponential backoff (seconds)
# schedulerBase: 5
# -- Scheduler cap for maximum retry time (seconds)
# schedulerCap: 2000
# -- Storage configuration for Fluent Bit buffering
storage: {}
# Remove the above storage section and uncomment below section if you want to configure file-system as storage for buffer
# storage:
# path: "/host/fluent-bit-buffer/"
# backlogMemLimit: "50MB"
# checksum: "off"
# deleteIrrecoverableChunks: "on"
# maxChunksUp: 128
# metrics: "on"
# sync: normal
# storage:
@joshuabaird joshuabaird changed the title feat: adjust fluentbit service helm value to allow specifying all p… feat: adjust fluentbit service helm value to allow specifying all possible service fields Jul 8, 2026
@joshuabaird joshuabaird merged commit 25506ac into fluent:master Jul 8, 2026
9 checks passed
@joshuabaird

Copy link
Copy Markdown
Collaborator

@eatmyrust Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants