helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Fluent-bit: add namespace variable

Open gavol opened this issue 2 years ago • 1 comments

Hello,

could it be possible to add a namespace variable to the templates (where applicable)?

We use the helm template option to render the yaml files, and having the possibility to define the namespace would be very helpful.

Thanks.

gavol avatar Dec 02 '22 09:12 gavol

@gavol you can use the --namespace flag and then make sure that you use the same namespace when you apply the generated YAML.

The more complete solution would be to add namespace: {{ .Release.Namespace }} to the metadata for all namespace scoped resources as it would remove the requirement to use a namespace as part of the apply.

stevehipwell avatar May 30 '23 13:05 stevehipwell