-
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
Add CustomHTTPErrors directive #11699
Add CustomHTTPErrors directive #11699
Conversation
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-sigs/prow repository. |
@@ -186,6 +186,8 @@ func TestCrossplaneTemplate(t *testing.T) { | |||
tplConfig.Cfg.UpstreamKeepaliveTimeout = 200 | |||
tplConfig.Cfg.UpstreamKeepaliveRequests = 15 | |||
|
|||
tplConfig.Cfg.CustomHTTPErrors = []int{400, 404, 501} |
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.
On the upstream branch, https://github.com/kubernetes/ingress-nginx/blob/feature-go-crossplane/internal/ingress/controller/template/crossplane/crossplane_test.go#L164 exists.
You probably need to rebase and remove this line, and keep just your custom http errors (400, 404, etc)
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.
I didn't see that the test existed. I prefer to keep the original.
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MrErlison, rikatz 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 |
3a93c9d
into
kubernetes:feature-go-crossplane
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
* Add CustomHTTPErrors directive * Fix: Add missing '=' in error_page directive
What this PR does / why we need it:
Add CustomHTTPErrors directive, test and status
Types of changes
Which issue/s this PR fixes
How Has This Been Tested?
Checklist:
/cc @rikatz