<p>I have a requirements.yaml file:</p>

<pre><code>dependencies:
  - name: mongodb-replicaset
    # Can be found with "helm search &lt;chart&gt;"
    version: 3.13.0
    # This is the binaries repository, as documented in the GitHub repo
    repository: https://kubernetes-charts.storage.googleapis.com/

</code></pre>

<p>And i want to modify the values.yaml file of the mongodb-replicaset chart , espacialy this section:</p>

<pre><code>auth:

  enabled: false
  existingKeySecret: ""
  existingAdminSecret: ""
  existingMetricsSecret: ""
  # adminUser: username
  # adminPassword: password
  # metricsUser: metrics
  # metricsPassword: password
  # key: keycontent

</code></pre>

<p>How can i override the values.yaml file on initialization in a dependency chart?</p>

NyaSol
<p>You put the values under a key matching the name of the upstream chart so</p>

<pre><code>mongodb-replicaset:
  auth:
    enabled: true
    etc etc
</code></pre>
