GitHub user tmvcode edited a discussion: How do I reload webserver_config.py without restarting the webserver
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? GitHub link: https://github.com/apache/airflow/discussions/43239 ---- This is an automatically sent email for commits@airflow.apache.org. To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org