Skip to content

Commit

Permalink
Adding namespaceClusterFbCfg, to deploy fluent-bit configmap and secr…
Browse files Browse the repository at this point in the history
…et in this namespace. If it is not defined, secret is in namespace of the fluent-operator.

Signed-off-by: Bharathi Talakola <[email protected]>
  • Loading branch information
Bharathi committed Oct 18, 2024
1 parent 5ec2077 commit 42b545d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ metadata:
labels:
app.kubernetes.io/name: fluent-bit
spec:
{{- if .Values.fluentbit.namespaceClusterFbCfg }}
{{- if .Values.fluentbit.namespaceClusterFbCfg }}
namespace: {{ .Values.fluentbit.namespaceClusterFbCfg }}
{{- end }}
{{- end }}
service:
parsersFiles:
- /fluent-bit/etc/parsers.conf
Expand Down
2 changes: 1 addition & 1 deletion charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ fluentbit:
# 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.
#If it is not defined, it is in the namespace of the fluent-operator
namespaceClusterFbCfg: ""

fluentd:
Expand Down

0 comments on commit 42b545d

Please sign in to comment.