diff --git a/test/e2e/storage/drivers/csi_objects.go b/test/e2e/storage/drivers/csi_objects.go index f490b2d799a..8d2e2a389b8 100644 --- a/test/e2e/storage/drivers/csi_objects.go +++ b/test/e2e/storage/drivers/csi_objects.go @@ -20,7 +20,6 @@ limitations under the License. package drivers import ( - "flag" "fmt" "io/ioutil" "os" @@ -37,17 +36,6 @@ import ( e2elog "k8s.io/kubernetes/test/e2e/framework/log" ) -var ( - csiImageVersion = flag.String("storage.csi.image.version", "", "overrides the default tag used for hostpathplugin/csi-attacher/csi-provisioner/driver-registrar images") - csiImageRegistry = flag.String("storage.csi.image.registry", "quay.io/k8scsi", "overrides the default repository used for hostpathplugin/csi-attacher/csi-provisioner/driver-registrar images") - csiImageVersions = map[string]string{ - "hostpathplugin": "v0.4.0", - "csi-attacher": "v0.4.0", - "csi-provisioner": "v0.4.0", - "driver-registrar": "v0.4.0", - } -) - func shredFile(filePath string) { if _, err := os.Stat(filePath); os.IsNotExist(err) { e2elog.Logf("File %v was not found, skipping shredding", filePath)