tests/e2e/travis-e2e.sh: Switch to 1.17 k8s cluster

This commit is contained in:
Lili Cosic
2020-01-09 12:49:57 +01:00
parent 932745172d
commit 8b36950f0e

View File

@@ -10,10 +10,10 @@ set -x
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x kubectl chmod +x kubectl
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.4.0/kind-linux-amd64 curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.6.1/kind-linux-amd64
chmod +x kind chmod +x kind
./kind create cluster ./kind create cluster --image=kindest/node:v1.17.0
export KUBECONFIG="$(./kind get kubeconfig-path)" export KUBECONFIG="$(./kind get kubeconfig-path)"
# create namespace, permissions, and CRDs # create namespace, permissions, and CRDs