diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/fluentbit.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/fluentbit.yaml index 1c6c7e63..416f7839 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/fluentbit.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/fluentbit.yaml @@ -50,6 +50,17 @@ spec: port: 24224 --- apiVersion: fluentbit.fluent.io/v1alpha2 +kind: ClusterInput +metadata: + name: {{ .Release.Name }}-log-collector-input + labels: + fluentbit.fluent.io/enabled: "true" +spec: + tail: + path: {{ .Values.fluentbit.logPath | quote }} + parser: {{ .Release.Name }}-log-parser +--- +apiVersion: fluentbit.fluent.io/v1alpha2 kind: FluentBitConfig metadata: name: {{ .Release.Name }}-log-collector-config @@ -66,15 +77,4 @@ spec: parserSelector: matchLabels: app.kubernetes.io/name: {{ .Release.Name }}-log-collector ---- -apiVersion: fluentbit.fluent.io/v1alpha2 -kind: ClusterInput -metadata: - name: {{ .Release.Name }}-log-collector-input - labels: - fluentbit.fluent.io/enabled: "true" -spec: - tail: - path: {{ .Values.fluentbit.logPath | quote }} - parser: {{ .Release.Name }}-log-parser {{- end }} \ No newline at end of file