helm-charts
helm-charts copied to clipboard
Fluent-bit: add namespace variable
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 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.