<p>I found that we can create subcharts and conditionally include them as described here: <a href="https://stackoverflow.com/questions/54032974/helm-conditionally-install-subchart">Helm conditionally install subchart</a></p>

<p>I have just one template that I want conditionally include in my chart but I could not find anything in the docs. Is there such feature?</p>

<p>I discovered that empty templates are not loaded. I solved it by wrapping my yaml file content in an <code>if</code> condition.</p>

<pre><code>{{ if .Values.something }}
content of yaml file
{{ end }}
</code></pre>
