You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "tmvcode (via GitHub)" <gi...@apache.org> on 2024/10/25 04:38:14 UTC

Re: [D] How do I reload webserver_config.py without restarting the webserver [airflow]

GitHub user tmvcode edited a discussion: How do I reload webserver_config.py without restarting the webserver

Hi, in my webserver_config.yml 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.yml 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.yml?

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-unsubscribe@airflow.apache.org