<p>I deployed the <a href="https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack" rel="nofollow noreferrer">kube-prometheus-stack</a> helm chart. While this chart offers a really nice starting point it has lots of default dashboards which I do not want to use. In the <em>values.yaml</em> of the chart, there is an option <em>defaultDashboardsEnabled: true</em>, which seems to be what I am looking for but if I set it to false using the code below in my values file, which I mount into the helm chart, the dashboards are still there. Does anyone know why this does not work?</p>
<p>A possibility which I thought of is that the chart has both a subchart called <em>grafana</em> and an option  <em>grafana</em>, but I do not know how I could fix it or test if this is the issue.</p>
<pre><code>grafana: 
  defaultDashboardsEnabled: false 
</code></pre>

Manuel 
<p>I`m placing this answer to better visibility as community might interested in other solutions.</p>
<ul>
<li>First way would be <a href="https://github.com/prometheus-community/helm-charts/blob/f551c35d120cc74b774a46b8160904af7bc57135/charts/kube-prometheus-stack/values.yaml#L576" rel="nofollow noreferrer">setting</a> <code>grafana.enable:</code> to false in <code>values.yaml</code>.</li>
</ul>
<pre class="lang-sh prettyprint-override"><code>## Using default values from https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml
grafana:
  enabled: true
</code></pre>
<p>With this your chart will not install <code>grafana</code>.</p>
<ul>
<li>Another way would be to <code>helm pull</code> the chart to your local directory and then just delete the <code>template.grafana</code> directory (to launch the chart locally you just need to <code>helm install &lt;name&gt; ./prometheus-stack</code>)</li>
</ul>
