Skip to content

Commit 253fde2

Browse files
✨ Upgrade controller-tools version from v0.16.1 to v0.16.4 (#4215)
1 parent 4f8182c commit 253fde2

34 files changed

+113
-113
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
175175

176176
## Tool Versions
177177
KUSTOMIZE_VERSION ?= v5.4.3
178-
CONTROLLER_TOOLS_VERSION ?= v0.16.1
178+
CONTROLLER_TOOLS_VERSION ?= v0.16.4
179179
ENVTEST_VERSION ?= release-0.19
180180
GOLANGCI_LINT_VERSION ?= v1.59.1
181181

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

docs/book/src/getting-started/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
171171

172172
## Tool Versions
173173
KUSTOMIZE_VERSION ?= v5.4.3
174-
CONTROLLER_TOOLS_VERSION ?= v0.16.1
174+
CONTROLLER_TOOLS_VERSION ?= v0.16.4
175175
ENVTEST_VERSION ?= release-0.19
176176
GOLANGCI_LINT_VERSION ?= v1.59.1
177177

docs/book/src/getting-started/testdata/project/config/crd/bases/cache.example.com_memcacheds.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.16.1
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: memcacheds.cache.example.com
88
spec:
99
group: cache.example.com

docs/book/src/getting-started/testdata/project/config/rbac/role.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ kind: ClusterRole
44
metadata:
55
name: manager-role
66
rules:
7+
- apiGroups:
8+
- ""
9+
resources:
10+
- events
11+
verbs:
12+
- create
13+
- patch
14+
- apiGroups:
15+
- ""
16+
resources:
17+
- pods
18+
verbs:
19+
- get
20+
- list
21+
- watch
722
- apiGroups:
823
- apps
924
resources:
@@ -42,18 +57,3 @@ rules:
4257
- get
4358
- patch
4459
- update
45-
- apiGroups:
46-
- ""
47-
resources:
48-
- events
49-
verbs:
50-
- create
51-
- patch
52-
- apiGroups:
53-
- ""
54-
resources:
55-
- pods
56-
verbs:
57-
- get
58-
- list
59-
- watch

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
175175

176176
## Tool Versions
177177
KUSTOMIZE_VERSION ?= v5.4.3
178-
CONTROLLER_TOOLS_VERSION ?= v0.16.1
178+
CONTROLLER_TOOLS_VERSION ?= v0.16.4
179179
ENVTEST_VERSION ?= release-0.19
180180
GOLANGCI_LINT_VERSION ?= v1.59.1
181181

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.16.1
6+
controller-gen.kubebuilder.io/version: v0.16.4
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
@@ -38,7 +38,7 @@ const (
3838
// ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project
3939
ControllerRuntimeVersion = "v0.19.0"
4040
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
41-
ControllerToolsVersion = "v0.16.1"
41+
ControllerToolsVersion = "v0.16.4"
4242
// EnvtestK8SVersion is the k8s version used to do the scaffold
4343
EnvtestK8SVersion = "1.31.0"
4444

testdata/project-v4-multigroup/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
171171

172172
## Tool Versions
173173
KUSTOMIZE_VERSION ?= v5.4.3
174-
CONTROLLER_TOOLS_VERSION ?= v0.16.1
174+
CONTROLLER_TOOLS_VERSION ?= v0.16.4
175175
ENVTEST_VERSION ?= release-0.19
176176
GOLANGCI_LINT_VERSION ?= v1.59.1
177177

testdata/project-v4-multigroup/config/crd/bases/crew.testproject.org_captains.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.16.1
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: captains.crew.testproject.org
88
spec:
99
group: crew.testproject.org

0 commit comments

Comments
 (0)