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
8 changes: 8 additions & 0 deletions charts/fluent-bit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@

## [UNRELEASED]

### Changed

- Added support for serviceAccount.automountToken to service account and pod spec. ([#633](https://github.com/fluent/helm-charts/pull/633)) _@gsmith-sas_
- Added support for automountServiceAccountToken (pod-level override) to pod spec. ([#633](https://github.com/fluent/helm-charts/pull/633)) _@gsmith-sas_

### Deprecated

- Deprecated serviceAccount.automountServiceAccountToken (use serviceAccount.automountToken instead). ([#633](https://github.com/fluent/helm-charts/pull/633)) _@gsmith-sas_
## [v0.57.3] - 2026-04-17

### Changed
Expand Down
6 changes: 4 additions & 2 deletions charts/fluent-bit/templates/_pod.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{{- define "fluent-bit.pod" -}}
{{- if ne .Values.serviceAccount.automountServiceAccountToken nil }}
serviceAccountName: {{ include "fluent-bit.serviceAccountName" . }}
{{- if ne .Values.automountServiceAccountToken nil }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
{{- else if ne .Values.serviceAccount.automountServiceAccountToken nil }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}
serviceAccountName: {{ include "fluent-bit.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/fluent-bit/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if ne .Values.serviceAccount.automountServiceAccountToken nil }}
{{- if ne .Values.serviceAccount.automountToken nil }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountToken }}
{{- else if ne .Values.serviceAccount.automountServiceAccountToken nil }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}
{{- end -}}
11 changes: 11 additions & 0 deletions charts/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,18 @@ serviceAccount:
create: true
annotations: {}
name:
# DEPRECATED: use serviceAccount.automountToken instead
automountServiceAccountToken:
# Automatically mount the ServiceAccount token
# on *all* pods using this ServiceAccount unless
# they explicitly opt out.
automountToken:

# Automatically mount the ServiceAccount token
# on the Fluent Bit pod(s). NOTE: This setting
# overrides serviceAccount.automountToken for
# the Fluent Bit pod(s).
automountServiceAccountToken:

rbac:
create: true
Expand Down
Loading