-
Notifications
You must be signed in to change notification settings - Fork 16.5k
Description
Body
When a local K8s cluster (via KinD) is started through breeze k8s ... and you attempt to open the exposed URL in the browser (it uses a random forwarded port, e.g. http://localhost:13582/ ) then you get the following errors:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/static/assets/index-gP-zsNBT.js. (Reason: CORS request did not succeed). Status code: (null).
Module source URI is not allowed in this document: “http://localhost:8080/static/assets/index-gP-zsNBT.js”.
Therefor the KinD/K8s deployment in breeze needs to be enhanced such that the forwarded ports are accepted from web server / UI.
(Not an expert in this area but might be a general K8s deployment problem outside breeze as well? Or is just a port / hostname from breeze to be set to config dynamically?)
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.