Skip to content

Commit 19a614b

Browse files
committed
disable default installation of pdcsi drriver at kube-up
1 parent 7f5fa35 commit 19a614b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/k8s-integration/cluster.go

+7
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ func clusterUpGCE(k8sDir, gceZone string, numNodes int, imageType string) error
108108
}
109109
}
110110

111+
// we shouldn't install pd-csi driver when spinning up the cluster if we launch the test
112+
// from here
113+
err = os.Setenv("ENABLE_PDCSI_DRIVER", "false")
114+
if err != nil {
115+
return err
116+
}
117+
111118
err = os.Setenv("KUBE_GCE_ZONE", gceZone)
112119
if err != nil {
113120
return err

0 commit comments

Comments
 (0)