Replies: 1 comment 4 replies
-
You cant. You need to restart the webserver. Note that generally speaking your gunicorn servers will restart every now and then (I believe it is configurable - look it up in Airflow and gunicorn configuration) and they should generally pick up the new configuration if it is done dynamically ( But how you map it is something done in your deployment because airflow does not have a concept of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, in my webserver_config.py I have the AUTH_LDAP_BIND_PASSWORD = readFileAsString(/etc/config/password.txt). The password.txt is mounted from a k8s secret and updated on a regular interval. It seems like the webserver_config.py is loaded only once and cached during start up, because it's not picking up the updated AUTH_LDAP_BIND_PASSWORD dynamically, even though my password.txt file is updated by the k8s volume mount. To get updated AUTH_LDAP_BIND_PASSWORD I have to do a rolling restart on the webserver pod. Is there a way I can trrigger a reload of webserver_config.py?
Beta Was this translation helpful? Give feedback.
All reactions