2020-12-08 15:05:25 +00:00
|
|
|
{{- if (empty .Values.existingConfigMap) -}}
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ include "fluent-bit.fullname" . }}
|
|
|
|
labels:
|
|
|
|
{{- include "fluent-bit.labels" . | nindent 4 }}
|
|
|
|
data:
|
|
|
|
custom_parsers.conf: |
|
2021-03-05 15:53:02 +00:00
|
|
|
{{- (tpl .Values.config.customParsers $) | nindent 4 }}
|
2020-12-08 15:05:25 +00:00
|
|
|
fluent-bit.conf: |
|
2021-03-05 15:53:02 +00:00
|
|
|
{{- (tpl .Values.config.service $) | nindent 4 }}
|
|
|
|
{{- (tpl .Values.config.inputs $) | nindent 4 }}
|
|
|
|
{{- (tpl .Values.config.filters $) | nindent 4 }}
|
|
|
|
{{- (tpl .Values.config.outputs $) | nindent 4 }}
|
2020-12-08 15:05:25 +00:00
|
|
|
{{- end -}}
|