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
pull/564/head
andyzhangx 2018-12-20 05:08:44 +00:00
parent 6902f3112d
commit 53145d793e
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ import (
const (
defaultStorageAccountType = compute.StandardLRS
defaultAzureDiskKind = v1.AzureManagedDisk
defaultAzureDataDiskCachingMode = v1.AzureDataDiskCachingNone
defaultAzureDataDiskCachingMode = v1.AzureDataDiskCachingReadOnly
)
type dataDisk struct {