@@ -92,6 +92,40 @@ var _ = ginkgo.Describe("[blob-csi-e2e] Dynamic Provisioning", func() {
9292 test .Run (ctx , cs , ns )
9393 })
9494
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+
95129 ginkgo .It ("should create a volume on demand with mount options" , func (ctx ginkgo.SpecContext ) {
96130 pods := []testsuites.PodDetails {
97131 {
0 commit comments