Skip to content

Commit 2f80476

Browse files
authored
Merge pull request #5808 from RainbowMango/pr_bump_controler-gen_0165
Bump controller-gen to v0.16.5
2 parents 046d1ba + 325bab3 commit 2f80476

20 files changed

+87
-573
lines changed

charts/karmada-operator/crds/operator.karmada.io_karmadas.yaml

Lines changed: 6 additions & 107 deletions
Large diffs are not rendered by default.

charts/karmada/_crds/bases/apps/apps.karmada.io_workloadrebalancers.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.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: workloadrebalancers.apps.karmada.io
88
spec:
99
group: apps.karmada.io

charts/karmada/_crds/bases/autoscaling/autoscaling.karmada.io_cronfederatedhpas.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.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: cronfederatedhpas.autoscaling.karmada.io
88
spec:
99
group: autoscaling.karmada.io
@@ -79,7 +79,6 @@ spec:
7979
Name of the rule.
8080
Each rule in a CronFederatedHPA must have a unique name.
8181
82-
8382
Note: the name will be used as an identifier to record its execution
8483
history. Changing the name will be considered as deleting the old rule
8584
and adding a new rule, that means the original execution history will be

charts/karmada/_crds/bases/autoscaling/autoscaling.karmada.io_federatedhpas.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.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: federatedhpas.autoscaling.karmada.io
88
spec:
99
group: autoscaling.karmada.io

charts/karmada/_crds/bases/config/config.karmada.io_resourceinterpretercustomizations.yaml

Lines changed: 1 addition & 31 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: resourceinterpretercustomizations.config.karmada.io
88
spec:
99
group: config.karmada.io
@@ -74,7 +74,6 @@ spec:
7474
a specific resource.
7575
The script should implement a function as follows:
7676
77-
7877
```
7978
luaScript: >
8079
function GetDependencies(desiredObj)
@@ -92,16 +91,13 @@ spec:
9291
end
9392
```
9493
95-
9694
The content of the LuaScript needs to be a whole function including both
9795
declaration and implementation.
9896
99-
10097
The parameters will be supplied by the system:
10198
- desiredObj: the object represents the configuration to be applied
10299
to the member cluster.
103100
104-
105101
The returned value should be expressed by a slice of DependentObjectReference.
106102
type: string
107103
required:
@@ -118,7 +114,6 @@ spec:
118114
a specific resource.
119115
The script should implement a function as follows:
120116
121-
122117
```
123118
luaScript: >
124119
function InterpretHealth(observedObj)
@@ -128,16 +123,13 @@ spec:
128123
end
129124
```
130125
131-
132126
The content of the LuaScript needs to be a whole function including both
133127
declaration and implementation.
134128
135-
136129
The parameters will be supplied by the system:
137130
- observedObj: the object represents the configuration that is observed
138131
from a specific member cluster.
139132
140-
141133
The returned boolean value indicates the health status.
142134
type: string
143135
required:
@@ -158,10 +150,8 @@ spec:
158150
LuaScript holds the Lua script that is used to discover the resource's
159151
replica as well as resource requirements
160152
161-
162153
The script should implement a function as follows:
163154
164-
165155
```
166156
luaScript: >
167157
function GetReplicas(desiredObj)
@@ -175,16 +165,13 @@ spec:
175165
end
176166
```
177167
178-
179168
The content of the LuaScript needs to be a whole function including both
180169
declaration and implementation.
181170
182-
183171
The parameters will be supplied by the system:
184172
- desiredObj: the object represents the configuration to be applied
185173
to the member cluster.
186174
187-
188175
The function expects two return values:
189176
- replica: the declared replica number
190177
- requirement: the resource required by each replica expressed with a
@@ -208,7 +195,6 @@ spec:
208195
LuaScript holds the Lua script that is used to revise replicas in the desired specification.
209196
The script should implement a function as follows:
210197
211-
212198
```
213199
luaScript: >
214200
function ReviseReplica(desiredObj, desiredReplica)
@@ -217,17 +203,14 @@ spec:
217203
end
218204
```
219205
220-
221206
The content of the LuaScript needs to be a whole function including both
222207
declaration and implementation.
223208
224-
225209
The parameters will be supplied by the system:
226210
- desiredObj: the object represents the configuration to be applied
227211
to the member cluster.
228212
- desiredReplica: the replica number should be applied with.
229213
230-
231214
The returned object should be a revised configuration which will be
232215
applied to member cluster eventually.
233216
type: string
@@ -249,10 +232,8 @@ spec:
249232
LuaScript holds the Lua script that is used to retain runtime values
250233
to the desired specification.
251234
252-
253235
The script should implement a function as follows:
254236
255-
256237
```
257238
luaScript: >
258239
function Retain(desiredObj, observedObj)
@@ -261,18 +242,15 @@ spec:
261242
end
262243
```
263244
264-
265245
The content of the LuaScript needs to be a whole function including both
266246
declaration and implementation.
267247
268-
269248
The parameters will be supplied by the system:
270249
- desiredObj: the object represents the configuration to be applied
271250
to the member cluster.
272251
- observedObj: the object represents the configuration that is observed
273252
from a specific member cluster.
274253
275-
276254
The returned object should be a retained configuration which will be
277255
applied to member cluster eventually.
278256
type: string
@@ -293,7 +271,6 @@ spec:
293271
to the desired specification.
294272
The script should implement a function as follows:
295273
296-
297274
```
298275
luaScript: >
299276
function AggregateStatus(desiredObj, statusItems)
@@ -304,16 +281,13 @@ spec:
304281
end
305282
```
306283
307-
308284
The content of the LuaScript needs to be a whole function including both
309285
declaration and implementation.
310286
311-
312287
The parameters will be supplied by the system:
313288
- desiredObj: the object represents a resource template.
314289
- statusItems: the slice of status expressed with AggregatedStatusItem.
315290
316-
317291
The returned object should be a whole object with status aggregated.
318292
type: string
319293
required:
@@ -331,7 +305,6 @@ spec:
331305
LuaScript holds the Lua script that is used to get the status from the observed specification.
332306
The script should implement a function as follows:
333307
334-
335308
```
336309
luaScript: >
337310
function ReflectStatus(observedObj)
@@ -341,16 +314,13 @@ spec:
341314
end
342315
```
343316
344-
345317
The content of the LuaScript needs to be a whole function including both
346318
declaration and implementation.
347319
348-
349320
The parameters will be supplied by the system:
350321
- observedObj: the object represents the configuration that is observed
351322
from a specific member cluster.
352323
353-
354324
The returned status could be the whole status or part of it and will
355325
be set into both Work and ResourceBinding(ClusterResourceBinding).
356326
type: string

