Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit ca4b4a3

Browse files
authored
🌱 udpate controller-gen to 0.14.0 (#156)
udpate controller-gen to 0.14.0 Signed-off-by: kranurag7 <[email protected]>
1 parent e2b858f commit ca4b4a3

4 files changed

+105
-82
lines changed

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export KUBEBUILDER_ENVTEST_KUBERNETES_VERSION ?= 1.28.0
8989
CONTROLLER_GEN := $(abspath $(TOOLS_BIN_DIR)/controller-gen)
9090
controller-gen: $(CONTROLLER_GEN) ## Build a local copy of controller-gen
9191
$(CONTROLLER_GEN): # Build controller-gen from tools folder.
92-
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0
92+
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0
9393

9494
KUSTOMIZE := $(abspath $(TOOLS_BIN_DIR)/kustomize)
9595
kustomize: $(KUSTOMIZE) ## Build a local copy of kustomize

‎config/crd/bases/infrastructure.clusterstack.x-k8s.io_openstackclusterstackreleases.yaml‎

Lines changed: 37 additions & 30 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.13.0
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
name: openstackclusterstackreleases.infrastructure.clusterstack.x-k8s.io
88
spec:
99
group: infrastructure.clusterstack.x-k8s.io
@@ -37,14 +37,19 @@ spec:
3737
API.
3838
properties:
3939
apiVersion:
40-
description: 'APIVersion defines the versioned schema of this representation
41-
of an object. Servers should convert recognized schemas to the latest
42-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
40+
description: |-
41+
APIVersion defines the versioned schema of this representation of an object.
42+
Servers should convert recognized schemas to the latest internal value, and
43+
may reject unrecognized values.
44+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
4345
type: string
4446
kind:
45-
description: 'Kind is a string value representing the REST resource this
46-
object represents. Servers may infer this from the endpoint the client
47-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
47+
description: |-
48+
Kind is a string value representing the REST resource this object represents.
49+
Servers may infer this from the endpoint the client submits requests to.
50+
Cannot be updated.
51+
In CamelCase.
52+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
4853
type: string
4954
metadata:
5055
type: object
@@ -60,14 +65,16 @@ spec:
6065
reconciling this cluster
6166
properties:
6267
kind:
63-
description: Kind of the identity. Must be supported by the infrastructure
68+
description: |-
69+
Kind of the identity. Must be supported by the infrastructure
6470
provider and may be either cluster or namespace-scoped.
6571
minLength: 1
6672
type: string
6773
name:
68-
description: Name of the infrastructure identity to be used. Must
69-
be either a cluster-scoped resource, or namespaced-scoped resource
70-
the same namespace as the resource(s) being provisioned.
74+
description: |-
75+
Name of the infrastructure identity to be used.
76+
Must be either a cluster-scoped resource, or namespaced-scoped
77+
resource the same namespace as the resource(s) being provisioned.
7178
type: string
7279
required:
7380
- kind
@@ -85,37 +92,37 @@ spec:
8592
operational state.
8693
properties:
8794
lastTransitionTime:
88-
description: Last time the condition transitioned from one status
89-
to another. This should be when the underlying condition changed.
90-
If that is not known, then using the time when the API field
91-
changed is acceptable.
95+
description: |-
96+
Last time the condition transitioned from one status to another.
97+
This should be when the underlying condition changed. If that is not known, then using the time when
98+
the API field changed is acceptable.
9299
format: date-time
93100
type: string
94101
message:
95-
description: A human readable message indicating details about
96-
the transition. This field may be empty.
102+
description: |-
103+
A human readable message indicating details about the transition.
104+
This field may be empty.
97105
type: string
98106
reason:
99-
description: The reason for the condition's last transition
100-
in CamelCase. The specific API may choose whether or not this
101-
field is considered a guaranteed API. This field may not be
102-
empty.
107+
description: |-
108+
The reason for the condition's last transition in CamelCase.
109+
The specific API may choose whether or not this field is considered a guaranteed API.
110+
This field may not be empty.
103111
type: string
104112
severity:
105-
description: Severity provides an explicit classification of
106-
Reason code, so the users or machines can immediately understand
107-
the current situation and act accordingly. The Severity field
108-
MUST be set only when Status=False.
113+
description: |-
114+
Severity provides an explicit classification of Reason code, so the users or machines can immediately
115+
understand the current situation and act accordingly.
116+
The Severity field MUST be set only when Status=False.
109117
type: string
110118
status:
111119
description: Status of the condition, one of True, False, Unknown.
112120
type: string
113121
type:
114-
description: Type of condition in CamelCase or in foo.example.com/CamelCase.
115-
Many .condition.type values are consistent across resources
116-
like Available, but because arbitrary conditions can be useful
117-
(see .node.status.conditions), the ability to deconflict is
118-
important.
122+
description: |-
123+
Type of condition in CamelCase or in foo.example.com/CamelCase.
124+
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
125+
can be useful (see .node.status.conditions), the ability to deconflict is important.
119126
type: string
120127
required:
121128
- lastTransitionTime

‎config/crd/bases/infrastructure.clusterstack.x-k8s.io_openstackclusterstackreleasetemplates.yaml‎

Lines changed: 19 additions & 14 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.13.0
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
name: openstackclusterstackreleasetemplates.infrastructure.clusterstack.x-k8s.io
88
spec:
99
group: infrastructure.clusterstack.x-k8s.io
@@ -23,14 +23,19 @@ spec:
2323
API.
2424
properties:
2525
apiVersion:
26-
description: 'APIVersion defines the versioned schema of this representation
27-
of an object. Servers should convert recognized schemas to the latest
28-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
description: |-
27+
APIVersion defines the versioned schema of this representation of an object.
28+
Servers should convert recognized schemas to the latest internal value, and
29+
may reject unrecognized values.
30+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2931
type: string
3032
kind:
31-
description: 'Kind is a string value representing the REST resource this
32-
object represents. Servers may infer this from the endpoint the client
33-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
33+
description: |-
34+
Kind is a string value representing the REST resource this object represents.
35+
Servers may infer this from the endpoint the client submits requests to.
36+
Cannot be updated.
37+
In CamelCase.
38+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3439
type: string
3540
metadata:
3641
type: object
@@ -55,16 +60,16 @@ spec:
5560
used when reconciling this cluster
5661
properties:
5762
kind:
58-
description: Kind of the identity. Must be supported by
59-
the infrastructure provider and may be either cluster
60-
or namespace-scoped.
63+
description: |-
64+
Kind of the identity. Must be supported by the infrastructure
65+
provider and may be either cluster or namespace-scoped.
6166
minLength: 1
6267
type: string
6368
name:
64-
description: Name of the infrastructure identity to be
65-
used. Must be either a cluster-scoped resource, or namespaced-scoped
66-
resource the same namespace as the resource(s) being
67-
provisioned.
69+
description: |-
70+
Name of the infrastructure identity to be used.
71+
Must be either a cluster-scoped resource, or namespaced-scoped
72+
resource the same namespace as the resource(s) being provisioned.
6873
type: string
6974
required:
7075
- kind

‎config/crd/bases/infrastructure.clusterstack.x-k8s.io_openstacknodeimagereleases.yaml‎

Lines changed: 48 additions & 37 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.13.0
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
name: openstacknodeimagereleases.infrastructure.clusterstack.x-k8s.io
88
spec:
99
group: infrastructure.clusterstack.x-k8s.io
@@ -37,14 +37,19 @@ spec:
3737
API.
3838
properties:
3939
apiVersion:
40-
description: 'APIVersion defines the versioned schema of this representation
41-
of an object. Servers should convert recognized schemas to the latest
42-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
40+
description: |-
41+
APIVersion defines the versioned schema of this representation of an object.
42+
Servers should convert recognized schemas to the latest internal value, and
43+
may reject unrecognized values.
44+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
4345
type: string
4446
kind:
45-
description: 'Kind is a string value representing the REST resource this
46-
object represents. Servers may infer this from the endpoint the client
47-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
47+
description: |-
48+
Kind is a string value representing the REST resource this object represents.
49+
Servers may infer this from the endpoint the client submits requests to.
50+
Cannot be updated.
51+
In CamelCase.
52+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
4853
type: string
4954
metadata:
5055
type: object
@@ -57,14 +62,16 @@ spec:
5762
reconciling this cluster
5863
properties:
5964
kind:
60-
description: Kind of the identity. Must be supported by the infrastructure
65+
description: |-
66+
Kind of the identity. Must be supported by the infrastructure
6167
provider and may be either cluster or namespace-scoped.
6268
minLength: 1
6369
type: string
6470
name:
65-
description: Name of the infrastructure identity to be used. Must
66-
be either a cluster-scoped resource, or namespaced-scoped resource
67-
the same namespace as the resource(s) being provisioned.
71+
description: |-
72+
Name of the infrastructure identity to be used.
73+
Must be either a cluster-scoped resource, or namespaced-scoped
74+
resource the same namespace as the resource(s) being provisioned.
6875
type: string
6976
required:
7077
- kind
@@ -77,24 +84,28 @@ spec:
7784
description: CreateOpts represents options used to create an image.
7885
properties:
7986
container_format:
80-
description: ContainerFormat is the format of the container.
81-
Valid values are ami, ari, aki, bare, and ovf.
87+
description: |-
88+
ContainerFormat is the format of the
89+
container. Valid values are ami, ari, aki, bare, and ovf.
8290
type: string
8391
disk_format:
84-
description: DiskFormat is the format of the disk. If set,
92+
description: |-
93+
DiskFormat is the format of the disk. If set,
8594
valid values are ami, ari, aki, vhd, vmdk, raw, qcow2, vdi,
8695
and iso.
8796
type: string
8897
id:
8998
description: Id is the the image ID.
9099
type: string
91100
min_disk:
92-
description: MinDisk is the amount of disk space in GB that
93-
is required to boot the image.
101+
description: |-
102+
MinDisk is the amount of disk space in
103+
GB that is required to boot the image.
94104
type: integer
95105
min_ram:
96-
description: MinRAM is the amount of RAM in MB that is required
97-
to boot the image.
106+
description: |-
107+
MinRAM is the amount of RAM in MB that
108+
is required to boot the image.
98109
type: integer
99110
name:
100111
description: Name is the name of the new image.
@@ -138,37 +149,37 @@ spec:
138149
operational state.
139150
properties:
140151
lastTransitionTime:
141-
description: Last time the condition transitioned from one status
142-
to another. This should be when the underlying condition changed.
143-
If that is not known, then using the time when the API field
144-
changed is acceptable.
152+
description: |-
153+
Last time the condition transitioned from one status to another.
154+
This should be when the underlying condition changed. If that is not known, then using the time when
155+
the API field changed is acceptable.
145156
format: date-time
146157
type: string
147158
message:
148-
description: A human readable message indicating details about
149-
the transition. This field may be empty.
159+
description: |-
160+
A human readable message indicating details about the transition.
161+
This field may be empty.
150162
type: string
151163
reason:
152-
description: The reason for the condition's last transition
153-
in CamelCase. The specific API may choose whether or not this
154-
field is considered a guaranteed API. This field may not be
155-
empty.
164+
description: |-
165+
The reason for the condition's last transition in CamelCase.
166+
The specific API may choose whether or not this field is considered a guaranteed API.
167+
This field may not be empty.
156168
type: string
157169
severity:
158-
description: Severity provides an explicit classification of
159-
Reason code, so the users or machines can immediately understand
160-
the current situation and act accordingly. The Severity field
161-
MUST be set only when Status=False.
170+
description: |-
171+
Severity provides an explicit classification of Reason code, so the users or machines can immediately
172+
understand the current situation and act accordingly.
173+
The Severity field MUST be set only when Status=False.
162174
type: string
163175
status:
164176
description: Status of the condition, one of True, False, Unknown.
165177
type: string
166178
type:
167-
description: Type of condition in CamelCase or in foo.example.com/CamelCase.
168-
Many .condition.type values are consistent across resources
169-
like Available, but because arbitrary conditions can be useful
170-
(see .node.status.conditions), the ability to deconflict is
171-
important.
179+
description: |-
180+
Type of condition in CamelCase or in foo.example.com/CamelCase.
181+
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
182+
can be useful (see .node.status.conditions), the ability to deconflict is important.
172183
type: string
173184
required:
174185
- lastTransitionTime

0 commit comments

Comments
 (0)