<p>I was wondering if there is anyway to programmatically tell whether a given chart is using Helm 2 or Helm 3?  </p>

<p>I know that apiVersion in Chart.yaml has been bumped to v2. But is it definite that apiVersion: V2 correspond to Helm 3? </p>

RonZhang724
<p>According to documentation</p>

<blockquote>
  <p>The apiVersion field should be v2 for Helm charts that require at least Helm 3. Charts supporting previous Helm versions have an apiVersion set to v1 and are still installable by Helm 3.</p>
</blockquote>

<p>To check a chart version from command line, run</p>

<pre><code>helm show chart  .

</code></pre>
