@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.20 .0
6+ controller-gen.kubebuilder.io/version : v0.21 .0
77 name : managedcloudprofiles.cloudprofilesync.cobaltcore.dev
88spec :
99 group : cloudprofilesync.cobaltcore.dev
@@ -85,19 +85,48 @@ spec:
8585 description : Versions is the list of allowed Kubernetes versions
8686 with optional expiration dates for Shoot clusters.
8787 items :
88- description : ExpirableVersion contains a version and an
89- expiration date .
88+ description : ExpirableVersion contains a version with associated
89+ lifecycle information .
9090 properties :
9191 classification :
9292 description : |-
9393 Classification defines the state of a version (preview, supported, deprecated).
94- To get the currently valid classification, use CurrentLifecycleClassification().
94+
95+ Deprecated: Is replaced by Lifecycle. mutually exclusive with it.
9596 type : string
9697 expirationDate :
97- description : ExpirationDate defines the time at which
98- this version expires.
98+ description : |-
99+ ExpirationDate defines the time at which this version expires.
100+
101+ Deprecated: Is replaced by Lifecycle; mutually exclusive with it.
99102 format : date-time
100103 type : string
104+ lifecycle :
105+ description : |-
106+ Lifecycle defines the lifecycle stages for this version.
107+ Mutually exclusive with Classification and ExpirationDate.
108+ This can only be used when the VersionClassificationLifecycle feature gate is enabled.
109+ items :
110+ description : |-
111+ LifecycleStage describes a stage in the versions lifecycle.
112+ Each stage defines the classification of the version (e.g. unavailable, preview, supported, deprecated, expired)
113+ and the time at which this classification becomes effective.
114+ properties :
115+ classification :
116+ description : Classification is the category of
117+ this lifecycle stage (unavailable, preview,
118+ supported, deprecated, expired).
119+ type : string
120+ startTime :
121+ description : |-
122+ StartTime defines when this lifecycle stage becomes active.
123+ StartTime can be omitted for the first lifecycle stage, implying a start time in the past.
124+ format : date-time
125+ type : string
126+ required :
127+ - classification
128+ type : object
129+ type : array
101130 version :
102131 description : Version is the version identifier.
103132 type : string
@@ -184,7 +213,8 @@ spec:
184213 classification :
185214 description : |-
186215 Classification defines the state of a version (preview, supported, deprecated).
187- To get the currently valid classification, use CurrentLifecycleClassification().
216+
217+ Deprecated: Is replaced by Lifecycle. mutually exclusive with it.
188218 type : string
189219 cri :
190220 description : CRI list of supported container runtime
@@ -223,8 +253,10 @@ spec:
223253 type : object
224254 type : array
225255 expirationDate :
226- description : ExpirationDate defines the time at which
227- this version expires.
256+ description : |-
257+ ExpirationDate defines the time at which this version expires.
258+
259+ Deprecated: Is replaced by Lifecycle; mutually exclusive with it.
228260 format : date-time
229261 type : string
230262 inPlaceUpdates :
@@ -253,6 +285,32 @@ spec:
253285 - '>= 1.26' - supports only kubelet versions greater than or equal to 1.26
254286 - '< 1.26' - supports only kubelet versions less than 1.26
255287 type : string
288+ lifecycle :
289+ description : |-
290+ Lifecycle defines the lifecycle stages for this version.
291+ Mutually exclusive with Classification and ExpirationDate.
292+ This can only be used when the VersionClassificationLifecycle feature gate is enabled.
293+ items :
294+ description : |-
295+ LifecycleStage describes a stage in the versions lifecycle.
296+ Each stage defines the classification of the version (e.g. unavailable, preview, supported, deprecated, expired)
297+ and the time at which this classification becomes effective.
298+ properties :
299+ classification :
300+ description : Classification is the category
301+ of this lifecycle stage (unavailable, preview,
302+ supported, deprecated, expired).
303+ type : string
304+ startTime :
305+ description : |-
306+ StartTime defines when this lifecycle stage becomes active.
307+ StartTime can be omitted for the first lifecycle stage, implying a start time in the past.
308+ format : date-time
309+ type : string
310+ required :
311+ - classification
312+ type : object
313+ type : array
256314 version :
257315 description : Version is the version identifier.
258316 type : string
@@ -303,6 +361,17 @@ spec:
303361 type.
304362 pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
305363 x-kubernetes-int-or-string : true
364+ machineControllerManager :
365+ description : MachineControllerManagerSettings contains a
366+ subset of the MachineControllerManagerSettings which can
367+ be defaulted for a machine type in a CloudProfile.
368+ properties :
369+ machineCreationTimeout :
370+ description : MachineCreationTimeout is the period after
371+ which creation of a machine of this machine type is
372+ declared failed.
373+ type : string
374+ type : object
306375 memory :
307376 anyOf :
308377 - type : integer
@@ -431,7 +500,7 @@ spec:
431500 properties :
432501 matchExpressions :
433502 description : matchExpressions is a list of label selector
434- requirements. The requirements are ANDead .
503+ requirements. The requirements are ANDed .
435504 items :
436505 description : |-
437506 A label selector requirement is a selector that contains values, a key, and an operator that
@@ -468,7 +537,7 @@ spec:
468537 description : |-
469538 matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
470539 map is equivalent to an element of matchExpressions, whose key field is "key", the
471- operator is "In", and the values array contains only "value". The requirements are ANDead .
540+ operator is "In", and the values array contains only "value". The requirements are ANDed .
472541 type : object
473542 providerTypes :
474543 description : Providers is optional and can be used by restricting
@@ -521,7 +590,7 @@ spec:
521590 garbage collection
522591 properties :
523592 enabled :
524- description : Enabled toggles garbage collection for this resource .
593+ description : Enabled toggles garbage collection for this image .
525594 type : boolean
526595 maxAge :
527596 description : |-
0 commit comments