Skip to content

Commit 1ae7c0b

Browse files
committed
feat: update k8s version to 1.27.1
1 parent fd4b088 commit 1ae7c0b

File tree

16 files changed

+17
-16
lines changed

16 files changed

+17
-16
lines changed

build/.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ builds:
4444
- darwin_amd64
4545
- darwin_arm64
4646
env:
47-
- KUBERNETES_VERSION=1.26.1
47+
- KUBERNETES_VERSION=1.27.1
4848
- CGO_ENABLED=0
4949

5050
# Only binaries of the form "kubebuilder_${goos}_${goarch}" will be released.

docs/book/src/component-config-tutorial/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Image URL to use all building/pushing image targets
33
IMG ?= controller:latest
44
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5-
ENVTEST_K8S_VERSION = 1.26.1
5+
ENVTEST_K8S_VERSION = 1.27.1
66

77
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
88
ifeq (,$(shell go env GOBIN))

docs/book/src/cronjob-tutorial/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Image URL to use all building/pushing image targets
33
IMG ?= controller:latest
44
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5-
ENVTEST_K8S_VERSION = 1.26.1
5+
ENVTEST_K8S_VERSION = 1.27.1
66

77
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
88
ifeq (,$(shell go env GOBIN))

docs/book/src/multiversion-tutorial/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Image URL to use all building/pushing image targets
33
IMG ?= controller:latest
44
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5-
ENVTEST_K8S_VERSION = 1.26.1
5+
ENVTEST_K8S_VERSION = 1.27.1
66

77
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
88
ifeq (,$(shell go env GOBIN))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
exampleTargetexampleCodeexampleCodeexampleCode
1+
exampleTargetexampleCodeexampleCodeexampleCodeexampleCodeexampleCodeexampleCode

pkg/plugins/golang/v3/commons.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ manifests: controller-gen`
7979
}
8080

8181
if err := util.ReplaceInFile("Makefile",
82-
"ENVTEST_K8S_VERSION = 1.26.1",
82+
"ENVTEST_K8S_VERSION = 1.27.1",
8383
"ENVTEST_K8S_VERSION = 1.21"); err != nil {
8484
log.Warnf("unable to update the Makefile with %s: %s", "ENVTEST_K8S_VERSION = 1.21", err)
8585
}

pkg/plugins/golang/v3/scaffolds/internal/templates/makefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const makefileTemplate = `
6262
# Image URL to use all building/pushing image targets
6363
IMG ?= {{ .Image }}
6464
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
65-
ENVTEST_K8S_VERSION = 1.26.1
65+
ENVTEST_K8S_VERSION = 1.27.1
6666
6767
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
6868
ifeq (,$(shell go env GOBIN))

pkg/plugins/golang/v4/scaffolds/internal/templates/makefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const makefileTemplate = `
6262
# Image URL to use all building/pushing image targets
6363
IMG ?= {{ .Image }}
6464
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
65-
ENVTEST_K8S_VERSION = 1.26.1
65+
ENVTEST_K8S_VERSION = 1.27.1
6666
6767
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
6868
ifeq (,$(shell go env GOBIN))

test/common.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function convert_to_tools_ver {
2929
"1.24") echo "1.24.1";;
3030
"1.25") echo "1.25.0";;
3131
"1.26") echo "1.26.0";;
32+
"1.27") echo "1.27.1";;
3233
*)
3334
echo "k8s version $k8s_ver not supported"
3435
exit 1
@@ -48,7 +49,7 @@ if [ -n "$TRACE" ]; then
4849
set -x
4950
fi
5051

51-
export KIND_K8S_VERSION="${KIND_K8S_VERSION:-"v1.26.1"}"
52+
export KIND_K8S_VERSION="${KIND_K8S_VERSION:-"v1.27.1"}"
5253
tools_k8s_version=$(convert_to_tools_ver "${KIND_K8S_VERSION#v*}")
5354
kind_version=0.15.0
5455
goarch=amd64

testdata/project-v3/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Image URL to use all building/pushing image targets
33
IMG ?= controller:latest
44
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5-
ENVTEST_K8S_VERSION = 1.26.1
5+
ENVTEST_K8S_VERSION = 1.27.1
66

77
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
88
ifeq (,$(shell go env GOBIN))

0 commit comments

Comments
 (0)