mirror of https://github.com/k3s-io/k3s
Merge pull request #74705 from johscheuer/remove-dead-csi-e2e-code
Remove unused code from CSI e2e testsk3s-v1.15.3
commit
db44f31bff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue