@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22kind : CustomResourceDefinition
33metadata :
44 annotations :
5- controller-gen.kubebuilder.io/version : v0.16.1
5+ controller-gen.kubebuilder.io/version : v0.17.2
66 service.beta.openshift.io/inject-cabundle : " true"
77 labels :
88 cluster.x-k8s.io/provider : cluster-api
@@ -45,11 +45,11 @@ spec:
4545 metadata :
4646 type : object
4747 spec :
48- description : ClusterResourceSetSpec defines the desired state of ClusterResourceSet.
48+ description : spec is the desired state of ClusterResourceSet.
4949 properties :
5050 clusterSelector :
5151 description : |-
52- Label selector for Clusters. The Clusters that are
52+ clusterSelector is the label selector for Clusters. The Clusters that are
5353 selected by this will be the ones affected by this ClusterResourceSet.
5454 It must match the Cluster labels. This field is immutable.
5555 properties :
@@ -129,7 +129,7 @@ spec:
129129 - clusterSelector
130130 type : object
131131 status :
132- description : ClusterResourceSetStatus defines the observed state of ClusterResourceSet.
132+ description : status is the observed state of ClusterResourceSet.
133133 properties :
134134 conditions :
135135 description : conditions defines current state of the ClusterResourceSet.
@@ -139,19 +139,19 @@ spec:
139139 properties :
140140 lastTransitionTime :
141141 description : |-
142- Last time the condition transitioned from one status to another.
142+ lastTransitionTime is the last time the condition transitioned from one status to another.
143143 This should be when the underlying condition changed. If that is not known, then using the time when
144144 the API field changed is acceptable.
145145 format : date-time
146146 type : string
147147 message :
148148 description : |-
149- A human readable message indicating details about the transition.
149+ message is a human readable message indicating details about the transition.
150150 This field may be empty.
151151 type : string
152152 reason :
153153 description : |-
154- The reason for the condition's last transition in CamelCase.
154+ reason is the reason for the condition's last transition in CamelCase.
155155 The specific API may choose whether or not this field is considered a guaranteed API.
156156 This field may not be empty.
157157 type : string
@@ -218,11 +218,11 @@ spec:
218218 metadata :
219219 type : object
220220 spec :
221- description : ClusterResourceSetSpec defines the desired state of ClusterResourceSet.
221+ description : spec is the desired state of ClusterResourceSet.
222222 properties :
223223 clusterSelector :
224224 description : |-
225- Label selector for Clusters. The Clusters that are
225+ clusterSelector is the label selector for Clusters. The Clusters that are
226226 selected by this will be the ones affected by this ClusterResourceSet.
227227 It must match the Cluster labels. This field is immutable.
228228 Label selector cannot be empty.
@@ -303,7 +303,7 @@ spec:
303303 - clusterSelector
304304 type : object
305305 status :
306- description : ClusterResourceSetStatus defines the observed state of ClusterResourceSet.
306+ description : status is the observed state of ClusterResourceSet.
307307 properties :
308308 conditions :
309309 description : conditions defines current state of the ClusterResourceSet.
@@ -313,19 +313,19 @@ spec:
313313 properties :
314314 lastTransitionTime :
315315 description : |-
316- Last time the condition transitioned from one status to another.
316+ lastTransitionTime is the last time the condition transitioned from one status to another.
317317 This should be when the underlying condition changed. If that is not known, then using the time when
318318 the API field changed is acceptable.
319319 format : date-time
320320 type : string
321321 message :
322322 description : |-
323- A human readable message indicating details about the transition.
323+ message is a human readable message indicating details about the transition.
324324 This field may be empty.
325325 type : string
326326 reason :
327327 description : |-
328- The reason for the condition's last transition in CamelCase.
328+ reason is the reason for the condition's last transition in CamelCase.
329329 The specific API may choose whether or not this field is considered a guaranteed API.
330330 This field may not be empty.
331331 type : string
@@ -368,8 +368,9 @@ spec:
368368 name : v1beta1
369369 schema :
370370 openAPIV3Schema :
371- description : ClusterResourceSet is the Schema for the clusterresourcesets
372- API.
371+ description : |-
372+ ClusterResourceSet is the Schema for the clusterresourcesets API.
373+ For advanced use cases an add-on provider should be used instead.
373374 properties :
374375 apiVersion :
375376 description : |-
@@ -389,11 +390,11 @@ spec:
389390 metadata :
390391 type : object
391392 spec :
392- description : ClusterResourceSetSpec defines the desired state of ClusterResourceSet.
393+ description : spec is the desired state of ClusterResourceSet.
393394 properties :
394395 clusterSelector :
395396 description : |-
396- Label selector for Clusters. The Clusters that are
397+ clusterSelector is the label selector for Clusters. The Clusters that are
397398 selected by this will be the ones affected by this ClusterResourceSet.
398399 It must match the Cluster labels. This field is immutable.
399400 Label selector cannot be empty.
@@ -457,12 +458,14 @@ spec:
457458 name :
458459 description : name of the resource that is in the same namespace
459460 with ClusterResourceSet object.
461+ maxLength : 253
460462 minLength : 1
461463 type : string
462464 required :
463465 - kind
464466 - name
465467 type : object
468+ maxItems : 100
466469 type : array
467470 strategy :
468471 description : strategy is the strategy to be used during applying resources.
@@ -475,7 +478,7 @@ spec:
475478 - clusterSelector
476479 type : object
477480 status :
478- description : ClusterResourceSetStatus defines the observed state of ClusterResourceSet.
481+ description : status is the observed state of ClusterResourceSet.
479482 properties :
480483 conditions :
481484 description : conditions defines current state of the ClusterResourceSet.
@@ -485,27 +488,32 @@ spec:
485488 properties :
486489 lastTransitionTime :
487490 description : |-
488- Last time the condition transitioned from one status to another.
491+ lastTransitionTime is the last time the condition transitioned from one status to another.
489492 This should be when the underlying condition changed. If that is not known, then using the time when
490493 the API field changed is acceptable.
491494 format : date-time
492495 type : string
493496 message :
494497 description : |-
495- A human readable message indicating details about the transition.
498+ message is a human readable message indicating details about the transition.
496499 This field may be empty.
500+ maxLength : 10240
501+ minLength : 1
497502 type : string
498503 reason :
499504 description : |-
500- The reason for the condition's last transition in CamelCase.
505+ reason is the reason for the condition's last transition in CamelCase.
501506 The specific API may choose whether or not this field is considered a guaranteed API.
502507 This field may be empty.
508+ maxLength : 256
509+ minLength : 1
503510 type : string
504511 severity :
505512 description : |-
506513 severity provides an explicit classification of Reason code, so the users or machines can immediately
507514 understand the current situation and act accordingly.
508515 The Severity field MUST be set only when Status=False.
516+ maxLength : 32
509517 type : string
510518 status :
511519 description : status of the condition, one of True, False, Unknown.
@@ -515,6 +523,8 @@ spec:
515523 type of condition in CamelCase or in foo.example.com/CamelCase.
516524 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
517525 can be useful (see .node.status.conditions), the ability to deconflict is important.
526+ maxLength : 256
527+ minLength : 1
518528 type : string
519529 required :
520530 - lastTransitionTime
0 commit comments