e2e: enable topology based provisioning

as we are testing the topology based
provisioning in our E2E, we need to set
topology=true in E2E.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2020-12-08 16:12:31 +05:30
committed by mergify[bot]
parent e3d1ba7703
commit 7d3bff0654
2 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,7 @@ func createORDeleteRbdResouces(action string) {
e2elog.Failf("failed to read content from %s with error %v", rbdDirPath+rbdProvisioner, err)
}
data = oneReplicaDeployYaml(data)
data = enableTopologyInTemplate(data)
_, err = framework.RunKubectlInput(cephCSINamespace, data, action, ns, "-f", "-")
if err != nil {
e2elog.Failf("failed to %s rbd provisioner with error %v", action, err)