@@ -90,6 +90,40 @@ var _ = ginkgo.Describe("[blob-csi-e2e] Dynamic Provisioning", func() {
90
90
test .Run (ctx , cs , ns )
91
91
})
92
92
93
+ ginkgo .It ("should create a volume on demand with storage account having shared access key disabled" , func (ctx ginkgo.SpecContext ) {
94
+ pods := []testsuites.PodDetails {
95
+ {
96
+ Cmd : "echo 'hello world' > /mnt/test-1/data && grep 'hello world' /mnt/test-1/data" ,
97
+ Volumes : []testsuites.VolumeDetails {
98
+ {
99
+ ClaimSize : "10Gi" ,
100
+ MountOptions : []string {
101
+ "-o allow_other" ,
102
+ "--file-cache-timeout-in-seconds=120" ,
103
+ "--cancel-list-on-mount-seconds=0" ,
104
+ },
105
+ VolumeMount : testsuites.VolumeMountDetails {
106
+ NameGenerate : "test-volume-" ,
107
+ MountPathGenerate : "/mnt/test-" ,
108
+ },
109
+ },
110
+ },
111
+ },
112
+ }
113
+ test := testsuites.DynamicallyProvisionedCmdVolumeTest {
114
+ CSIDriver : testDriver ,
115
+ Pods : pods ,
116
+ StorageClassParameters : map [string ]string {
117
+ "skuName" : "Standard_GRS" ,
118
+ "storeAccountKey" : "false" ,
119
+ "allowSharedKeyAccess" : "false" ,
120
+ "AzureStorageAuthType" : "msi" ,
121
+ "AzureStorageIdentityClientID" : "dummy" ,
122
+ },
123
+ }
124
+ test .Run (ctx , cs , ns )
125
+ })
126
+
93
127
ginkgo .It ("should create a volume on demand with mount options" , func (ctx ginkgo.SpecContext ) {
94
128
pods := []testsuites.PodDetails {
95
129
{
0 commit comments