Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ faas-netes | |
|
||
.vscode | ||
of_kind_portforward.pid | ||
/kind* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# echo "go get -u sigs.k8s.io/kind@v0.4.0" | ||
|
||
# export GO111MODULE="on" | ||
# go get -u sigs.k8s.io/kind@v0.4.0 | ||
|
||
# Edited by Alex Ellis - KinD via binary is *much* faster, | ||
# Go modules now adds several minutes to the build / test time :-( | ||
curl -SLfs https://github.com/kubernetes-sigs/kind/releases/download/v0.5.1/kind-linux-amd64 > kind-linux-amd64 | ||
|
||
export VER="v0.7.0" | ||
echo "Downloading KinD $VER" | ||
curl -SLfs https://github.com/kubernetes-sigs/kind/releases/download/$VER/kind-linux-amd64 > kind-linux-amd64 | ||
chmod +x kind-linux-amd64 | ||
sudo mv kind-linux-amd64 /usr/local/bin/kind |