mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
fix azure disk create failure due to sdk upgrade
This commit is contained in:
parent
ecc64f2e6e
commit
292226195b
@ -490,6 +490,8 @@ func (c *BlobDiskController) createStorageAccount(storageAccountName string, sto
|
|||||||
|
|
||||||
cp := storage.AccountCreateParameters{
|
cp := storage.AccountCreateParameters{
|
||||||
Sku: &storage.Sku{Name: storageAccountType},
|
Sku: &storage.Sku{Name: storageAccountType},
|
||||||
|
// switch to use StorageV2 as it's recommended according to https://docs.microsoft.com/en-us/azure/storage/common/storage-account-options
|
||||||
|
Kind: storage.StorageV2,
|
||||||
Tags: map[string]*string{"created-by": to.StringPtr("azure-dd")},
|
Tags: map[string]*string{"created-by": to.StringPtr("azure-dd")},
|
||||||
Location: &location}
|
Location: &location}
|
||||||
ctx, cancel := getContextWithCancel()
|
ctx, cancel := getContextWithCancel()
|
||||||
|
Loading…
Reference in New Issue
Block a user