Skip to content

Commit 51e5266

Browse files
authored
ref(*): bump controller-gen to v0.16.3; config updates (#225)
Signed-off-by: Vaughn Dice <[email protected]>
1 parent ccac114 commit 51e5266

File tree

2 files changed

+30
-37
lines changed

2 files changed

+30
-37
lines changed

Makefile

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

175175
## Tool Versions
176176
KUSTOMIZE_VERSION ?= v5.2.1
177-
CONTROLLER_TOOLS_VERSION ?= v0.13.0
177+
CONTROLLER_TOOLS_VERSION ?= v0.16.3
178178

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

config/crd/bases/runtime.kwasm.sh_shims.yaml

Lines changed: 29 additions & 36 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.16.3
77
name: shims.runtime.kwasm.sh
88
spec:
99
group: runtime.kwasm.sh
@@ -30,14 +30,19 @@ spec:
3030
description: Shim is the Schema for the shims API
3131
properties:
3232
apiVersion:
33-
description: 'APIVersion defines the versioned schema of this representation
34-
of an object. Servers should convert recognized schemas to the latest
35-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
33+
description: |-
34+
APIVersion defines the versioned schema of this representation of an object.
35+
Servers should convert recognized schemas to the latest internal value, and
36+
may reject unrecognized values.
37+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3638
type: string
3739
kind:
38-
description: 'Kind is a string value representing the REST resource this
39-
object represents. Servers may infer this from the endpoint the client
40-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
40+
description: |-
41+
Kind is a string value representing the REST resource this object represents.
42+
Servers may infer this from the endpoint the client submits requests to.
43+
Cannot be updated.
44+
In CamelCase.
45+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
4146
type: string
4247
metadata:
4348
type: object
@@ -100,43 +105,35 @@ spec:
100105
properties:
101106
conditions:
102107
items:
103-
description: "Condition contains details for one aspect of the current
104-
state of this API Resource. --- This struct is intended for direct
105-
use as an array at the field path .status.conditions. For example,
106-
\n type FooStatus struct{ // Represents the observations of a
107-
foo's current state. // Known .status.conditions.type are: \"Available\",
108-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
109-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
110-
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
111-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
108+
description: Condition contains details for one aspect of the current
109+
state of this API Resource.
112110
properties:
113111
lastTransitionTime:
114-
description: lastTransitionTime is the last time the condition
115-
transitioned from one status to another. This should be when
116-
the underlying condition changed. If that is not known, then
117-
using the time when the API field changed is acceptable.
112+
description: |-
113+
lastTransitionTime is the last time the condition transitioned from one status to another.
114+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
118115
format: date-time
119116
type: string
120117
message:
121-
description: message is a human readable message indicating
122-
details about the transition. This may be an empty string.
118+
description: |-
119+
message is a human readable message indicating details about the transition.
120+
This may be an empty string.
123121
maxLength: 32768
124122
type: string
125123
observedGeneration:
126-
description: observedGeneration represents the .metadata.generation
127-
that the condition was set based upon. For instance, if .metadata.generation
128-
is currently 12, but the .status.conditions[x].observedGeneration
129-
is 9, the condition is out of date with respect to the current
130-
state of the instance.
124+
description: |-
125+
observedGeneration represents the .metadata.generation that the condition was set based upon.
126+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
127+
with respect to the current state of the instance.
131128
format: int64
132129
minimum: 0
133130
type: integer
134131
reason:
135-
description: reason contains a programmatic identifier indicating
136-
the reason for the condition's last transition. Producers
137-
of specific condition types may define expected values and
138-
meanings for this field, and whether the values are considered
139-
a guaranteed API. The value should be a CamelCase string.
132+
description: |-
133+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
134+
Producers of specific condition types may define expected values and meanings for this field,
135+
and whether the values are considered a guaranteed API.
136+
The value should be a CamelCase string.
140137
This field may not be empty.
141138
maxLength: 1024
142139
minLength: 1
@@ -151,10 +148,6 @@ spec:
151148
type: string
152149
type:
153150
description: type of condition in CamelCase or in foo.example.com/CamelCase.
154-
--- Many .condition.type values are consistent across resources
155-
like Available, but because arbitrary conditions can be useful
156-
(see .node.status.conditions), the ability to deconflict is
157-
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
158151
maxLength: 316
159152
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
160153
type: string

0 commit comments

Comments
 (0)