rancher-charts/charts/rancher-logging/3.9.000/templates/loggings/rke2/configmap.yaml

19 lines
462 B
YAML

{{- if .Values.additionalLoggingSources.rke2.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-rke2
labels:
{{ include "logging-operator.labels" . | indent 4 }}
data:
fluent-bit.conf: |
[INPUT]
Name systemd
Tag rke2
Systemd_Filter _SYSTEMD_UNIT=rke2.service
[OUTPUT]
Name file
Path /etc/rancher/logging/rke2.log
{{- end }}