Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding namespaceClusterFbCfg to ClusterFluentBitConfig custom resource #1379

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
labels:
app.kubernetes.io/name: fluent-bit
spec:
{{- if .Values.fluentbit.namespaceClusterFbCfg }}
namespace: {{ .Values.fluentbit.namespaceClusterFbCfg }}
{{- end }}
service:
parsersFiles:
- /fluent-bit/etc/parsers.conf
Expand Down
3 changes: 3 additions & 0 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,9 @@ fluentbit:
javaMultiline:
# use in filter for parser generic springboot multiline log format
enable: false
#Using namespaceClusterFbCfg, deploy fluent-bit configmap and secret in this namespace.
#If it is not defined, it is in the namespace of the fluent-operator
namespaceClusterFbCfg: ""

fluentd:
# Installs a sub chart carrying the CRDs for the fluentd controller. The sub chart is enabled by default.
Expand Down