charts/karmada/_crds/bases/config/config.karmada.io_resourceinterpreterwebhookconfigurations.yaml

Lines changed: 1 addition & 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: resourceinterpreterwebhookconfigurations.config.karmada.io
88
spec:
99
group: config.karmada.io
@@ -61,7 +61,6 @@ spec:
6161
`service` is a reference to the service for this webhook. Either
6262
`service` or `url` must be specified.
6363
64-
6564
If the webhook is running within the cluster, then you should use `service`.
6665
properties:
6766
name:
@@ -96,29 +95,24 @@ spec:
9695
(`scheme://host:port/path`). Exactly one of `url` or `service`
9796
must be specified.
9897
99-
10098
The `host` should not refer to a service running in the cluster; use
10199
the `service` field instead. The host might be resolved via external
102100
DNS in some apiservers (e.g., `kube-apiserver` cannot resolve
103101
in-cluster DNS as that would be a layering violation). `host` may
104102
also be an IP address.
105103
106-
107104
Please note that using `localhost` or `127.0.0.1` as a `host` is
108105
risky unless you take great care to run this webhook on all hosts
109106
which run an apiserver which might need to make calls to this
110107
webhook. Such installs are likely to be non-portable, i.e., not easy
111108
to turn up in a new cluster.
112109
113-
114110
The scheme must be "https"; the URL must begin with "https://".
115111
116-
117112
A path is optional, and if present may be any string permissible in
118113
a URL. You may use the path to pass an arbitrary string to the
119114
webhook, for example, a cluster identifier.
120115
121-
122116
Attempting to use a user or basic auth e.g. "user:password@" is not
123117
allowed. Fragments ("#...") and query parameters ("?...") are not
124118
allowed, either.
@@ -156,7 +150,6 @@ spec:
156150
["apps", "batch", "example.io"] means matches 3 groups.
157151
["*"] means matches all group
158152
159-
160153
Note: The group could be empty, e.g the 'core' group of kubernetes, in that case use [""].
161154
items:
162155
type: string

charts/karmada/_crds/bases/networking/networking.karmada.io_multiclusteringresses.yaml

Lines changed: 15 additions & 17 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: multiclusteringresses.networking.karmada.io
88
spec:
99
group: networking.karmada.io
@@ -142,19 +142,19 @@ spec:
142142
and\n\t :443 for https.\nBoth these may change in the future.\nIncoming
143143
requests are matched against the host before the\nIngressRuleValue.
144144
If the host is unspecified, the Ingress routes all\ntraffic
145-
based on the specified IngressRuleValue.\n\n\nhost can be
146-
\"precise\" which is a domain name without the terminating
147-
dot of\na network host (e.g. \"foo.bar.com\") or \"wildcard\",
148-
which is a domain name\nprefixed with a single wildcard label
149-
(e.g. \"*.foo.com\").\nThe wildcard character '*' must appear
150-
by itself as the first DNS label and\nmatches only a single
151-
label. You cannot have a wildcard label by itself (e.g. Host
152-
== \"*\").\nRequests will be matched against the Host field
153-
in the following way:\n1. If host is precise, the request
154-
matches this rule if the http host header is equal to Host.\n2.
155-
If host is a wildcard, then the request matches this rule
156-
if the http host header\nis to equal to the suffix (removing
157-
the first label) of the wildcard rule."
145+
based on the specified IngressRuleValue.\n\nhost can be \"precise\"
146+
which is a domain name without the terminating dot of\na network
147+
host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain
148+
name\nprefixed with a single wildcard label (e.g. \"*.foo.com\").\nThe
149+
wildcard character '*' must appear by itself as the first
150+
DNS label and\nmatches only a single label. You cannot have
151+
a wildcard label by itself (e.g. Host == \"*\").\nRequests
152+
will be matched against the Host field in the following way:\n1.
153+
If host is precise, the request matches this rule if the http
154+
host header is equal to Host.\n2. If host is a wildcard, then
155+
the request matches this rule if the http host header\nis
156+
to equal to the suffix (removing the first label) of the wildcard
157+
rule."
158158
type: string
159159
http:
160160
description: |-
@@ -339,8 +339,6 @@ spec:
339339
CamelCase names
340340
- cloud provider specific error values must have names that comply with the
341341
format foo.example.com/CamelCase.
342-
---
343-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
344342
maxLength: 316
345343
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])$
346344
type: string
@@ -350,12 +348,12 @@ spec:
350348
format: int32
351349
type: integer
352350
protocol:
353-
default: TCP
354351
description: |-
355352
protocol is the protocol of the ingress port.
356353
The supported values are: "TCP", "UDP", "SCTP"
357354
type: string
358355
required:
356+
- error
359357
- port
360358
- protocol
361359
type: object

0 commit comments

Comments
 (0)