Skip to content
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

Add azure-workload auth to MSSQL scaler #6161

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rickbrouwer
Copy link
Contributor

@rickbrouwer rickbrouwer commented Sep 13, 2024

  • Refactor the scaler to match the new metadata guidelines.
  • Added azure-workload auth

Checklist

Fixes #6104
Relates to #5797

@rickbrouwer rickbrouwer requested a review from a team as a code owner September 13, 2024 13:38
@rickbrouwer rickbrouwer marked this pull request as draft September 13, 2024 13:38
pkg/scalers/mssql_scaler.go Fixed Show fixed Hide fixed
pkg/scalers/mssql_scaler.go Fixed Show fixed Hide fixed
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
Signed-off-by: rickbrouwer <rickbrouwer@gmail.com>
@rickbrouwer
Copy link
Contributor Author

Hi @tomkerkhove

I was refactoring the MSSQL scaler to match the new metadata guidelines. I thought I would also nice to add the requested Azure workload feature. I do not work with Azure myself and I mainly have to rely on reading about it. The unittest is successful, but I would like to see this very well checked. Could you check this PR? If I'm completely off track I could also leave it at just refactoring.

@tomkerkhove
Copy link
Member

Thanks a ton!

Sadly, I don't do code contributions here so maybe @kedacore/keda-contributors can help with review

@rickbrouwer
Copy link
Contributor Author

Hi @pauldotyu!

I saw that you did a lot of work for the Azure workload identity, for example with the RabbitMQ. I was refactoring the MSSQL scaler to match the new metadata guidelines. I thought I would also nice to add the #6104 Azure workload feature. I do not work with Azure myself and I mainly have to rely on reading about it. The unittest is successful, but I would like to see this very well checked.

Is this something you can look into? If I'm completely off track, please let me know.

@tomkerkhove
Copy link
Member

Let's not poke random people and wait for the group that I have mentioned please =)

@tomkerkhove
Copy link
Member

Also, if the PR is ready for review - Please publish it. Draft PRs are typically WIP PRs

@rickbrouwer rickbrouwer changed the title WIP: Add azure-workload auth to MSSQL scaler Add azure-workload auth to MSSQL scaler Sep 17, 2024
@rickbrouwer rickbrouwer marked this pull request as ready for review September 17, 2024 08:58
@rickbrouwer
Copy link
Contributor Author

Let's not poke random people and wait for the group that I have mentioned please =)

my sincere apologies

@tomkerkhove
Copy link
Member

No worries

@tomkerkhove
Copy link
Member

tomkerkhove commented Sep 17, 2024

/run-e2e *
Update: You can check the progress here

@JorTurFer
Copy link
Member

I think that we could cover this with e2e test as we have an Azure subscription. Could you open a PR to the testing infra repo to spin up and configure the database?

@rickbrouwer
Copy link
Contributor Author

I think that we could cover this with e2e test as we have an Azure subscription. Could you open a PR to the testing infra repo to spin up and configure the database?

Is a feature request in https://github.com/kedacore/testing-infrastructure ok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSSQL trigger can't connect to SQL Server on Azure using azure-workload auth
3 participants