GitHub user AngJoong edited a discussion: AIRFLOW__WEBSERVER__SECRET_KEY not 
work

I get this error log
```bash
Log message source details: sources=["!!!! Please make sure that all your 
Airflow components (e.g. schedulers, webservers, workers and triggerer) have 
the same 'secret_key' configured in 'webserver' section and time is 
synchronized on all your machines (for example with ntpd)\nSee more at 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#secret-key";]
```

so I read 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#secret-key
 

in this web page recommend use static secret key, so I wrote first option in 
the values.yml
```
webserverSecretKey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
but it didn't work. still I got error log

and then I wrote second option  in the values.yml
```
env:
  - name: AIRFLOW__WEBSERVER__SECRET_KEY
    value: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

it works. it is general treat? 

why didn't `webserverSecretKey` key work?

I use helm chart 1.18.0

GitHub link: https://github.com/apache/airflow/discussions/55266

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org

Reply via email to