{{- if .Values.fluentBit.serviceAccount.enabled -}} apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "fluent-bit.serviceAccountName" . }} labels: {{- include "fluent-bit.labels" . | nindent 4 }} {{- with .Values.fluentBit.serviceAccount.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} {{- end -}}