trinodb / charts

Apache License 2.0
151 stars 173 forks source link

Support namespace specification #114

Closed LittleWat closed 8 months ago

LittleWat commented 11 months ago

Currently, the namespace option is ignored by the helm chart.

helm template . --namespace <my_namespace>

I want to include the namespace in the output resources and am glad if this is supported.

nineinchnick commented 8 months ago

Why do you need the namespace to be present in rendered manifest files?

LittleWat commented 8 months ago

we are using helm template --namespace command in our CI/CD pipeline to generate the manifests based on the values.yaml file and the FluxCD applies the generated manifest to our k8s cluster using kustomize. (not using helm install) The other Helm charts such as Superset support this so I want to make it possible to specify the namespace in this Trino chart as well. https://github.com/apache/superset/blob/2fdf6d7b6484c4110d06e90605dae405a6df38f8/helm/superset/templates/secret-superset-config.yaml#L24

Does it make sense...?