Hey guys,
I was just wondering, has anyone run into CORS problems when accessing pods from a browser.
What I am seeing, when sending a request to my cluster (running in GKE) from my web app, I am getting a 404, along with a CORS error, telling me Access-Control-Allow-Origin is stopping my request. It is not an outbound issue in my cluster as I can curl my pods all day long.
Just to add, I am finding it tricky to debug, as no errors are being logged by GKE, and the request is not making it to my pods as none of them are being spun up.
So I am wondering is there a way to disable or configure CORS on the Knative end to allow requests through from a browser. I have created a gist of one of my requests
[1] just to show I have specified `Content-Type` as `text/plain` to avoid the preflight `OPTIONS` request. This didn't make any difference. Just to add it is a case w
Cheers
Ciaran