fix: rename ClusterInput and update matchLabels for consistency

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-04-16 00:30:49 +08:00
parent f36a87eaca
commit a961051e0c

View File

@ -52,7 +52,7 @@ spec:
apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterInput
metadata:
name: {{ .Release.Name }}-log-collector-input
name: {{ .Release.Name }}-log-input
labels:
fluentbit.fluent.io/enabled: "true"
spec:
@ -70,11 +70,11 @@ metadata:
spec:
inputSelector:
matchLabels:
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
app.kubernetes.io/name: {{ .Release.Name }}-log-input
outputSelector:
matchLabels:
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
app.kubernetes.io/name: {{ .Release.Name }}-log-output
parserSelector:
matchLabels:
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
app.kubernetes.io/name: {{ .Release.Name }}-log-parser
{{- end }}