Hi! We're trying to install Apache Airflow v2.6.3 on a Kubernetes cluster of ours. As a part of the installation, we have webserver, scheduler, worker and redis pods deployed and using a pre-existing postgres DB that is present on a different server. We've got all the pods up and running and creation of the initial user and subsequent users via airflow CLI is also taking place. Via shell, we've checked the worker pods and it's getting connecting to Redis successfully as well (As stated in stdout). However, when we try to login via the created credentials, we're encountering Invalid Credentials error. We've tried updating the webserver_config.py to disable authentication and enable anonymous login with Admin privileges. But that configuration change still routes us to the login page for some reason. It seems as though webserver_config.py changes are not picked up by the webserver and something might be off as well. But not sure what. At the moment, we're mounting the config file via ConfigMap and giving 777 permission (since mounting takes place via root and the image is a bit bulky so we're unable to download, makes changes and commit). Could there be any specific reason to this? For airflow.cfg, we're mostly using ENV variables to set the values.
Note - Even API authentication is not working as expected. Authentication types already set by default for APIs within airflow.cfg file. The webserver_config.py file is mounted on the AIRFLOW_HOME directory. So no mistake there as well. Thank you. Warm Regards, Tarandeep Singh Sachdeva Senior Software Engineer - Group Risk Analytics Risk IT | Enterprise Technology HSBC Technology India Block A, Laxmi Cyber City, Survey No. 10, Kondapur, Hyderabad, Telangana - 500084 SAVE TREES! PLEASE PRINT THIS MAIL ONLY IF YOU HAVE TO! INTERNAL ******************************************************************* This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ******************************************************************* "SAVE PAPER - THINK BEFORE YOU PRINT!"