-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Add override for proxy_intercept_errors when using Custom HTTP Errors #9497
Conversation
@chriss-de: 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. |
Hi @chriss-de. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
My apologies for creating a new PR on this matter. |
/retest |
@chriss-de: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
I have reversed the logic so its more clear what you are doing. |
|
@tao12345666333 ok? |
thanks, let me take a look |
Hi @chriss-de , many thanks for fixing that linting issue and also thanks @tao12345666333 for taking resposibility to rwiew this code. Merging it wil help us so much) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, left some comments.
/ok-to-test
Could you please resolve the comments and conflicts? Thanks |
Changed text as commented in PR Added client response e2e tests
Hi @tao12345666333, is there anything stopping this being merged now? I don't want to be unappreciative as I'm sure you've got a lot on your plate but, from what I see, @chriss-de is doing as much as possible to move this forward and replied to your comments "25 mins" after you posted them. It just seems like this issue is looked at once every 1-2 weeks regardless of activity on the PR. Would it help if we were to ping you when we see movement? I've held back up until now because I didn't want to start spamming 😅 but I could keep an eye on it and give you a gentle reminder if it helps. Again, no animosity here as I'm sure you are really busy. Just trying to help move this along. |
Thank you for your reminder. Before this PR was rebased, I was just waiting for the rebase. |
I will do a final review today. Thank you all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chriss-de, tao12345666333 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
thank you @tao12345666333 - Last question, do you or @strongjz know when the next release will be coming out? Looking forward to this feature 💪 |
/cherry-pick release-1.9 |
@strongjz: #9497 failed to apply on top of branch "release-1.9":
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. |
Is that sth I have to fix? |
@strongjz not sure if this has slipped under the radar. Does anything need to be done on this PR? |
@sboardwell I checked - its in main/master - maybe not release 1.9 but its merged |
Let me do the cherry-picking manually |
Hi @tao12345666333 We just updated to 1.9.5, was it supposed to be included here? |
@Richard87 I believe it's included but I think it's not working as expected. Was anyone able to apply this on v1.9.5? |
@Abbas-b-b I also couldn’t get this functionality on either 1.9.5 or 1.9.6. |
@emelyanovvictor It has been removed in 1.9.6 and 4.9.1. #10832 #10919 |
This PR adds a new flag to the global ConfigMap configurations and Ingress Annotations to disable the proxy_intercept_errors setting in nginx.conf when using CustomHTTPErrors.
What this PR does / why we need it:
The motivation behind this change is to enable the use case outlined in #8376. We would like to be able to override the default nginx error pages (e.g. 503 service unavailable and 404 not found) with a custom error page without intercepting genuine error responses from proxied services.
Types of changes
Which issue/s this PR fixes
fixes #8376
solves #9026
solves #8435
solves #9211
How Has This Been Tested?
Added unit tests to cover this change. Tested in our datacenter and confirmed fix by applying annotations for proxy-intercept-errors and custom-http-errors.
Checklist:
Does my pull request need a release note?