mirror of https://git.rancher.io/charts
20 lines
537 B
YAML
20 lines
537 B
YAML
{{- define "logging-operator.logging.eks" -}}
|
|
{{- $logPath := "/var/log/messages" -}}
|
|
metadata:
|
|
name: {{ .Release.Name }}-eks
|
|
spec:
|
|
fluentbit:
|
|
disableKubernetesFilter: true
|
|
extraVolumeMounts:
|
|
- source: {{ $logPath }}
|
|
destination: {{ $logPath }}
|
|
readOnly: true
|
|
inputTail:
|
|
Tag: "eks"
|
|
Path: {{ $logPath }}
|
|
Parser: "syslog"
|
|
{{- end -}}
|
|
{{- if .Values.additionalLoggingSources.eks.enabled }}
|
|
{{- include "logging-operator.logging" (list . "logging-operator.logging.eks") -}}
|
|
{{- end }}
|