-
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
Issue 4244 #4619
Issue 4244 #4619
Conversation
Welcome @aspacca! |
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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 understand the commands that are listed here. |
Hi @aspacca. 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. |
/assign @bowei |
/ok-to-test |
@aspacca please squash the commits |
@aledbf squashed |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: aspacca The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@aspacca thanks!. Once this passes the tests I will merge it and include it in the fix release 0.26.1 to be released today. |
Codecov Report
@@ Coverage Diff @@
## master #4619 +/- ##
=========================================
Coverage ? 58.67%
=========================================
Files ? 88
Lines ? 6764
Branches ? 0
=========================================
Hits ? 3969
Misses ? 2356
Partials ? 439
Continue to review full report at Codecov.
|
Please open a new PR with the e2e test. This new test should be similar to https://github.com/kubernetes/ingress-nginx/blob/c85450c1e7eff7df36e06dc61caa51a4e2c60526/test/e2e/settings/listen_nondefault_ports.go. You need to create a directory, similar to https://github.com/kubernetes/ingress-nginx/tree/master/test/e2e-image/namespace-overlays/forwarded-port-headers changing the probe paths. |
What this PR does / why we need it:
--health-check-path
param is broken, only defaulthealthz
value is working.Needed for integration with custom ingress controllers that need hardcoded health check path (like https://github.com/zalando-incubator/kube-ingress-aws-controller)
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #fixes #4244
Special notes for your reviewer:
I added one test case in internal/ingress/controller/checker_test.go:35 (
TestNginxCheck
), not so useful and maybe an e2e test would be rather needed, but I'd need some guidance to add one of this