fix: add missing labels to Fluent Bit resources for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
f8515ce1fa
commit
cf83b661d1
@ -4,6 +4,8 @@ kind: FluentBit
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-log-collector
|
name: {{ .Release.Name }}-log-collector
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
labels:
|
||||||
|
fluentbit.fluent.io/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
image: {{ .Values.fluentbit.image | quote }}
|
image: {{ .Values.fluentbit.image | quote }}
|
||||||
imagePullPolicy: {{ .Values.fluentbit.imagePullPolicy | quote }}
|
imagePullPolicy: {{ .Values.fluentbit.imagePullPolicy | quote }}
|
||||||
@ -27,6 +29,7 @@ metadata:
|
|||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
|
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
|
||||||
|
fluentbit.fluent.io/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
json:
|
json:
|
||||||
timeKey: {{ .Values.fluentbit.timeKey | quote }}
|
timeKey: {{ .Values.fluentbit.timeKey | quote }}
|
||||||
@ -39,6 +42,7 @@ metadata:
|
|||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
|
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
|
||||||
|
fluentbit.fluent.io/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
match: "*"
|
match: "*"
|
||||||
forward:
|
forward:
|
||||||
@ -50,6 +54,8 @@ kind: FluentBitConfig
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-log-collector-config
|
name: {{ .Release.Name }}-log-collector-config
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
labels:
|
||||||
|
fluentbit.fluent.io/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
inputSelector:
|
inputSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
@ -65,6 +71,8 @@ apiVersion: fluentbit.fluent.io/v1alpha2
|
|||||||
kind: ClusterInput
|
kind: ClusterInput
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-log-collector-input
|
name: {{ .Release.Name }}-log-collector-input
|
||||||
|
labels:
|
||||||
|
fluentbit.fluent.io/enabled: "true"
|
||||||
spec:
|
spec:
|
||||||
tail:
|
tail:
|
||||||
path: {{ .Values.fluentbit.logPath | quote }}
|
path: {{ .Values.fluentbit.logPath | quote }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user