Skip to content

Commit ceb478f

Browse files
authored
Merge pull request #3293 from shivi28/upgrade_kind_v0.12.0
Upgrade to use latest Kind version v0.12.0
2 parents 3da422c + 14fde5a commit ceb478f

File tree

6 files changed

+18
-9
lines changed

6 files changed

+18
-9
lines changed

docs/book/src/development/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- `chocolatey install jq` on Windows.
1212
- `sudo apt install jq` on Ubuntu Linux.
1313
3. Install [KIND][kind]
14-
- `GO111MODULE="on" go get sigs.k8s.io/kind@v0.11.0`.
14+
- `GO111MODULE="on" go get sigs.k8s.io/kind@v0.12.0`.
1515
4. Install [Kustomize][kustomize]
1616
- `brew install kustomize` on macOS.
1717
- `choco install kustomize` on Windows.

hack/ensure-kind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -o nounset
1919
set -o pipefail
2020

2121
GOPATH_BIN="$(go env GOPATH)/bin/"
22-
MINIMUM_KIND_VERSION=v0.11.0
22+
MINIMUM_KIND_VERSION=v0.12.0
2323

2424
# Ensure the kind tool exists and is a viable version, or installs it
2525
verify_kind_version() {

hack/tools/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
k8s.io/release v0.12.0
1919
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20211111175208-4cc2fce2111a
2020
sigs.k8s.io/controller-tools v0.7.1-0.20211110210727-ab52f76cc7d1
21-
sigs.k8s.io/kind v0.11.1
21+
sigs.k8s.io/kind v0.12.0
2222
sigs.k8s.io/kustomize/kustomize/v4 v4.5.2
2323
sigs.k8s.io/testing_frameworks v0.1.2
2424
)
@@ -74,7 +74,7 @@ require (
7474
github.com/esimonov/ifshort v1.0.4 // indirect
7575
github.com/ettle/strcase v0.1.1 // indirect
7676
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
77-
github.com/evanphx/json-patch/v5 v5.2.0 // indirect
77+
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
7878
github.com/fatih/color v1.13.0 // indirect
7979
github.com/fatih/structtag v1.2.0 // indirect
8080
github.com/fsnotify/fsnotify v1.5.1 // indirect

hack/tools/go.sum

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZ
9090
github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8=
9191
github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU=
9292
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
93+
github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
9394
github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU=
9495
github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
9596
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
@@ -465,8 +466,8 @@ github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi
465466
github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
466467
github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84=
467468
github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
468-
github.com/evanphx/json-patch/v5 v5.2.0 h1:8ozOH5xxoMYDt5/u+yMTsVXydVCbTORFnOOoq2lumco=
469-
github.com/evanphx/json-patch/v5 v5.2.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4=
469+
github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww=
470+
github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4=
470471
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
471472
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
472473
github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM=
@@ -2351,7 +2352,6 @@ k8s.io/api v0.23.0-alpha.4/go.mod h1:C2RqQ86jH9nM0YFGjLhKlfldBYLnBEb5sn+x50lF2zg
23512352
k8s.io/apiextensions-apiserver v0.23.0-alpha.4 h1:7mnbgfdBuuRcAd5T4Hq73t9PsaDw819b6DQPqbcEQds=
23522353
k8s.io/apiextensions-apiserver v0.23.0-alpha.4/go.mod h1:kigfmoeWZRvDkUtNCLd4vEVmVHU2jhi/8ISvK2v724c=
23532354
k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
2354-
k8s.io/apimachinery v0.20.2/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
23552355
k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
23562356
k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc=
23572357
k8s.io/apimachinery v0.23.0-alpha.4 h1:mLx8eaYBGBm13xsVXm+mA1njW30uRm6+KKExkm4h4Rc=
@@ -2420,8 +2420,8 @@ sigs.k8s.io/controller-tools v0.7.1-0.20211110210727-ab52f76cc7d1 h1:fsnXNyvliKA
24202420
sigs.k8s.io/controller-tools v0.7.1-0.20211110210727-ab52f76cc7d1/go.mod h1:h59umkqeBKj3TNpLmLoqDCwXDcbN+mkhQzlNjoUDJ3I=
24212421
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 h1:fD1pz4yfdADVNfFmcP2aBEtudwUQ1AlLnRBALr33v3s=
24222422
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs=
2423-
sigs.k8s.io/kind v0.11.1 h1:pVzOkhUwMBrCB0Q/WllQDO3v14Y+o2V0tFgjTqIUjwA=
2424-
sigs.k8s.io/kind v0.11.1/go.mod h1:fRpgVhtqAWrtLB9ED7zQahUimpUXuG/iHT88xYqEGIA=
2423+
sigs.k8s.io/kind v0.12.0 h1:LFynXwQkH1MrWI8pM1FQty0oUwEKjU5EkMaVZaPld8E=
2424+
sigs.k8s.io/kind v0.12.0/go.mod h1:EcgDSBVxz8Bvm19fx8xkioFrf9dC30fMJdOTXBSGNoM=
24252425
sigs.k8s.io/kubebuilder/docs/book/utils v0.0.0-20211028165026-57688c578b5d h1:KLiQzLW3RZJR19+j4pw2h5iioyAyqCkDBEAFdnGa3N8=
24262426
sigs.k8s.io/kubebuilder/docs/book/utils v0.0.0-20211028165026-57688c578b5d/go.mod h1:NRdZafr4zSCseLQggdvIMXa7umxf+Q+PJzrj3wFwiGE=
24272427
sigs.k8s.io/kustomize/api v0.11.2 h1:6YvCJHFDwsLwAX7zNHBxMZi3k7dGIXI8G9l0saYQI0E=

scripts/ci-e2e-eks.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ cd "${REPO_ROOT}" || exit 1
3131

3232
# shellcheck source=../hack/ensure-go.sh
3333
source "${REPO_ROOT}/hack/ensure-go.sh"
34+
# shellcheck source=../hack/ensure-kind.sh
35+
source "${REPO_ROOT}/hack/ensure-kind.sh"
36+
# shellcheck source=../hack/ensure-kubectl.sh
37+
source "${REPO_ROOT}/hack/ensure-kubectl.sh"
3438

3539
ARTIFACTS="${ARTIFACTS:-${PWD}/_artifacts}"
3640
mkdir -p "$ARTIFACTS/logs/"

scripts/ci-e2e.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ cd "${REPO_ROOT}" || exit 1
3131

3232
# shellcheck source=../hack/ensure-go.sh
3333
source "${REPO_ROOT}/hack/ensure-go.sh"
34+
# shellcheck source=../hack/ensure-kind.sh
35+
source "${REPO_ROOT}/hack/ensure-kind.sh"
36+
# shellcheck source=../hack/ensure-kubectl.sh
37+
source "${REPO_ROOT}/hack/ensure-kubectl.sh"
38+
3439

3540
ARTIFACTS="${ARTIFACTS:-${PWD}/_artifacts}"
3641
mkdir -p "$ARTIFACTS/logs/"

0 commit comments

Comments
 (0)