<p>I am using <a href="https://airflow.apache.org/docs/helm-chart/stable/index.html" rel="nofollow noreferrer">the Helm chart for Apache Airflow</a> and trying to set the password of the default user to the value of an environment variable:</p>
<pre class="lang-yaml prettyprint-override"><code>airflow:
  env:
    - name: PASSWORD
      value: Hello, World!
  webserver:
    defaultUser:
      password: $PASSWORD
</code></pre>
<p>However, this is setting the password to literally <code>$PASSWORD</code> instead of <code>Hello, World!</code>.</p>
<p>I have tried other things like <code>password: ${PASSWORD}</code> to no avail.</p>

<p>Use as follow, this is as described in <a href="https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/#using-environment-variables-inside-of-your-config" rel="nofollow noreferrer">official examples</a>.</p>
<pre><code>$(PASSWORD)
</code></pre>
