-
Notifications
You must be signed in to change notification settings - Fork 618
Fix mt-broker-ingress auth to work with structured event too #8710
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
Fix mt-broker-ingress auth to work with structured event too #8710
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #8710 +/- ##
==========================================
+ Coverage 51.59% 51.61% +0.01%
==========================================
Files 401 401
Lines 25431 25459 +28
==========================================
+ Hits 13122 13141 +19
- Misses 11507 11511 +4
- Partials 802 807 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Cali0707
left a comment
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
Thanks for fixing @creydr !
|
|
||
| // CopyRequest makes a copy of the http request which can be consumed as needed, leaving the original request | ||
| // able to be consumed as well. | ||
| func CopyRequest(req *http.Request) (*http.Request, error) { |
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.
wanna add a test to utils_test?
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.
👍 f8211ac
|
https://github.com/knative/eventing/blob/main/pkg/channel/event_receiver.go#L285-L319 looks like a similar problem. |
Cali0707
left a comment
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: Cali0707, creydr The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test upgrade-tests |
|
/cherry-pick release-1.19 |
|
/cherry-pick release-1.18 |
|
@creydr: new pull request created: #8713 DetailsIn 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-sigs/prow repository. |
|
@creydr: new pull request created: #8714 DetailsIn 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-sigs/prow repository. |
…#8710) * Fix mt-broker-ingress auth to work with structured event too * Fix channel receiver auth to work with structured event too * Add unit test
…#8710) * Fix mt-broker-ingress auth to work with structured event too * Fix channel receiver auth to work with structured event too * Add unit test
…#8710) * Fix mt-broker-ingress auth to work with structured event too * Fix channel receiver auth to work with structured event too * Add unit test
…#8710) * Fix mt-broker-ingress auth to work with structured event too * Fix channel receiver auth to work with structured event too * Add unit test
Fixes #8707