mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Use default skuname shared Azure Disk
Shared blob disks are now created with default skuname value if the referenced storage class possesses empty values for storageaccounttype and skuname. Prior, the provisioning process would fail if a new storage account needed to be created. This is because a storage account may not be created with an empty sotrageaccounttype.
This commit is contained in:
parent
59142b231c
commit
e543f9b2fe
@ -267,7 +267,7 @@ func (p *azureDiskProvisioner) Provision(selectedNode *v1.Node, allowedTopologie
|
||||
return nil, err
|
||||
}
|
||||
} else {
|
||||
diskURI, err = diskController.CreateBlobDisk(name, storage.SkuName(storageAccountType), requestGiB)
|
||||
diskURI, err = diskController.CreateBlobDisk(name, storage.SkuName(skuName), requestGiB)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user