Skip to content
Open
Show file tree
Hide file tree
Changes from 7 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
10 changes: 7 additions & 3 deletions 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.54.0
version: 0.55.0
appVersion: 4.1.0
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg
home: https://fluentbit.io/
Expand All @@ -22,5 +22,9 @@ maintainers:
email: steve.hipwell@gmail.com
annotations:
artifacthub.io/changes: |
- kind: changed
description: "Update Fluent Bit OCI image to 4.1.0."
- kind: deprecated
description: "Deprecated serviceAccount.automountServiceAccountToken (use serviceAccount.automountToken instead)"
- kind: added
description: "Added support for serviceAccount.automountToken to service account and pod spec"
- kind: added
description: "Added support for automountServiceAccountToken (pod-level override) to pod spec"
4 changes: 3 additions & 1 deletion charts/fluent-bit/templates/_pod.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{{- define "fluent-bit.pod" -}}
{{- if ne .Values.serviceAccount.automountServiceAccountToken nil }}
{{- if ne .Values.automountServiceAccountToken nil }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
{{- else if ne .Values.serviceAccount.automountServiceAccountToken nil }}
Comment thread
gsmith-sas marked this conversation as resolved.
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}
Comment thread
gsmith-sas marked this conversation as resolved.
serviceAccountName: {{ include "fluent-bit.serviceAccountName" . }}
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