Skip to content

Commit 12c6c81

Browse files
committed
feat: change azure disk api-version
1 parent 21d4d13 commit 12c6c81

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/volume/azure_dd/azure_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939
)
4040

4141
const (
42-
defaultStorageAccountType = compute.StandardLRS
42+
defaultStorageAccountType = compute.StandardSSDLRS
4343
defaultAzureDiskKind = v1.AzureManagedDisk
4444
defaultAzureDataDiskCachingMode = v1.AzureDataDiskCachingReadOnly
4545
)

pkg/volume/azure_dd/azure_common_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func TestNormalizeStorageAccountType(t *testing.T) {
146146
}{
147147
{
148148
storageAccountType: "",
149-
expectedAccountType: compute.StandardLRS,
149+
expectedAccountType: compute.StandardSSDLRS,
150150
expectError: false,
151151
},
152152
{

staging/src/k8s.io/legacy-cloud-providers/azure/clients/diskclient/interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727

2828
const (
2929
// APIVersion is the API version for compute.
30-
APIVersion = "2019-07-01"
30+
APIVersion = "2019-11-01"
3131
)
3232

3333
// Interface is the client interface for Disks.

0 commit comments

Comments
 (0)