From 485a98a1116b1b61b1796c17b5b405adf4f938cd Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Mon, 24 May 2021 04:47:52 +0000 Subject: [PATCH] test: run externel tests with 1.21 suites --- deploy/example/storageclass-nfs.yaml | 2 +- test/external-e2e/run.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/example/storageclass-nfs.yaml b/deploy/example/storageclass-nfs.yaml index d3f7d748..9704c9dd 100644 --- a/deploy/example/storageclass-nfs.yaml +++ b/deploy/example/storageclass-nfs.yaml @@ -7,7 +7,7 @@ provisioner: nfs.csi.k8s.io parameters: server: nfs-server.default.svc.cluster.local share: / -reclaimPolicy: Retain +reclaimPolicy: Delete volumeBindingMode: Immediate mountOptions: - hard diff --git a/test/external-e2e/run.sh b/test/external-e2e/run.sh index c41c5840..fffe607f 100644 --- a/test/external-e2e/run.sh +++ b/test/external-e2e/run.sh @@ -24,8 +24,8 @@ install_ginkgo () { } setup_e2e_binaries() { - # download k8s external e2e binary for kubernetes v1.20 - curl -sL https://storage.googleapis.com/kubernetes-release/release/v1.20.0/kubernetes-test-linux-amd64.tar.gz --output e2e-tests.tar.gz + # download k8s external e2e binary + curl -sL https://storage.googleapis.com/kubernetes-release/release/v1.21.0/kubernetes-test-linux-amd64.tar.gz --output e2e-tests.tar.gz tar -xvf e2e-tests.tar.gz && rm e2e-tests.tar.gz # install the csi driver nfs