added rke support

pull/535/head
Jacob Payne 2020-08-06 20:02:36 -07:00
parent 531420dcf5
commit 569e213fe8
2 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,19 @@
{{- if .Values.additionalLoggingSources.rke1.enabled }}
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
name: {{ .Release.Name }}-rke
namespace: {{ .Release.Namespace }}
labels: {{ include "logging-operator.labels" . | indent 4 }}
spec:
controlNamespace: {{ .Release.Namespace }}
fluentbit:
inputTail:
Tag: "rke"
Path: "/rke/*.log"
extraVolumeMounts:
- source: "/var/lib/rancher/rke/log"
destination: "/rke"
readOnly: true
fluentd: {}
{{- end }}

View File

@ -27,7 +27,7 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-logging/charts-original/values
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
@@ -76,4 +76,44 @@
@@ -76,4 +76,48 @@
monitoring:
# Create a Prometheus Operator ServiceMonitor object
serviceMonitor:
@ -74,4 +74,7 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-logging/charts-original/values
+ address: ""
+ cluster: true
+ root_ca: ""
\ No newline at end of file
+
+additionalLoggingSources:
+ rke1:
+ enabled: false