Skip to content

Commit 26b1081

Browse files
committed
Bump controller-gen
1 parent b7bbee0 commit 26b1081

21 files changed

+53
-485
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ SETUP_ENVTEST_BIN := setup-envtest
113113
SETUP_ENVTEST := $(abspath $(TOOLS_BIN_DIR)/$(SETUP_ENVTEST_BIN)-$(SETUP_ENVTEST_VER))
114114
SETUP_ENVTEST_PKG := sigs.k8s.io/controller-runtime/tools/setup-envtest
115115

116-
CONTROLLER_GEN_VER := v0.15.0
116+
CONTROLLER_GEN_VER := v0.16.1
117117
CONTROLLER_GEN_BIN := controller-gen
118118
CONTROLLER_GEN := $(abspath $(TOOLS_BIN_DIR)/$(CONTROLLER_GEN_BIN)-$(CONTROLLER_GEN_VER))
119119
CONTROLLER_GEN_PKG := sigs.k8s.io/controller-tools/cmd/controller-gen
@@ -123,7 +123,7 @@ GOTESTSUM_BIN := gotestsum
123123
GOTESTSUM := $(abspath $(TOOLS_BIN_DIR)/$(GOTESTSUM_BIN)-$(GOTESTSUM_VER))
124124
GOTESTSUM_PKG := gotest.tools/gotestsum
125125

126-
CONVERSION_GEN_VER := v0.30.0
126+
CONVERSION_GEN_VER := v0.31.0
127127
CONVERSION_GEN_BIN := conversion-gen
128128
# We are intentionally using the binary without version suffix, to avoid the version
129129
# in generated files.

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vsphereclusteridentities.yaml

Lines changed: 4 additions & 4 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.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.1
77
name: vsphereclusteridentities.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io
@@ -23,7 +23,6 @@ spec:
2323
description: |-
2424
VSphereClusterIdentity defines the account to be used for reconciling clusters
2525
26-
2726
Deprecated: This type will be removed in one of the next releases.
2827
properties:
2928
apiVersion:
@@ -147,6 +146,7 @@ spec:
147146
can be useful (see .node.status.conditions), the ability to deconflict is important.
148147
type: string
149148
required:
149+
- lastTransitionTime
150150
- status
151151
- type
152152
type: object
@@ -166,7 +166,6 @@ spec:
166166
description: |-
167167
VSphereClusterIdentity defines the account to be used for reconciling clusters
168168
169-
170169
Deprecated: This type will be removed in one of the next releases.
171170
properties:
172171
apiVersion:
@@ -290,6 +289,7 @@ spec:
290289
can be useful (see .node.status.conditions), the ability to deconflict is important.
291290
type: string
292291
required:
292+
- lastTransitionTime
293293
- status
294294
- type
295295
type: object
@@ -414,7 +414,7 @@ spec:
414414
description: |-
415415
The reason for the condition's last transition in CamelCase.
416416
The specific API may choose whether or not this field is considered a guaranteed API.
417-
This field may not be empty.
417+
This field may be empty.
418418
type: string
419419
severity:
420420
description: |-

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vsphereclusters.yaml

