<p>As we knew, helm charts are made by templates with variables and reference values from <code>values.yml</code>. I'd like to review the final heml chart, but there is no print or output feature.</p>
<p>For example, in serverless framework, I can run <code>sls print</code> to get the final <code>serverless.yml</code></p>
<p>But I can't find the similar command in <code>heml</code>, such as</p>
<pre><code>helm print &lt;chart_name&gt; -f values.yml
</code></pre>

Bill
<p>Make use of <code>--debug</code> and <code>--dry-run</code> option.</p>
<pre><code>helm install ./mychart --debug --dry-run
</code></pre>
<p>Quoting statement from <a href="https://github.com/helm/helm/blob/master/docs/chart_template_guide/getting_started.md" rel="nofollow noreferrer">this</a> official doc.</p>
<blockquote>
<p>When you want to test the template rendering, but not actually install
anything, you can use helm install ./mychart --debug --dry-run. This
will send the chart to the Tiller server, which will render the
templates. But instead of installing the chart, it will return the
rendered template to you so you can see the output.</p>
</blockquote>
<p>There is another way to do this without need of connection to tiller.</p>
<pre><code>helm template ./mychart
</code></pre>
<h2>Update</h2>
<p>Printing rendered contents of one of the stable chart (in my case airflow stable chart) would look like:</p>
<ul>
<li>Using <code>--debug</code> and <code>--dry-run</code> option</li>
</ul>
<pre><code>helm install --namespace &quot;airflow&quot; --name &quot;airflow&quot; stable/airflow --debug --dry-run -f values.yaml
</code></pre>
<ul>
<li>Using <code>helm template</code></li>
</ul>
<pre><code>helm fetch stable/airflow
tar -xvf airflow-4.0.8.tgz
helm template --namespace &quot;airflow&quot; --name &quot;airflow&quot; ./airflow -f airflow/values.yaml
</code></pre>
