Upgrade to latest Azure Go SDK from out-of-support go-autorest #91
Labels
kind/enhancement
Enhancement, improvement, extension
priority/critical
Needs to be resolved soon, because it impacts users negatively
status/closed
Issue is closed (either delivered or triaged)
Milestone
What would you like to be added:
Currently the
go-autorest
version we are using is out of support as of March 31 2023. Also there is no way to re-generate mocks using Makefile, which makes it tough for external contributors to contribute.Tasks:
API Changes
in-tree
constants defined inazure_provider_spec.go
and adapt its usage.MachineSet
which was introduced in Azure MachineSet: VM ScaleSet or AvailabilitySet machine-controller-manager#519 and introduce a new fieldVirtualMachineScaleSet
directly underAzureVirtualMachineProperties
which will also be in line with azure-go-sdk-VirtualMachinePropertiesCRD Changes
VirtualMachineScaleSet
Implementation Changes
Delete
for both NIC and Disks. This will ensure that when the VM gets deleted the associated disks and nics will also be deleted.VMSS Support
During refactoring an issue w.r.t VMSS support was identified. It was collectively decided that we will not handle this issue as part of this issue so a separate issue has been created to fix VMSS support.
Metrics
Misc
Tests
Out of Scope
Why is this needed:
Current
go-autorest
is no longer supported by Azure/MS. It is therefore recommended by Azure to move to their new set of APIs.The text was updated successfully, but these errors were encountered: