Skip to content

Commit a7d6cad

Browse files
author
zhuanwajiang
committed
bump controller-tools to v0.12.0
Signed-off-by: zhuanwajiang <[email protected]>
1 parent 9af6ca4 commit a7d6cad

File tree

58 files changed

+59
-96
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+59
-96
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/install-and-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ${cmd} /tmp/mdbook.${ext}
6767
chmod +x /tmp/mdbook
6868

6969
echo "grabbing the latest released controller-gen"
70-
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.11.3
70+
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.12.0
7171

7272
# make sure we add the go bin directory to our path
7373
gobin=$(go env GOBIN)

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

Lines changed: 2 additions & 2 deletions
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))
@@ -133,7 +133,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
133133

134134
## Tool Versions
135135
KUSTOMIZE_VERSION ?= v5.0.1
136-
CONTROLLER_TOOLS_VERSION ?= v0.11.3
136+
CONTROLLER_TOOLS_VERSION ?= v0.12.0
137137

138138
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
139139
.PHONY: kustomize

docs/book/src/component-config-tutorial/testdata/project/config/crd/bases/config.tutorial.kubebuilder.io_projectconfigs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.11.3
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.12.0
87
name: projectconfigs.config.tutorial.kubebuilder.io
98
spec:
109
group: config.tutorial.kubebuilder.io

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

Lines changed: 2 additions & 2 deletions
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))
@@ -133,7 +133,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
133133

134134
## Tool Versions
135135
KUSTOMIZE_VERSION ?= v5.0.0
136-
CONTROLLER_TOOLS_VERSION ?= v0.11.3
136+
CONTROLLER_TOOLS_VERSION ?= v0.12.0
137137

138138
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
139139
.PHONY: kustomize

docs/book/src/cronjob-tutorial/testdata/project/config/crd/bases/batch.tutorial.kubebuilder.io_cronjobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.11.3
6+
controller-gen.kubebuilder.io/version: v0.12.0
77
creationTimestamp: null
88
name: cronjobs.batch.tutorial.kubebuilder.io
99
spec:

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

Lines changed: 2 additions & 2 deletions
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))
@@ -137,7 +137,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
137137

138138
## Tool Versions
139139
KUSTOMIZE_VERSION ?= v5.0.0
140-
CONTROLLER_TOOLS_VERSION ?= v0.11.3
140+
CONTROLLER_TOOLS_VERSION ?= v0.12.0
141141

142142
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
143143
.PHONY: kustomize

docs/book/src/multiversion-tutorial/testdata/project/config/crd/bases/batch.tutorial.kubebuilder.io_cronjobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.11.3
6+
controller-gen.kubebuilder.io/version: v0.12.0
77
creationTimestamp: null
88
name: cronjobs.batch.tutorial.kubebuilder.io
99
spec:

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ require (
2323
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2424
github.com/kr/text v0.2.0 // indirect
2525
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
26+
github.com/stretchr/testify v1.8.2 // indirect
2627
golang.org/x/mod v0.10.0 // indirect
2728
golang.org/x/net v0.9.0 // indirect
2829
golang.org/x/sys v0.7.0 // indirect

go.sum

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
170170
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
171171
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
172172
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
173-
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
174173
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
174+
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
175+
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
175176
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
176177
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
177178
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=

0 commit comments

Comments
 (0)