kubernetes-ingress icon indicating copy to clipboard operation
kubernetes-ingress copied to clipboard

CORS annotations. Preflight requests.

Open jenqaz opened this issue 4 years ago • 1 comments

Hi! We decided to enable CORS annotations on the ingress but we've faced with an issue. Simple requests work fine but preflight requests don't handle by ingress-controller. It passes the request to a service that does not have OPTIONS method and returns a 405 response. Did I misconfigure something?

Here's the ingress yaml file: ingress.txt

Image: haproxytech/kubernetes-ingress:1.6.5

jenqaz avatar Aug 18 '21 15:08 jenqaz

Hi Currently preflight requests are not supported, It will be in our road map for 1.7

Mo3m3n avatar Aug 24 '21 22:08 Mo3m3n