Skip to content

Commit 4920e55

Browse files
authored
✨ (go/v4): Upgrade controller-tools from 0.11.3 to v0.12.0 (#3388)
1 parent 2a97944 commit 4920e55

File tree

44 files changed

+35
-69
lines changed

Some content is hidden

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

44 files changed

+35
-69
lines changed

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
139139

140140
## Tool Versions
141141
KUSTOMIZE_VERSION ?= v5.0.1
142-
CONTROLLER_TOOLS_VERSION ?= v0.11.3
142+
CONTROLLER_TOOLS_VERSION ?= v0.12.0
143143

144144
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
145145
.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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:

pkg/plugins/golang/v4/scaffolds/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const (
3636
// ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project
3737
ControllerRuntimeVersion = "v0.14.4"
3838
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
39-
ControllerToolsVersion = "v0.11.3"
39+
ControllerToolsVersion = "v0.12.0"
4040

4141
imageName = "controller:latest"
4242
)

testdata/project-v4-config/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
139139

140140
## Tool Versions
141141
KUSTOMIZE_VERSION ?= v5.0.1
142-
CONTROLLER_TOOLS_VERSION ?= v0.11.3
142+
CONTROLLER_TOOLS_VERSION ?= v0.12.0
143143

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

testdata/project-v4-config/config/crd/bases/crew.testproject.org_admirals.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: admirals.crew.testproject.org
98
spec:
109
group: crew.testproject.org

0 commit comments

Comments
 (0)