-
Notifications
You must be signed in to change notification settings - Fork 601
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
Channel dispatcher authenticates the requests with OIDC #7445
Channel dispatcher authenticates the requests with OIDC #7445
Conversation
Signed-off-by: Calum Murray <cmurray@redhat.com>
Skipping CI for Draft Pull Request. |
@creydr I think my changes work, but not sure how to set up a good rekt test for them. Any ideas? |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #7445 +/- ##
==========================================
- Coverage 76.81% 76.71% -0.10%
==========================================
Files 253 253
Lines 14136 14200 +64
==========================================
+ Hits 10858 10894 +36
- Misses 2736 2757 +21
- Partials 542 549 +7 ☔ View full report in Codecov by Sentry. |
Hey @Cali0707,
|
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
/test 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.
Left just some comments from going very quickly over it.
BTW: you can also run the e2e tests locally via something like the following:
SYSTEM_NAMESPACE=knative-eventing KO_DOCKER_REPO=localhost:5001 go test -race -count=1 -timeout=1h -parallel=12 -v -run TestChannelDispatcherAuthenticatesWithOID -tags=e2e ./test/auth
… eventing-controller Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
config/channels/in-memory-channel/200-imc-dispatcher-serviceaccount.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
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 so far @Cali0707. Thanks for your work so far.
Only left a comment.
Can you only give a bit context on the conformance test changes?
@creydr the context on the conformance test changes is that we updated the webhook to reject changes to I tried to emulate those checks that the CRD supports the |
Signed-off-by: Calum Murray <cmurray@redhat.com>
/test conformance-tests |
Thanks for clarifying this @Cali0707. As the conformance tests might affect other implementations too: @pierDipi are you OK with updates too, or do you see any issues? |
/cc @pierDipi |
Signed-off-by: Calum Murray <cmurray@redhat.com>
/retest |
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 a lot @Cali0707 for working on this!
/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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #7364
Proposed Changes
Pre-review Checklist
Release Note
Docs