Skip to content

Commit

Permalink
fix: Kind already supports PVC
Browse files Browse the repository at this point in the history
As of Dec 11, 2019: kubernetes-sigs/kind#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.
  • Loading branch information
alejandroEsc committed Apr 14, 2020
1 parent 74bc4ad commit 3a640e2
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -142,7 +127,6 @@ main() {
trap cleanup EXIT

create_kind_cluster
install_local-path-provisioner
install_tiller
install_dummylb
install_certmanager
Expand Down

0 comments on commit 3a640e2

Please sign in to comment.