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