Skip to content

Commit 53145d7

Browse files
committed
change azure disk host cache to ReadOnly by default
change cachingMode default value for azure disk PV revert back to ReadWrite in azure disk PV setting
1 parent 6902f31 commit 53145d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/volume/azure_dd/azure_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import (
4040
const (
4141
defaultStorageAccountType = compute.StandardLRS
4242
defaultAzureDiskKind = v1.AzureManagedDisk
43-
defaultAzureDataDiskCachingMode = v1.AzureDataDiskCachingNone
43+
defaultAzureDataDiskCachingMode = v1.AzureDataDiskCachingReadOnly
4444
)
4545

4646
type dataDisk struct {

0 commit comments

Comments
 (0)