<p>I have deployed several helm charts in kubernetes out of templates. I can view the the generated yamls using this command:</p>
<pre><code>helm install &lt;chart-name&gt; &lt;chart-path&gt; --dry-run --debug
</code></pre>
<p>What I need is to save yamls generated via this command. Also suggest me a way how i'll be able to get (and write) the yamls while installing.</p>

<pre><code>helm template --output-dir './' './'
</code></pre>
<p>helm template will create the YAML files or generate the files you can save those and apply too as per requirement.</p>
<pre><code>helm template --output-dir './yaml' './'
</code></pre>
<p>it will create the directory <strong>YAML</strong> and store all <strong>YAML</strong> output inside that.</p>
<p>last <code>./</code> is the path of chart</p>
