Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/fluent-bit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

## [UNRELEASED]

### Fixed

- Set the `app.kubernetes.io/version` label to the resolved image tag when `image.tag` is overridden, falling back to the chart `appVersion` (including the `-` sentinel), so the label reflects the image actually deployed.

## [v0.57.6] - 2026-05-22

### Changed
Expand Down
2 changes: 1 addition & 1 deletion charts/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- logging
- fluent-bit
- fluentd
version: 0.57.6
version: 0.57.7
appVersion: 5.0.6
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg
home: https://fluentbit.io/
Expand Down
8 changes: 4 additions & 4 deletions charts/fluent-bit/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# fluent-bit

![Version: 0.57.6](https://img.shields.io/badge/Version-0.57.6-informational?style=flat-square) ![AppVersion: 5.0.6](https://img.shields.io/badge/AppVersion-5.0.6-informational?style=flat-square)
![Version: 0.57.7](https://img.shields.io/badge/Version-0.57.7-informational?style=flat-square) ![AppVersion: 5.0.6](https://img.shields.io/badge/AppVersion-5.0.6-informational?style=flat-square)

Fast and lightweight log processor and forwarder for Linux, OSX and BSD family operating systems.

Expand All @@ -26,15 +26,15 @@ Fast and lightweight log processor and forwarder for Linux, OSX and BSD family o
To install the chart using the recommended OCI method you can use the following command.

```shell
helm upgrade --install fluent-bit oci://ghcr.io/fluent/helm-charts/fluent-bit --version 0.57.6
helm upgrade --install fluent-bit oci://ghcr.io/fluent/helm-charts/fluent-bit --version 0.57.7
```

#### Verification

As the OCI chart release is signed by [Cosign](https://github.com/sigstore/cosign) you can verify the chart before installing it by running the following command.

```shell
cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository fluent/helm-charts --certificate-github-workflow-name Release ghcr.io/fluent/helm-charts/fluent-bit:0.57.6
cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository fluent/helm-charts --certificate-github-workflow-name Release ghcr.io/fluent/helm-charts/fluent-bit:0.57.7
```

### Non-OCI Repository
Expand All @@ -43,7 +43,7 @@ Alternatively you can use the legacy non-OCI method via the following commands.

```shell
helm repo add fluent https://fluent.github.io/helm-charts/
helm upgrade --install fluent-bit fluent/fluent-bit --version 0.57.6
helm upgrade --install fluent-bit fluent/fluent-bit --version 0.57.7
```

## Values
Expand Down
17 changes: 15 additions & 2 deletions charts/fluent-bit/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,27 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Application version used for the app.kubernetes.io/version label.
Uses the overridden image tag to match the image actually deployed, falling back
to the chart appVersion when the tag is unset or set to the "-" sentinel.
*/}}
{{- define "fluent-bit.version" -}}
{{- if or (empty .Values.image.tag) (eq "-" (toString .Values.image.tag)) -}}
{{- .Chart.AppVersion -}}
{{- else -}}
{{- .Values.image.tag -}}
{{- end -}}
{{- end -}}

{{/*
Common labels
*/}}
{{- define "fluent-bit.labels" -}}
helm.sh/chart: {{ include "fluent-bit.chart" . }}
{{ include "fluent-bit.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- with (include "fluent-bit.version" .) }}
app.kubernetes.io/version: {{ . | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/fluent-bit/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: {{ default .Release.Namespace .Values.testFramework.namespace }}
labels:
helm.sh/chart: {{ include "fluent-bit.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/version: {{ include "fluent-bit.version" . | quote }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
annotations:
helm.sh/hook: test
Expand Down
Loading