-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Enable Azure Workload Identity to authorize against RabbitMQ manageme… #4657
Conversation
I'm currently not sure how to provide e2e test for this. I have checked, that workload identity are not checked even in most of azure scalers. To provide e2e test, there would need to be Azure AD app registration in test environment. I can provide with details about configuring this app registration in test tenant if needed. |
8397cdd
to
9bbcf85
Compare
@JorTurFer can help with this one, most likely 😄 |
What do you mean? I believe that all the Azure scalers are tested without any pod identity, with AAD pod identity and also with workload identity. What would you need for adding the e2e test? I guess that you need an Azure App registration which exposes an api, and granting permissions over that api, am I right? We have a repository for managing e2e test infrastructure using terraform (the repo is testing-infrastructure), if you open a PR there adding whatever you need, it will be available for e2e tests. We can help you too if you explain us what do you need exactly |
Yeah, I would need application registration in Azure AD to use as OAuth scope. I will prepare PR into testing-infrastructure with proper Since there is no |
9bbcf85
to
62a51bf
Compare
I think so, but if it couldn't, we can escalate the SP permissions |
I have added e2e tests, but it needs to wait until resolve kedacore/testing-infrastructure#114 (comment). With infrastructure locally created using terraform-infrastructure, added E2E tests are ok. OT: Are there any logs of previous e2e tests runs available publicly? I cannot find any and I cannot understand how would current rabbitmq tests work. There were missing imports (so tests wont compile), wrong |
/run-e2e rabbit |
0368ebd
to
890bf19
Compare
Changes introduced in kedacore/keda#4657 Signed-off-by: KratkyZobak <[email protected]>
40b1bd6
to
67a295e
Compare
Hi @kratkyzobak , |
…nt API Signed-off-by: Jakub Adamus <[email protected]>
…bbitmq generic tests Signed-off-by: Jakub Adamus <[email protected]>
67a295e
to
c9c6f1b
Compare
@JorTurFer fixed. Sorry for that. I used rebase button in Github, but I have different email locally than in Github account. |
/run-e2e rabbit |
Add missing issue link Signed-off-by: KratkyZobak <[email protected]>
Signed-off-by: KratkyZobak <[email protected]>
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
Díky!
kedacore#4657) Signed-off-by: Jakub Adamus <[email protected]> Signed-off-by: KratkyZobak <[email protected]> Co-authored-by: Jakub Adamus <[email protected]> Co-authored-by: Jakub Adamus <[email protected]>
This PR provides support for Azure AD Workload Identity authorization against RabbitMQ HTTP API in RabbitMQ scaler. This utilizes generic OIDC support introduced in RabbitMQ 3.11
Checklist
Fixes #4716
Relates to #