<p>I am trying to install a previous version of Prometheus, namely version <code>6.7.4</code>:</p>

<pre><code>helm install -f stable/prometheus/values.yaml prometheus --name stable/prometheus --namespace prometheus --version 6.7.4
</code></pre>

<p>However it installs the latest version, <code>prometheus-6.8.0</code>:</p>

<pre><code>$ helm ls
NAME        REVISION    UPDATED                     STATUS      CHART               NAMESPACE 
prometheus  1           Fri Jul  6 01:46:42 2018    DEPLOYED    prometheus-6.8.0    prometheus
</code></pre>

<p>What am I doing wrong?</p>

<p>Below worked for me with <strong>Helm-3</strong>:</p>
<p><strong>Step-1 :</strong> <code>helm search repo mongo -l</code></p>
<p><em>( Assuming you have already done <code>helm repo add bitnami https://charts.bitnami.com/bitnami</code>)</em></p>
<p><strong>Step-2 :</strong> Check the mongo version you want to install and note the corresponding latest chart version</p>
<p><strong>Step-3 :</strong> Use the chart version from above to install the specific version of mongoDB using --version.</p>
<p><code>helm install my-mongodb bitnami/mongodb --version 8.3.1</code></p>
<p><strong>Note :</strong> <em>8.3.1 is the chart version not mongoDB version</em></p>
