Specified allowed methods, cors problem with basic auth in kubernets

I have a problem with cors when using basic auth. I found this issue on github.

How kan i in kubernets set the ingress to listen to options without basic auth and for all other options have basic auth. Is there any annotation for traefik.frontend.rule=Method:GET,POST,PUT,PATCH,DELETE?