<p>I have installed a helm chart with subcharts and I want to find out which version of the subchart is installed. Is there any possible way in helm 3?</p>

Darshil Shah
<p>Following official Helm documentation: </p>

<ul>
<li><a href="https://helm.sh/docs/chart_template_guide/subcharts_and_globals/" rel="nofollow noreferrer">Helm.sh: Subcharts and globals</a></li>
<li><a href="https://helm.sh/docs/topics/charts/" rel="nofollow noreferrer">Helm.sh: Charts</a></li>
<li><a href="https://helm.sh/docs/helm/helm_dependency/" rel="nofollow noreferrer">Helm.sh: Helm dependency</a></li>
</ul>

<p>You can get the version of a subchart used by a chart by following below <strong>example</strong>:  </p>

<ul>
<li>Download the chart with <code>$ helm pull repo/name --untar</code> </li>
<li>Go inside the chart directory </li>
<li>Invoke command: <code>$ helm dependency list</code> </li>
</ul>

<p>You can get a message that there are no dependencies: </p>

<p><code>WARNING: no dependencies at gce-ingress/charts</code></p>

<p>You can also get a message with dependencies and their versions: </p>

<pre class="lang-sh prettyprint-override"><code>NAME                VERSION REPOSITORY                                        STATUS
kube-state-metrics  2.7.*  https://kubernetes-charts.storage.googleapis.com/  unpacked
</code></pre>

<p>Additionally you can check the content of the <code>prometheus/charts/kube-state-metrics/Chart.yaml</code> for additional information. </p>

<p>Please let me know if that helped you. </p>
