Skip to content

Commit 4d1e3c5

Browse files
authored
✨ (Kustomize/v2, go/v4): upgrade controller-tools from 0.12.0 to 0.13.0 (#3561)
(go/v4): Upgrade controller-tools from 0.12.0 to v0.13.0
1 parent 226f160 commit 4d1e3c5

File tree

45 files changed

+31
-46
lines changed

Some content is hidden

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

45 files changed

+31
-46
lines changed

.github/workflows/apidiff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v4
2121
with:
22-
go-version: '~1.20'
22+
go-version: "~1.20"
2323
- name: Execute go-apidiff
24-
uses: joelanford/[email protected].0
24+
uses: joelanford/[email protected].1
2525
with:
2626
compare-imports: true
2727
print-compatible: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ apidiff: go-apidiff ## Run the go-apidiff to verify any API differences compared
104104

105105
.PHONY: go-apidiff
106106
go-apidiff:
107-
go install github.com/joelanford/go-apidiff@v0.5.0
107+
go install github.com/joelanford/go-apidiff@v0.6.1
108108

109109
##@ Tests
110110

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

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

141141
## Tool Versions
142142
KUSTOMIZE_VERSION ?= v5.0.1
143-
CONTROLLER_TOOLS_VERSION ?= v0.12.0
143+
CONTROLLER_TOOLS_VERSION ?= v0.13.0
144144

145145
.PHONY: kustomize
146146
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary. If wrong version is installed, it will be removed before downloading.

docs/book/src/component-config-tutorial/testdata/project/api/v2/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/book/src/component-config-tutorial/testdata/project/config/crd/bases/config.tutorial.kubebuilder.io_projectconfigs.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.12.0
6+
controller-gen.kubebuilder.io/version: v0.13.0
77
name: projectconfigs.config.tutorial.kubebuilder.io
88
spec:
99
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
@@ -140,7 +140,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
140140

141141
## Tool Versions
142142
KUSTOMIZE_VERSION ?= v5.0.1
143-
CONTROLLER_TOOLS_VERSION ?= v0.12.0
143+
CONTROLLER_TOOLS_VERSION ?= v0.13.0
144144

145145
.PHONY: kustomize
146146
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary. If wrong version is installed, it will be removed before downloading.

docs/book/src/cronjob-tutorial/testdata/project/api/v1/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.12.0
6+
controller-gen.kubebuilder.io/version: v0.13.0
77
name: cronjobs.batch.tutorial.kubebuilder.io
88
spec:
99
group: batch.tutorial.kubebuilder.io

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.15.0"
3838
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
39-
ControllerToolsVersion = "v0.12.0"
39+
ControllerToolsVersion = "v0.13.0"
4040
// EnvtestK8SVersion is the k8s version used to do the scaffold
4141
EnvtestK8SVersion = "1.27.1"
4242

testdata/project-v4-declarative-v1/Makefile

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

141141
## Tool Versions
142142
KUSTOMIZE_VERSION ?= v5.0.1
143-
CONTROLLER_TOOLS_VERSION ?= v0.12.0
143+
CONTROLLER_TOOLS_VERSION ?= v0.13.0
144144

145145
.PHONY: kustomize
146146
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary. If wrong version is installed, it will be removed before downloading.

0 commit comments

Comments
 (0)