-
Notifications
You must be signed in to change notification settings - Fork 1.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
DomainMapping Overriding the default HTTP behavior #12786
DomainMapping Overriding the default HTTP behavior #12786
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wei840222 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 |
Welcome @wei840222! It looks like this is your first PR to knative/serving 🎉 |
Hi @wei840222. Thanks for your PR. I'm waiting for a knative 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. |
/ok-to-test |
Codecov Report
@@ Coverage Diff @@
## main #12786 +/- ##
==========================================
- Coverage 87.51% 87.49% -0.03%
==========================================
Files 196 196
Lines 9782 9795 +13
==========================================
+ Hits 8561 8570 +9
- Misses 934 936 +2
- Partials 287 289 +2
Continue to review full report at Codecov.
|
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.
Left one tiny suggestion but LGTM.
Could you edit #12786 (comment) and use your description for the Release Note draft as well? Current DRAFT:
TOBE:
|
hi @nak3 |
/retest-required |
hi @psschwei comment added |
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.
looks good to me, pending the rest of the test suite running
I just realized that actually we already have the similar logic
Could we reuse this function? I think we could move the existing function to a shared place as a helper function so that it could be used by this file. WDYT? |
@ZhiminXiang I tried. But I found in these lines The *config.Config are different type |
Could we modify the helper function to |
Hi |
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 @wei840222 for adopting the suggestion! It is in a good shape.
I left two small comments. After those two are addressed, this PR should be ready to merge. Thanks again!
Hi, @ZhiminXiang changes applied, plz check. thx a lot :) |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wei840222, ZhiminXiang 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 |
Thanks for making the contribution! |
Fixes #12755
Proposed Changes
Support annotations 'networking.knative.dev/http-protocol' for Overriding the default HTTP behavior per service in DomainMapping CRD
https://knative.dev/docs/serving/services/http-protocol/#overriding-the-default-http-behavior
Release Note