-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nginx ingress version > 3.34.0 request_method OPTION #8643
Comments
@mike-serchenia: This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
/remove-lifecycle stale |
@mike-serchenia this is the only CORS related PR I could find that matches that time window #7134. But it was reverted within 4 days. So still searching for the PR that removed that expose-headers directive. The expose directive was added in 2020 earlier but so wierd to see the impact in 2021. I still don't think that the expose-headers directive is possible without a snippet, like you mentioned. But this issue is 2 years old so wondering if its still active for you. I will close it for now as we are now in version 1.10.1of the controller so a rebase and retest is needed anyways. Please re-open if you want to still engage on this but kindly test with the latest release of the controller. thanks /kind support /close |
@longwuyuan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Kubernetes version (use
kubectl version
):Environment:
Kernel (e.g.
uname -a
): 5.4.0-1067-gke Nginx: support hiding version number (server_tokens off;) ? #70-Ubuntu SMP Wed Mar 30 03:58:47 UTC 2022 x86_64 LinuxHow was the ingress-nginx-controller installed: helm
helm ls -A | grep -i ingress
helm -n <ingresscontrollernamepspace> get values <helmreleasename>
What happened:
Everything higher then (helm) 3.34.0 and the image controller: k8s.gcr.io/ingress-nginx/controller:v0.47.0 returns
x-original-method: OPTIONS
before upgrade it isx-original-method: GET
-eq to original Method. It breaks auth-url redirects ("nginx.ingress.kubernetes.io/auth-url" = http://oathkeeper.ory.svc.cluster.local:4456/decisions$request_uri
)I've noticed that config template has changed form:
To:
I've tried to use
"nginx.ingress.kubernetes.io/enable-cors" = "trueoptions"
ingress annotation but it didn't helpSo to use previous ingress behavior I use config-snippet like this
Is there better way to how to fix it rather then adding configuration-snippet to every ingress?
The text was updated successfully, but these errors were encountered: