<p>I'm trying to deploy Grafana using Helm Chart and dependencies but the values don't get passed down to the Grafana chart.</p>
<p>Chart.yaml</p>
<pre><code>apiVersion: v2
appVersion: 7.4.5
name: grafana
dependencies:
- name: grafana
  version: &quot;6.6.4&quot;
  repository: &quot;https://grafana.github.io/helm-charts&quot;
version: 6.6.4
</code></pre>
<p>Values.yaml</p>
<pre><code>grafana:
  persistence.enabled: true
  persistence.size: 5Gi
</code></pre>
<p>I want to enable persistence by overwriting the <strong>persistence.enabled</strong> variable (which is set to <em>false</em> by default) with <em>true</em>. I tried doing with <code>helm install grafana . --set persistence.enabled=true</code> but nothing happens either, it's always the same deployment.</p>
<p>Edit: I tried this method <a href="https://stackoverflow.com/questions/49580938/helm-overriding-chart-and-values-yaml-from-a-base-template-chart">helm overriding Chart and Values yaml from a base template chart</a> but it didn't work for me. Maybe it's my fault for not understanding how to do it.</p>

<p>Please Change below in your values yaml</p>
<p>From</p>
<pre><code>grafana:
  persistence.enabled: true
  persistence.size: 5Gi
</code></pre>
<p>To</p>
<pre><code>grafana:
  persistence:
    enabled: true
    size: 5Gi
</code></pre>
<p>Please always use the default values yaml from helm chart <a href="https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml" rel="noreferrer">https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml</a> as reference of what your values yaml should contain.</p>
<p>Command Line command will be</p>
<pre><code>helm install grafana . --set grafana.persistence.enabled=true --set grafana.persistence.size=5Gi
</code></pre>
