jason810496 opened a new pull request, #47544:
URL: https://github.com/apache/airflow/pull/47544

   closes: #47521
   
   ## Why  
   
   The `[api/base_url]` is set to `http://localhost:8080` by default, which 
causes issues in the Breeze K8s environment. The redirect URL after login does 
not match the `host:port` defined in `KUBERNETES_HOST_PORT`, also leading to 
CORS problems as described in #47521.  
   
   ## What  
   
   - Patch the `[api/base_url]` value in `airflow.cfg` within the ConfigMap 
using `KUBERNETES_HOST_PORT`.  
   - Roll out a restart of the `airflow-api-server` deployment before running 
tests.  
   
   ## Note  
   
   We could also move the ConfigMap patching step into a Breeze k8s utility 
that runs before `shell` and `test` commands. Open to discussion—any advice 
would be greatly appreciated!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to