From 19a614bde208f0551235fa81d3635dbc2f1b04f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9iy=C3=AC=20Zhang?= Date: Thu, 10 Jun 2021 21:11:17 +0000 Subject: [PATCH] disable default installation of pdcsi drriver at kube-up --- test/k8s-integration/cluster.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/k8s-integration/cluster.go b/test/k8s-integration/cluster.go index 893749130..dd1d272f1 100644 --- a/test/k8s-integration/cluster.go +++ b/test/k8s-integration/cluster.go @@ -108,6 +108,13 @@ func clusterUpGCE(k8sDir, gceZone string, numNodes int, imageType string) error } } + // we shouldn't install pd-csi driver when spinning up the cluster if we launch the test + // from here + err = os.Setenv("ENABLE_PDCSI_DRIVER", "false") + if err != nil { + return err + } + err = os.Setenv("KUBE_GCE_ZONE", gceZone) if err != nil { return err