2021-11-10 19:24:57 +00:00
|
|
|
{{- define "logging-operator.logging.gke" -}}
|
|
|
|
{{- $logPath := "/var/log/kube-proxy.log" -}}
|
2021-05-17 22:30:18 +00:00
|
|
|
metadata:
|
|
|
|
name: {{ .Release.Name }}-gke
|
|
|
|
spec:
|
|
|
|
fluentbit:
|
2021-11-10 19:24:57 +00:00
|
|
|
disableKubernetesFilter: true
|
|
|
|
extraVolumeMounts:
|
|
|
|
- source: {{ $logPath }}
|
|
|
|
destination: {{ $logPath }}
|
|
|
|
readOnly: true
|
2021-05-17 22:30:18 +00:00
|
|
|
inputTail:
|
|
|
|
Tag: "gke"
|
2021-11-10 19:24:57 +00:00
|
|
|
Path: {{ $logPath }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- if .Values.additionalLoggingSources.gke.enabled }}
|
|
|
|
{{- include "logging-operator.logging" (list . "logging-operator.logging.gke") -}}
|
2021-05-17 22:30:18 +00:00
|
|
|
{{- end }}
|