@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.14.0
6+ controller-gen.kubebuilder.io/version : v0.17.2
77 name : kthreesconfigs.bootstrap.cluster.x-k8s.io
88spec :
99 group : bootstrap.cluster.x-k8s.io
7474 type : string
7575 type : array
7676 privateRegistry :
77- description : |-
78- TODO: take in a object or secret and write to file. this is not useful
79- PrivateRegistry registry configuration file (default: "/etc/rancher/k3s/registries.yaml")
77+ description : ' PrivateRegistry registry configuration file (default:
78+ "/etc/rancher/k3s/registries.yaml")'
8079 type : string
8180 type : object
8281 files :
@@ -232,36 +231,43 @@ spec:
232231 properties :
233232 lastTransitionTime :
234233 description : |-
235- Last time the condition transitioned from one status to another.
234+ lastTransitionTime is the last time the condition transitioned from one status to another.
236235 This should be when the underlying condition changed. If that is not known, then using the time when
237236 the API field changed is acceptable.
238237 format : date-time
239238 type : string
240239 message :
241240 description : |-
242- A human readable message indicating details about the transition.
241+ message is a human readable message indicating details about the transition.
243242 This field may be empty.
243+ maxLength : 10240
244+ minLength : 1
244245 type : string
245246 reason :
246247 description : |-
247- The reason for the condition's last transition in CamelCase.
248+ reason is the reason for the condition's last transition in CamelCase.
248249 The specific API may choose whether or not this field is considered a guaranteed API.
249- This field may not be empty.
250+ This field may be empty.
251+ maxLength : 256
252+ minLength : 1
250253 type : string
251254 severity :
252255 description : |-
253- Severity provides an explicit classification of Reason code, so the users or machines can immediately
256+ severity provides an explicit classification of Reason code, so the users or machines can immediately
254257 understand the current situation and act accordingly.
255258 The Severity field MUST be set only when Status=False.
259+ maxLength : 32
256260 type : string
257261 status :
258- description : Status of the condition, one of True, False, Unknown.
262+ description : status of the condition, one of True, False, Unknown.
259263 type : string
260264 type :
261265 description : |-
262- Type of condition in CamelCase or in foo.example.com/CamelCase.
266+ type of condition in CamelCase or in foo.example.com/CamelCase.
263267 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
264268 can be useful (see .node.status.conditions), the ability to deconflict is important.
269+ maxLength : 256
270+ minLength : 1
265271 type : string
266272 required :
267273 - lastTransitionTime
@@ -360,9 +366,8 @@ spec:
360366 type : string
361367 type : array
362368 privateRegistry :
363- description : |-
364- TODO: take in a object or secret and write to file. this is not useful
365- PrivateRegistry registry configuration file (default: "/etc/rancher/k3s/registries.yaml")
369+ description : ' PrivateRegistry registry configuration file (default:
370+ "/etc/rancher/k3s/registries.yaml")'
366371 type : string
367372 type : object
368373 files :
@@ -535,36 +540,43 @@ spec:
535540 properties :
536541 lastTransitionTime :
537542 description : |-
538- Last time the condition transitioned from one status to another.
543+ lastTransitionTime is the last time the condition transitioned from one status to another.
539544 This should be when the underlying condition changed. If that is not known, then using the time when
540545 the API field changed is acceptable.
541546 format : date-time
542547 type : string
543548 message :
544549 description : |-
545- A human readable message indicating details about the transition.
550+ message is a human readable message indicating details about the transition.
546551 This field may be empty.
552+ maxLength : 10240
553+ minLength : 1
547554 type : string
548555 reason :
549556 description : |-
550- The reason for the condition's last transition in CamelCase.
557+ reason is the reason for the condition's last transition in CamelCase.
551558 The specific API may choose whether or not this field is considered a guaranteed API.
552- This field may not be empty.
559+ This field may be empty.
560+ maxLength : 256
561+ minLength : 1
553562 type : string
554563 severity :
555564 description : |-
556- Severity provides an explicit classification of Reason code, so the users or machines can immediately
565+ severity provides an explicit classification of Reason code, so the users or machines can immediately
557566 understand the current situation and act accordingly.
558567 The Severity field MUST be set only when Status=False.
568+ maxLength : 32
559569 type : string
560570 status :
561- description : Status of the condition, one of True, False, Unknown.
571+ description : status of the condition, one of True, False, Unknown.
562572 type : string
563573 type :
564574 description : |-
565- Type of condition in CamelCase or in foo.example.com/CamelCase.
575+ type of condition in CamelCase or in foo.example.com/CamelCase.
566576 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
567577 can be useful (see .node.status.conditions), the ability to deconflict is important.
578+ maxLength : 256
579+ minLength : 1
568580 type : string
569581 required :
570582 - lastTransitionTime
0 commit comments