Lines changed: 4 additions & 8 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.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.1
77
name: vsphereclusters.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io
@@ -41,7 +41,6 @@ spec:
4141
description: |-
4242
VSphereCluster is the Schema for the vsphereclusters API
4343
44-
4544
Deprecated: This type will be removed in one of the next releases.
4645
properties:
4746
apiVersion:
@@ -68,7 +67,6 @@ spec:
6867
description: |-
6968
CloudProviderConfiguration holds the cluster-wide configuration for the vSphere cloud provider.
7069
71-
7270
Deprecated: will be removed in v1alpha4.
7371
properties:
7472
disk:
@@ -307,7 +305,6 @@ spec:
307305
Insecure is a flag that controls whether to validate the
308306
vSphere server's certificate.
309307
310-
311308
Deprecated: will be removed in v1alpha4.
312309
type: boolean
313310
loadBalancerRef:
@@ -318,7 +315,6 @@ spec:
318315
will not be true until the referenced resource is Status.Ready and has a
319316
non-empty Status.Address value.
320317
321-
322318
Deprecated: will be removed in v1alpha4.
323319
properties:
324320
apiVersion:
@@ -333,7 +329,6 @@ spec:
333329
the event) or if no container name is specified "spec.containers[2]" (container with
334330
index 2 in this pod). This syntax is chosen only to have some well-defined way of
335331
referencing a part of an object.
336-
TODO: this design is not final and this field is subject to change in the future.
337332
type: string
338333
kind:
339334
description: |-
@@ -414,6 +409,7 @@ spec:
414409
can be useful (see .node.status.conditions), the ability to deconflict is important.
415410
type: string
416411
required:
412+
- lastTransitionTime
417413
- status
418414
- type
419415
type: object
@@ -471,7 +467,6 @@ spec:
471467
description: |-
472468
VSphereCluster is the Schema for the vsphereclusters API
473469
474-
475470
Deprecated: This type will be removed in one of the next releases.
476471
properties:
477472
apiVersion:
@@ -580,6 +575,7 @@ spec:
580575
can be useful (see .node.status.conditions), the ability to deconflict is important.
581576
type: string
582577
required:
578+
- lastTransitionTime
583579
- status
584580
- type
585581
type: object
@@ -804,7 +800,7 @@ spec:
804800
description: |-
805801
The reason for the condition's last transition in CamelCase.
806802
The specific API may choose whether or not this field is considered a guaranteed API.
807-
This field may not be empty.
803+
This field may be empty.
808804
type: string
809805
severity:
810806
description: |-

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vsphereclustertemplates.yaml

Lines changed: 1 addition & 2 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.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.1
77
name: vsphereclustertemplates.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io
@@ -23,7 +23,6 @@ spec:
2323
description: |-
2424
VSphereClusterTemplate is the Schema for the vsphereclustertemplates API
2525
26-
2726
Deprecated: This type will be removed in one of the next releases.
2827
properties:
2928
apiVersion:

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspheredeploymentzones.yaml

Lines changed: 4 additions & 4 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.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.1
77
name: vspheredeploymentzones.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io
@@ -23,7 +23,6 @@ spec:
2323
description: |-
2424
VSphereDeploymentZone is the Schema for the vspheredeploymentzones API
2525
26-
2726
Deprecated: This type will be removed in one of the next releases.
2827
properties:
2928
apiVersion:
@@ -118,6 +117,7 @@ spec:
118117
can be useful (see .node.status.conditions), the ability to deconflict is important.
119118
type: string
120119
required:
120+
- lastTransitionTime
121121
- status
122122
- type
123123
type: object
@@ -140,7 +140,6 @@ spec:
140140
description: |-
141141
VSphereDeploymentZone is the Schema for the vspheredeploymentzones API
142142
143-
144143
Deprecated: This type will be removed in one of the next releases.
145144
properties:
146145
apiVersion:
@@ -235,6 +234,7 @@ spec:
235234
can be useful (see .node.status.conditions), the ability to deconflict is important.
236235
type: string
237236
required:
237+
- lastTransitionTime
238238
- status
239239
- type
240240
type: object
@@ -331,7 +331,7 @@ spec:
331331
description: |-
332332
The reason for the condition's last transition in CamelCase.
333333
The specific API may choose whether or not this field is considered a guaranteed API.
334-
This field may not be empty.
334+
This field may be empty.
335335
type: string
336336
severity:
337337
description: |-

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherefailuredomains.yaml

Lines changed: 1 addition & 5 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.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.1
77
name: vspherefailuredomains.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io
@@ -23,7 +23,6 @@ spec:
2323
description: |-
2424
VSphereFailureDomain is the Schema for the vspherefailuredomains API
2525
26-
2726
Deprecated: This type will be removed in one of the next releases.
2827
properties:
2928
apiVersion:
@@ -155,7 +154,6 @@ spec:
155154
description: |-
156155
VSphereFailureDomain is the Schema for the vspherefailuredomains API
157156
158-
159157
Deprecated: This type will be removed in one of the next releases.
160158
properties:
161159
apiVersion:
@@ -313,7 +311,6 @@ spec:
313311
description: |-
314312
AutoConfigure tags the Type which is specified in the Topology
315313
316-
317314
Deprecated: This field is going to be removed in a future release.
318315
type: boolean
319316
name:
@@ -381,7 +378,6 @@ spec:
381378
description: |-
382379
AutoConfigure tags the Type which is specified in the Topology
383380
384-
385381
Deprecated: This field is going to be removed in a future release.
386382
type: boolean
387383
name:

0 commit comments

Comments
 (0)