Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#522 from kubernetes-sigs/fix-intre…
Browse files Browse the repository at this point in the history
…e-e2e

test: fix in-tree e2e test failure
  • Loading branch information
andyzhangx authored Jan 9, 2021
2 parents 60b0383 + 1c2d2a8 commit 0931677
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions test/e2e/dynamic_provisioning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,18 @@ var _ = ginkgo.Describe("Dynamic Provisioning", func() {
IsWindows: isWindowsCluster,
},
}

scParameters := map[string]string{
"skuName": "Standard_LRS",
"sectetNamespace": "test",
}
if !isUsingInTreeVolumePlugin {
scParameters["secretName"] = "sercet-test"
}
test := testsuites.DynamicallyProvisionedCmdVolumeTest{
CSIDriver: testDriver,
Pods: pods,
StorageClassParameters: map[string]string{
"skuName": "Standard_LRS",
"secretName": "sercet-test",
"secretNamespace": "kube-system",
},
CSIDriver: testDriver,
Pods: pods,
StorageClassParameters: scParameters,
}
test.Run(cs, ns)
})
Expand Down

0 comments on commit 0931677

Please sign in to comment.