Use kind v0.6.0

kind v0.6.0 appends the kubeconfig with the default config at
~/.kube/config.
This commit is contained in:
Sunny
2019-11-30 00:29:00 +05:30
parent 6d674a7f9a
commit 80bba1fe20

View File

@@ -107,8 +107,7 @@ configvar CSI_PROW_GO_VERSION_GINKGO "${CSI_PROW_GO_VERSION_BUILD}" "Go version
# kind version to use. If the pre-installed version is different, # kind version to use. If the pre-installed version is different,
# the desired version is downloaded from https://github.com/kubernetes-sigs/kind/releases/download/ # the desired version is downloaded from https://github.com/kubernetes-sigs/kind/releases/download/
# (if available), otherwise it is built from source. # (if available), otherwise it is built from source.
# TODO: https://github.com/kubernetes-csi/csi-release-tools/issues/39 configvar CSI_PROW_KIND_VERSION "v0.6.0" "kind"
configvar CSI_PROW_KIND_VERSION "86bc23d84ac12dcb56a0528890736e2c347c2dc3" "kind"
# ginkgo test runner version to use. If the pre-installed version is # ginkgo test runner version to use. If the pre-installed version is
# different, the desired version is built from source. # different, the desired version is built from source.
@@ -579,8 +578,7 @@ EOF
die "Cluster creation failed again, giving up. See the 'kind-cluster' artifact directory for additional logs." die "Cluster creation failed again, giving up. See the 'kind-cluster' artifact directory for additional logs."
fi fi
fi fi
KUBECONFIG="$(kind get kubeconfig-path --name=csi-prow)" export KUBECONFIG="${HOME}/.kube/config"
export KUBECONFIG
} }
# Deletes kind cluster inside a prow job # Deletes kind cluster inside a prow job