fix: change kind from Parser and Output to ClusterParser and ClusterOutput for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
d699274fe7
commit
b80518cdb7
@ -23,26 +23,22 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
---
|
---
|
||||||
apiVersion: fluentbit.fluent.io/v1alpha2
|
apiVersion: fluentbit.fluent.io/v1alpha2
|
||||||
kind: Parser
|
kind: ClusterParser
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-log-parser
|
name: {{ .Release.Name }}-log-parser
|
||||||
namespace: freeleaps-logging-system
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}-log-parser
|
app.kubernetes.io/name: {{ .Release.Name }}-log-parser
|
||||||
fluentbit.fluent.io/enabled: "true"
|
|
||||||
spec:
|
spec:
|
||||||
json:
|
json:
|
||||||
timeKey: {{ .Values.fluentbit.timeKey | quote }}
|
timeKey: {{ .Values.fluentbit.timeKey | quote }}
|
||||||
timeFormat: {{ .Values.fluentbit.timeFormat | quote }}
|
timeFormat: {{ .Values.fluentbit.timeFormat | quote }}
|
||||||
---
|
---
|
||||||
apiVersion: fluentbit.fluent.io/v1alpha2
|
apiVersion: fluentbit.fluent.io/v1alpha2
|
||||||
kind: Output
|
kind: ClusterOutput
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-log-output
|
name: {{ .Release.Name }}-log-output
|
||||||
namespace: freeleaps-logging-system
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}-log-output
|
app.kubernetes.io/name: {{ .Release.Name }}-log-output
|
||||||
fluentbit.fluent.io/enabled: "true"
|
|
||||||
spec:
|
spec:
|
||||||
match: "*"
|
match: "*"
|
||||||
forward:
|
forward:
|
||||||
@ -53,8 +49,6 @@ apiVersion: fluentbit.fluent.io/v1alpha2
|
|||||||
kind: ClusterInput
|
kind: ClusterInput
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-log-input
|
name: {{ .Release.Name }}-log-input
|
||||||
labels:
|
|
||||||
fluentbit.fluent.io/enabled: "true"
|
|
||||||
spec:
|
spec:
|
||||||
tail:
|
tail:
|
||||||
path: {{ .Values.fluentbit.logPath | quote }}
|
path: {{ .Values.fluentbit.logPath | quote }}
|
||||||
@ -64,9 +58,6 @@ apiVersion: fluentbit.fluent.io/v1alpha2
|
|||||||
kind: ClusterFluentBitConfig
|
kind: ClusterFluentBitConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-log-collector-config
|
name: {{ .Release.Name }}-log-collector-config
|
||||||
namespace: freeleaps-logging-system
|
|
||||||
labels:
|
|
||||||
fluentbit.fluent.io/enabled: "true"
|
|
||||||
spec:
|
spec:
|
||||||
inputSelector:
|
inputSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user