-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--namespace is ignored by "helm template" #10737
Comments
As @bacongobbler stated in #9813 (comment), "helm template is not expected to interact with a cluster - its only job is to load a chart, render its templates with the provided values, and display the output." This flag should be removed also but it will have to wait until Helm 4 for backward compatibility. |
The —namespace flag affects the value of This seems more related to #3553. I gave an explanation why helm does not inject a namespace into the template here: #3553 (comment) |
Would it be worth it to issue a warning when the |
What I do:
What I expect:
The generated YAML has
namespace: hello
What I see instead:
The generated YAML doesn't have any namespace information
Current workaround:
Output of
helm version
:This is kind of related to #9813 (but also not quite :)).
If this is not meant to be supported, perhaps using the
--namespace
flag withhelm template
could throw an error and suggest the workaround shown above?The text was updated successfully, but these errors were encountered: