mirror of https://git.rancher.io/charts
21 lines
584 B
YAML
21 lines
584 B
YAML
|
{{- if and .Values.additionalLoggingSources.k3s.enabled (eq .Values.additionalLoggingSources.k3s.container_engine "systemd")}}
|
||
|
apiVersion: logging.banzaicloud.io/v1beta1
|
||
|
kind: Logging
|
||
|
metadata:
|
||
|
name: {{ .Release.Name }}-k3s
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
labels:
|
||
|
{{ include "logging-operator.labels" . | indent 4 }}
|
||
|
spec:
|
||
|
controlNamespace: {{ .Release.Namespace }}
|
||
|
fluentbit:
|
||
|
inputTail:
|
||
|
Tag: "k3s"
|
||
|
Path: "/var/log/syslog"
|
||
|
extraVolumeMounts:
|
||
|
- source: "/var/log/"
|
||
|
destination: "/var/log"
|
||
|
readOnly: true
|
||
|
fluentd: {}
|
||
|
{{- end }}
|