Home > Enterprise >  User Environment Variable with airflow.webserver.defaultUser.password
User Environment Variable with airflow.webserver.defaultUser.password

Time:06-07

I am using the Helm chart for Apache Airflow and trying to set the password of the default user to the value of an environment variable:

airflow:
  env:
    - name: PASSWORD
      value: Hello, World!
  webserver:
    defaultUser:
      password: $PASSWORD

However, this is setting the password to literally $PASSWORD instead of Hello, World!.

I have tried other things like password: ${PASSWORD} to no avail.

CodePudding user response:

Use as follow, this is as described in official examples.

$(PASSWORD)
  • Related