Skip to content

Commit eea565c

Browse files
Merge pull request #2715 from camilamacedo86/controller-gen
⚠️ : (go/v3) upgrade controller-gen from 0.8.0 to 0.9.0
2 parents 7601764 + f0e57bf commit eea565c

28 files changed

+28
-160
lines changed

pkg/plugins/golang/v3/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.12.1"
3838
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
39-
ControllerToolsVersion = "v0.8.0"
39+
ControllerToolsVersion = "v0.9.0"
4040
// KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project
4141
// @Deprecated. This information ought to come from kustomize plugin
4242
// Note that by updating the following value nothing will change for the go/3 plugin

testdata/project-v3-addon/Makefile

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

115115
## Tool Versions
116116
KUSTOMIZE_VERSION ?= v3.8.7
117-
CONTROLLER_TOOLS_VERSION ?= v0.8.0
117+
CONTROLLER_TOOLS_VERSION ?= v0.9.0
118118

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

testdata/project-v3-addon/config/crd/bases/crew.testproject.org_admirals.yaml

Lines changed: 1 addition & 7 deletions
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.8.0
6+
controller-gen.kubebuilder.io/version: v0.9.0
77
creationTimestamp: null
88
name: admirals.crew.testproject.org
99
spec:
@@ -67,9 +67,3 @@ spec:
6767
storage: true
6868
subresources:
6969
status: {}
70-
status:
71-
acceptedNames:
72-
kind: ""
73-
plural: ""
74-
conditions: []
75-
storedVersions: []

testdata/project-v3-addon/config/crd/bases/crew.testproject.org_captains.yaml

Lines changed: 1 addition & 7 deletions
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.8.0
6+
controller-gen.kubebuilder.io/version: v0.9.0
77
creationTimestamp: null
88
name: captains.crew.testproject.org
99
spec:
@@ -67,9 +67,3 @@ spec:
6767
storage: true
6868
subresources:
6969
status: {}
70-
status:
71-
acceptedNames:
72-
kind: ""
73-
plural: ""
74-
conditions: []
75-
storedVersions: []

testdata/project-v3-addon/config/crd/bases/crew.testproject.org_firstmates.yaml

Lines changed: 1 addition & 7 deletions
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.8.0
6+
controller-gen.kubebuilder.io/version: v0.9.0
77
creationTimestamp: null
88
name: firstmates.crew.testproject.org
99
spec:
@@ -67,9 +67,3 @@ spec:
6767
storage: true
6868
subresources:
6969
status: {}
70-
status:
71-
acceptedNames:
72-
kind: ""
73-
plural: ""
74-
conditions: []
75-
storedVersions: []

testdata/project-v3-config/Makefile

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

115115
## Tool Versions
116116
KUSTOMIZE_VERSION ?= v3.8.7
117-
CONTROLLER_TOOLS_VERSION ?= v0.8.0
117+
CONTROLLER_TOOLS_VERSION ?= v0.9.0
118118

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

testdata/project-v3-config/config/crd/bases/crew.testproject.org_admirals.yaml

Lines changed: 1 addition & 7 deletions
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.8.0
6+
controller-gen.kubebuilder.io/version: v0.9.0
77
creationTimestamp: null
88
name: admirals.crew.testproject.org
99
spec:
@@ -48,9 +48,3 @@ spec:
4848
storage: true
4949
subresources:
5050
status: {}
51-
status:
52-
acceptedNames:
53-
kind: ""
54-
plural: ""
55-
conditions: []
56-
storedVersions: []

testdata/project-v3-config/config/crd/bases/crew.testproject.org_captains.yaml

Lines changed: 1 addition & 7 deletions
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.8.0
6+
controller-gen.kubebuilder.io/version: v0.9.0
77
creationTimestamp: null
88
name: captains.crew.testproject.org
99
spec:
@@ -48,9 +48,3 @@ spec:
4848
storage: true
4949
subresources:
5050
status: {}
51-
status:
52-
acceptedNames:
53-
kind: ""
54-
plural: ""
55-
conditions: []
56-
storedVersions: []

testdata/project-v3-config/config/crd/bases/crew.testproject.org_firstmates.yaml

Lines changed: 1 addition & 7 deletions
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.8.0
6+
controller-gen.kubebuilder.io/version: v0.9.0
77
creationTimestamp: null
88
name: firstmates.crew.testproject.org
99
spec:
@@ -48,9 +48,3 @@ spec:
4848
storage: true
4949
subresources:
5050
status: {}
51-
status:
52-
acceptedNames:
53-
kind: ""
54-
plural: ""
55-
conditions: []
56-
storedVersions: []

testdata/project-v3-multigroup/Makefile

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

115115
## Tool Versions
116116
KUSTOMIZE_VERSION ?= v3.8.7
117-
CONTROLLER_TOOLS_VERSION ?= v0.8.0
117+
CONTROLLER_TOOLS_VERSION ?= v0.9.0
118118

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

0 commit comments

Comments
 (0)