Convert resource group name in Azure provider ID to lower cases #74882
What type of PR is this?
What this PR does / why we need it:
The resource group name in Azure VM's ID may be in different cases from time to time. This would cause the node's providerID are also in different cases.
While it's still working, this different cases issue may introduce troubles for external components that are dpending on providerID (e.g. cluster autoscaler).
This PR converts the resource group name in Azure provider ID to lower cases, so that all nodes' providerID are still in same cases in such case.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: feiskyer
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing
andyzhangx left a comment
there are other functions like
Other IDs are used only internally, hence it's ok of any cases. Only exposed providerID is required for conversion.