From 6e28cfc20025154a93b35f90cda41e8ee73abaad Mon Sep 17 00:00:00 2001 From: Dennis Geiselmann Date: Thu, 15 Feb 2024 09:46:22 +0100 Subject: [PATCH] feat(1062): Configure logLevel in ClusterFluentBitConfig Signed-off-by: Dennis Geiselmann --- .../templates/fluentbitconfig-fluentBitConfig.yaml | 3 +++ charts/fluent-operator/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/charts/fluent-operator/templates/fluentbitconfig-fluentBitConfig.yaml b/charts/fluent-operator/templates/fluentbitconfig-fluentBitConfig.yaml index b6e57cf24..112da8304 100644 --- a/charts/fluent-operator/templates/fluentbitconfig-fluentBitConfig.yaml +++ b/charts/fluent-operator/templates/fluentbitconfig-fluentBitConfig.yaml @@ -10,6 +10,9 @@ spec: service: parsersFile: parsers.conf httpServer: true + {{- if .Values.fluentbit.logLevel }} + logLevel: {{ .Values.fluentbit.logLevel }} + {{- end }} {{- if .Values.fluentbit.service.storage }} storage: {{ toYaml .Values.fluentbit.service.storage | indent 6 }} diff --git a/charts/fluent-operator/values.yaml b/charts/fluent-operator/values.yaml index 4e4595486..8182a2e15 100644 --- a/charts/fluent-operator/values.yaml +++ b/charts/fluent-operator/values.yaml @@ -99,6 +99,7 @@ fluentbit: ## imagePullSecrets: [] # - name: "image-pull-secret" + logLevel: "" secrets: [] # fluent-bit daemonset use host network hostNetwork: false