<p>I want to export <em>already templated</em> Helm Charts as YAML files. I can not use Tiller on my Kubernetes Cluster at the moment, but still want to make use of Helm Charts. Basically, I want Helm to export the YAML that gets send to the Kubernetes API with values that have been templated by Helm. After that, I will upload the YAML files to my Kubernetes cluster.</p>

<p>I tried to run <code>.\helm.exe install --debug --dry-run incubator\kafka</code> but I get the error <code>Error: Unauthorized</code>.  </p>

<p>Note that I run Helm on Windows (version helm-v2.9.1-windows-amd64).</p>

<p>We need logs to check the <code>Unauthorized</code> issue.</p>
<p>But you can easily generate templates locally:</p>
<pre><code>helm template mychart
</code></pre>
<blockquote>
<p>Render chart templates locally and display the output.</p>
<p>This does not require Tiller. However, any values that would normally
be looked up or retrieved in-cluster will be faked locally.
Additionally, none of the server-side testing of chart validity (e.g.
whether an API is supported) is done.</p>
</blockquote>
<p>More info: <a href="https://helm.sh/docs/helm/helm_template/" rel="noreferrer">https://helm.sh/docs/helm/helm_template/</a></p>
