Skip to content

Fix azure join when filtering by resource group#42128

Merged
marcoandredinis merged 2 commits intomasterfrom
marco/fix-discovery-azure-resourcegroup-cmp
May 29, 2024
Merged

Fix azure join when filtering by resource group#42128
marcoandredinis merged 2 commits intomasterfrom
marco/fix-discovery-azure-resourcegroup-cmp

Conversation

@marcoandredinis
Copy link
Copy Markdown
Contributor

@marcoandredinis marcoandredinis commented May 29, 2024

Azure Resource Groups are not case sensitive.
The API usually returns them in all caps.
When deciding whether to accept a new node using the azure join method, we should ignore the case of the resource groups.

changelog: Fix Azure join method when using Resource Groups in the allow section.

Comment thread lib/auth/join_azure.go Outdated
Comment thread lib/auth/join_azure_test.go Outdated
Azure Resource Groups are not case sensitive.
The API usually returns them in all caps.
When deciding whether to accept a new node using the azure join method,
we should ignore the case of the resource groups.
@marcoandredinis marcoandredinis force-pushed the marco/fix-discovery-azure-resourcegroup-cmp branch from 5953403 to 339d82f Compare May 29, 2024 15:42
@marcoandredinis marcoandredinis enabled auto-merge May 29, 2024 15:43
@marcoandredinis marcoandredinis added this pull request to the merge queue May 29, 2024
Merged via the queue into master with commit ac0780d May 29, 2024
@marcoandredinis marcoandredinis deleted the marco/fix-discovery-azure-resourcegroup-cmp branch May 29, 2024 16:18
@public-teleport-github-review-bot
Copy link
Copy Markdown

@marcoandredinis See the table below for backport results.

Branch Result
branch/v14 Create PR
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants