diff --git a/stable/fluent-bit/Chart.yaml b/stable/fluent-bit/Chart.yaml index 9d2a69e35a..f0a70e92dd 100755 --- a/stable/fluent-bit/Chart.yaml +++ b/stable/fluent-bit/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: fluent-bit -version: 2.8.10 +version: 2.8.11 appVersion: 1.3.7 description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX keywords: diff --git a/stable/fluent-bit/README.md b/stable/fluent-bit/README.md index cb8b16d9b3..2ece5deed0 100644 --- a/stable/fluent-bit/README.md +++ b/stable/fluent-bit/README.md @@ -142,6 +142,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an | `rbac.pspEnabled` | Specifies whether a PodSecurityPolicy should be created. | `false` | | `serviceAccount.create` | Specifies whether a ServiceAccount should be created. | `true` | | `serviceAccount.name` | The name of the ServiceAccount to use. | `NULL` | +| `serviceAccount.annotations` | Annotations to add to the service account. | `{}` | | `rawConfig` | Raw contents of fluent-bit.conf | `@INCLUDE fluent-bit-service.conf`
`@INCLUDE fluent-bit-input.conf`
`@INCLUDE fluent-bit-filter.conf`
` @INCLUDE fluent-bit-output.conf` | | `resources` | Pod resource requests & limits | `{}` | | `securityContext` | [Security settings for a container](https://kubernetes.io/docs/concepts/policy/security-context) | `{}` | diff --git a/stable/fluent-bit/templates/serviceaccount.yaml b/stable/fluent-bit/templates/serviceaccount.yaml index c7f4307e9a..1a1b1a0b1c 100644 --- a/stable/fluent-bit/templates/serviceaccount.yaml +++ b/stable/fluent-bit/templates/serviceaccount.yaml @@ -8,4 +8,8 @@ metadata: heritage: {{ .Release.Service }} release: {{ .Release.Name }} name: {{ template "fluent-bit.serviceAccountName" . }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} {{- end -}} diff --git a/stable/fluent-bit/values.yaml b/stable/fluent-bit/values.yaml index 871fb07b73..2ecf44ce3e 100644 --- a/stable/fluent-bit/values.yaml +++ b/stable/fluent-bit/values.yaml @@ -290,6 +290,8 @@ taildb: serviceAccount: # Specifies whether a ServiceAccount should be created create: true + # Annotations to add to the service account + annotations: {} # The name of the ServiceAccount to use. # If not set and create is true, a name is generated using the fullname template name: