<p>I am trying to install <strong>rabbitmq</strong> helm chart in <code>dependencies</code> section of my parent chart.
Here is my parent chart</p>
<pre><code>apiVersion: v2
name: mychart
description: A Helm chart to install rabbitmq
type: application
version: 1.0.0
appVersion: &quot;1.0.0&quot;
dependencies:
  - name: rabbitmq
    repository: https://charts.bitnami.com/bitnami
    version: 8.11.9
    condition: rabbitmq.enabled
</code></pre>
<p>And here is the values.yml file of this chart</p>
<pre><code>rabbitmq:
  enabled: true
  auth.username: test
  auth.password: test
</code></pre>
<p>I am trying to override the values of <code>auth.username</code> and <code>auth.password</code> of rabbitmq dependency chart. But values are getting override. And default values are used when I deploy/test this chart.</p>
<p>What am I doing wrong here ?</p>

M Hamza Razzaq
<p>While the <code>helm install --set</code> option takes options like <code>--set rabbitmq.auth.username=...</code>, and charts' documentation generally uses this syntax, in YAML files you need to put each part in a nested block:</p>
<pre class="lang-yaml prettyprint-override"><code>rabbitmq:
  enabled: true
  auth:
    # &quot;username&quot; under &quot;auth&quot;, not a single key &quot;auth.username&quot;
    username: test
    password: test
</code></pre>
