-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Channel dispatcher authenticates the requests with OIDC (#7445)
* Channel dispatcher authenticates the requests with OIDC Signed-off-by: Calum Murray <[email protected]> * Add feature store to the context Signed-off-by: Calum Murray <[email protected]> * Small fixes to status update patches Signed-off-by: Calum Murray <[email protected]> * mostly fixed unit tests Signed-off-by: Calum Murray <[email protected]> * Debugged unit test Signed-off-by: Calum Murray <[email protected]> * Add audience to WithSubcriber function Signed-off-by: Calum Murray <[email protected]> * Added rekt test for channel dispatcher Signed-off-by: Calum Murray <[email protected]> * Added validation that the channel.spec.subscribers is only updated by eventing-controller Signed-off-by: Calum Murray <[email protected]> * Added Auth to subscribable spec Signed-off-by: Calum Murray <[email protected]> * Fix unit test Signed-off-by: Calum Murray <[email protected]> * use spec.auth instead of status.auth for channel subscription service account name Signed-off-by: Calum Murray <[email protected]> * Remove unused var Signed-off-by: Calum Murray <[email protected]> * fix: add auth to channel and imc CRDs Signed-off-by: Calum Murray <[email protected]> * fix: allow imc dispatcher to create SA tokens Signed-off-by: Calum Murray <[email protected]> * Move subscription update validation from channel to imc Signed-off-by: Calum Murray <[email protected]> * fix: use the proper kref in the channel dispatcher OIDC test Signed-off-by: Calum Murray <[email protected]> * Update test/auth/oidc_test.go Co-authored-by: Christoph Stäbler <[email protected]> * Log out which username tries to edit the subscribers Signed-off-by: Calum Murray <[email protected]> * Added unit test for IMC validation of user updating spec.subscribers Signed-off-by: Calum Murray <[email protected]> * Try new username for service account Signed-off-by: Calum Murray <[email protected]> * Update conformance test Signed-off-by: Calum Murray <[email protected]> * set permissions on clusterrole Signed-off-by: Calum Murray <[email protected]> * Remove unnecessary auth Signed-off-by: Calum Murray <[email protected]> * fix rekt conformance test Signed-off-by: Calum Murray <[email protected]> * Fix imports Signed-off-by: Calum Murray <[email protected]> * fix imports again :) Signed-off-by: Calum Murray <[email protected]> * maybe fix the nil pointer reference Signed-off-by: Calum Murray <[email protected]> * fix test Signed-off-by: Calum Murray <[email protected]> * fix possible panic Signed-off-by: Calum Murray <[email protected]> --------- Signed-off-by: Calum Murray <[email protected]> Co-authored-by: Christoph Stäbler <[email protected]>
- Loading branch information
Showing
28 changed files
with
378 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.