From 3a640e2560872b33ca8afdc420ac09dfb4c236aa Mon Sep 17 00:00:00 2001 From: alejandroEsc Date: Mon, 13 Apr 2020 20:49:21 -0700 Subject: [PATCH] fix: Kind already supports PVC As of Dec 11, 2019: https://github.com/kubernetes-sigs/kind/issues/118 Kind supports PVC, as such we do not need to install a new storage class. In addition the new storage class we do install is not set as default, which is a bug. --- test/e2e-kind.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/e2e-kind.sh b/test/e2e-kind.sh index 94fd367c6..fbe02778c 100755 --- a/test/e2e-kind.sh +++ b/test/e2e-kind.sh @@ -78,21 +78,6 @@ EOF echo } -install_local-path-provisioner() { - # kind doesn't support Dynamic PVC provisioning yet, this is one ways to - # get it working - # https://github.com/rancher/local-path-provisioner - - # Remove default storage class. It will be recreated by - # local-path-provisioner - docker_exec kubectl delete storageclass standard - - echo 'Installing local-path-provisioner...' - docker_exec kubectl apply -f \ - https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml - echo -} - install_tiller() { echo 'Installing tiller...' docker_exec kubectl --namespace kube-system create serviceaccount tiller @@ -142,7 +127,6 @@ main() { trap cleanup EXIT create_kind_cluster - install_local-path-provisioner install_tiller install_dummylb install_certmanager