Skip to content

Commit

Permalink
upgrade to kind v0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sbueringer committed May 19, 2021
1 parent 799da05 commit 5dd65cb
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 75 deletions.
2 changes: 1 addition & 1 deletion docs/book/src/developer/providers/v1alpha3-to-v1alpha4.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## Kind version

- The KIND version used for this release is v0.9.x
- The KIND version used for this release is v0.11.x

## Upgrade kube-rbac-proxy to v0.8.0

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ require (
k8s.io/kubectl v0.21.0
k8s.io/utils v0.0.0-20210305010621-2afb4311ab10
sigs.k8s.io/controller-runtime v0.9.0-beta.1
sigs.k8s.io/kind v0.9.0
sigs.k8s.io/kind v0.11.0
sigs.k8s.io/yaml v1.2.0
)
50 changes: 15 additions & 35 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hack/ensure-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set -o pipefail
set -x

GOPATH_BIN="$(go env GOPATH)/bin/"
MINIMUM_KIND_VERSION=v0.9.0
MINIMUM_KIND_VERSION=v0.11.0

# Ensure the kind tool exists and is a viable version, or installs it
verify_kind_version() {
Expand Down
6 changes: 3 additions & 3 deletions scripts/ci-e2e-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ kind::buildNodeImage() {
# build the node image
version="${version//+/_}"
echo "+ Building kindest/node:$version"
kind build node-image --type docker --image "kindest/node:$version"
kind build node-image --image "kindest/node:$version"

# move back to Cluster API
cd "$REPO_ROOT" || exit
Expand All @@ -146,7 +146,7 @@ k8s::checkoutBranch() {
# should be already been tagged.
echo "+ checkout tag $version"
git fetch --all --tags
git checkout "tags/$version" -b "$version-branch"
git checkout "tags/$version" -B "$version-branch"
else
# otherwise we are requiring a Kubernetes version that should be built from HEAD
# of one of the existing branches
Expand All @@ -163,7 +163,7 @@ k8s::checkoutBranch() {
if [[ "$releaseBranch" != "" ]]; then
# if there is already a release branch for the required Kubernetes branch, use it
echo "+ checkout $releaseBranch branch"
git checkout "$releaseBranch" -b "release-$major.$minor"
git checkout "$releaseBranch" -B "release-$major.$minor"
else
# otherwise, we should build from master, which is the branch for the next release
echo "+ checkout master branch"
Expand Down
2 changes: 1 addition & 1 deletion test/infrastructure/docker/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
k8s.io/utils v0.0.0-20210305010621-2afb4311ab10
sigs.k8s.io/cluster-api v0.3.3
sigs.k8s.io/controller-runtime v0.9.0-beta.1
sigs.k8s.io/kind v0.9.0
sigs.k8s.io/kind v0.11.0
sigs.k8s.io/yaml v1.2.0
)

Expand Down
46 changes: 13 additions & 33 deletions test/infrastructure/docker/go.sum

Large diffs are not rendered by default.

0 comments on commit 5dd65cb

Please sign in to comment.