Is your feature request related to a problem? Please describe.
When deploying the fluent-operator in a multi-tenant or shared cluster setup, there is no way to deploy FluentBit resources into a namespace other than .Release.Namespace. The namespace field in charts/fluent-operator/templates/fluentbit-fluentBit.yaml is hardcoded to {{ .Release.Namespace }}, forcing FluentBit to always land in the operator's own namespace.
Describe the solution you'd like
Add a fluentbit.namespaceOverride value to charts/fluent-operator/values.yaml that allows users to target a specific namespace for FluentBit resources, falling back to .Release.Namespace when unset.
values.yaml (~line 113):
fluentbit:
namespaceOverride: "" # Override the namespace for FluentBit resources; defaults to .Release.Namespace
templates/fluentbit-fluentBit.yaml (line 7):
namespace: {{ default .Release.Namespace .Values.fluentbit.namespaceOverride | quote }}
This follows the namespaceOverride convention already established in charts like kube-prometheus-stack and others in the Helm ecosystem.
Additional context
Relevant files:
Is your feature request related to a problem? Please describe.
When deploying the fluent-operator in a multi-tenant or shared cluster setup, there is no way to deploy
FluentBitresources into a namespace other than.Release.Namespace. Thenamespacefield incharts/fluent-operator/templates/fluentbit-fluentBit.yamlis hardcoded to{{ .Release.Namespace }}, forcing FluentBit to always land in the operator's own namespace.Describe the solution you'd like
Add a
fluentbit.namespaceOverridevalue tocharts/fluent-operator/values.yamlthat allows users to target a specific namespace for FluentBit resources, falling back to.Release.Namespacewhen unset.values.yaml(~line 113):templates/fluentbit-fluentBit.yaml(line 7):This follows the
namespaceOverrideconvention already established in charts likekube-prometheus-stackand others in the Helm ecosystem.Additional context
Relevant files:
charts/fluent-operator/templates/fluentbit-fluentBit.yaml#L7charts/fluent-operator/values.yaml#L113