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