notification-controller/internal/server
Dipti Pai 0beb3d02f7 Managed Identity support for Azure Event Hubs. Changes include -
- If authentication token is not specified in provider, attempt to get the token using workload identity.
= Add new field .spec.serviceAccountName to support multi-tenant workload identity as defined in RFC-0010 to use an identity with a service account other than the notification-controller.
- Use proxy to get the token if specified in provider spec.
- Cache the tokens if enabled in the notification controller options.
- If address has SAS connection string, use that for authentication, this takes priority over token-authentication
- If static JWT token is specified in the secret reference, use it for authentication, this takes priority over workload identity-acquired token.
- Update RBAC for notification-controller to be able to create service token requests.
- Add unit tests for the 3 authentication mechanisms (SAS, JWT, managed identity).
- Add documentation for using single-tenant and multi-tenant approaches of workload identity with azureeventhub provider.
- Add operation post to github helpers and provider controller for cache event metrics
- Enable token cache by default.

Signed-off-by: Dipti Pai <diptipai89@outlook.com>

review comments

Signed-off-by: Dipti Pai <diptipai89@outlook.com>

enable cache by default

Signed-off-by: Dipti Pai <diptipai89@outlook.com>
2025-05-05 12:03:52 -07:00
..
testdata Refactor event handler 2023-11-28 16:17:03 +05:30
event_handlers.go Managed Identity support for Azure Event Hubs. Changes include - 2025-05-05 12:03:52 -07:00
event_handlers_test.go [RFC-007] GitHub App authentication support for github and github-dispatch providers. 2025-03-20 14:18:10 -07:00
event_server.go [RFC-007] GitHub App authentication support for github and github-dispatch providers. 2025-03-20 14:18:10 -07:00
event_server_test.go [RFC-007] GitHub App authentication support for github and github-dispatch providers. 2025-03-20 14:18:10 -07:00
provider_commit_status.go feat: support CEL expressions to construct commit statuses for v1beta3 provider types 2025-03-14 08:53:55 -04:00
provider_commit_status_test.go feat: support CEL expressions to construct commit statuses for v1beta3 provider types 2025-03-14 08:53:55 -04:00
receiver_handler_test.go Improvements after CEL resource filtering 2025-02-12 16:46:59 +00:00
receiver_handlers.go Improvements after CEL resource filtering 2025-02-12 16:46:59 +00:00
receiver_resource_filter.go Implement Receiver resource filtering with CEL 2025-02-10 16:21:50 +00:00
receiver_resource_filter_test.go Fix add missing return statement and a few style issues 2025-02-12 11:17:50 +00:00
receiver_server.go Implement Receiver resource filtering with CEL 2025-02-10 16:21:50 +00:00