<p>I'm creating a Chart for a web application that requires a Postgres database. As I understood dependencies are references to other charts that will be installed along with the one you define, e.g.:</p>

<pre><code># Chart.yaml
dependencies:
- name: bitnami/postgresql
  version: "8.10.5"
  repository: "https://charts.bitnami.com/bitnami"
</code></pre>

<p>My question is how can you specify the configuration properties (--set, or values.yaml file) needed not only in your application but also for each of the dependencies?</p>

codependent
<p>First of all, you should use <code>name: postgresql</code> and not <code>name: bitnami/postgresql</code> because charts are usually not prefixed.</p>

<pre><code>Error: bitnami/postgresql chart not found in repo https://charts.bitnami.com/bitnami
</code></pre>

<p>You can override subcharts values putting them under chart name (in your case <code>postgresql</code>) in <code>values.yaml</code></p>

<pre><code>postgresql:
  postgresqlDataDir: /data/postgresql
</code></pre>

<p>Or with <code>--set postgresql.postgresqlDataDir=/data/postgresql</code></p>

<p>More info in <a href="https://helm.sh/docs/chart_template_guide/subcharts_and_globals/" rel="nofollow noreferrer">Subcharts and globals</a></p>
