You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloud Provider/Platform (AKS, GKE, Minikube etc.): any
I think that most people would wait for the namespace definition to be included in the output if --create-namespace is supported when doing an helm template command.
AMHO the choices are:
either clearly refuse --create-namespace with helm template subcommand (which is ok but peaople will then rely to other tooling or issues kubectl commands)
or add the manifests creation of the namespace in output (which is better if you rely on helm to generate your manifests)
The text was updated successfully, but these errors were encountered:
This might be related to #8268, where invalid subcommands are being silently accepted as valid input by cobra. This could be extending towards invalid feature flags as well.
I would argue that the first case is preferred here. The namespace should not be part of the output - helm template's only job is to display the output from rendering the templates.
ok it make sense it's related to this cobra bug. thanxs for pointing that out.
i understand the point of helm template being tied to rendering templates. The only reason that would made me prefer the 1st choice is that will enable end users to leverage on helm3 to create manifests in a gitops style approach. There is currently no direct way to do that except some crapy bash tooling. But i guess you are right on the perimeter of helm template and i was more formulating something like helm dump, but i guess this is another enhancement issue.
Output of
helm version
: 3.2.1Output of
kubectl version
: kubectl 1.18.2Cloud Provider/Platform (AKS, GKE, Minikube etc.): any
I think that most people would wait for the namespace definition to be included in the output if --create-namespace is supported when doing an
helm template
command.AMHO the choices are:
--create-namespace
withhelm template
subcommand (which is ok but peaople will then rely to other tooling or issues kubectl commands)The text was updated successfully, but these errors were encountered: