You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfignodes-Default.crd.yaml
+70Lines changed: 70 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,30 @@ spec:
102
102
spec:
103
103
description: spec describes the configuration of the machine config node.
104
104
properties:
105
+
configImage:
106
+
description: |-
107
+
configImage is an optional field for configuring the OS image to be used for this node. This field will only exist if the node belongs to a pool opted into on-cluster image builds, and will override any MachineConfig referenced OSImageURL fields
108
+
When omitted, Image Mode is not be enabled and the node will follow the standard update process of creating a rendered MachineConfig and updating to its specifications.
109
+
When specified, Image Mode is enabled and will attempt to update the node to use the desired image. Following this, the node will follow the standard update process of creating a rendered MachineConfig and updating to its specifications.
110
+
properties:
111
+
desiredImage:
112
+
description: |-
113
+
desiredImage is a required field that configures the image that the node should be updated to use.
114
+
It must be a fully qualified OCI image pull spec of the format host[:port][/namespace]/name@sha256:, where the digest must be exactly 64 characters in length and consist only of lowercase hexadecimal characters, a-f and 0-9.
115
+
desiredImage must not be an empty string and must not exceed 447 characters in length.
116
+
maxLength: 447
117
+
minLength: 1
118
+
type: string
119
+
x-kubernetes-validations:
120
+
- message: the OCI Image reference must end with a valid '@sha256:<digest>'
configVersion holds the desired config version for the node targeted by this machine config node resource.
@@ -247,6 +271,52 @@ spec:
247
271
x-kubernetes-list-map-keys:
248
272
- type
249
273
x-kubernetes-list-type: map
274
+
configImage:
275
+
description: |-
276
+
configImage is an optional field for configuring the OS image to be used for this node. This field will only exist if the node belongs to a pool opted into on-cluster image builds, and will override any MachineConfig referenced OSImageURL fields.
277
+
When omitted, this means that the Image Mode feature is not being used and the node will be up to date with the specific current rendered config version for the nodes MachinePool.
278
+
When specified, the Image Mode feature is enabled and the contents of this field show the observed state of the node image.
279
+
When Image Mode is enabled and a new MachineConfig is applied such that a new OS image build is not created, only the configVersion field will change.
280
+
When Image Mode is enabled and a new MachineConfig is applied such that a new OS image build is created, then only the configImage field will change. It is also possible that both the configImage
281
+
and configVersion change during the same update.
282
+
minProperties: 1
283
+
properties:
284
+
currentImage:
285
+
description: |-
286
+
currentImage is an optional field that represents the current image that is applied to the node.
287
+
When omitted, this means that no image updates have been applied to the node and it will be up to date with the specific current rendered config version.
288
+
When specified, this means that the node is currently using this image.
289
+
currentImage must be a fully qualified OCI image pull spec of the format host[:port][/namespace]/name@sha256:, where the digest must be exactly 64 characters in length and consist only of lowercase hexadecimal characters, a-f and 0-9.
290
+
currentImage must not be an empty string and must not exceed 447 characters in length.
291
+
maxLength: 447
292
+
minLength: 1
293
+
type: string
294
+
x-kubernetes-validations:
295
+
- message: the OCI Image reference must end with a valid '@sha256:<digest>'
desiredImage is an optional field that represents the currently observed state of image that the node should be updated to use.
304
+
When not specified, this means that Image Mode has been disabled and the node will up to date with the specific current rendered config version.
305
+
When specified, this means that Image Mode has been enabled and the node is actively progressing to update the node to this image.
306
+
If currentImage and desiredImage match, the node has been successfully updated to use the desired image.
307
+
desiredImage must be a fully qualified OCI image pull spec of the format host[:port][/namespace]/name@sha256:, where the digest must be exactly 64 characters in length and consist only of lowercase hexadecimal characters, a-f and 0-9.
308
+
desiredImage must not be an empty string and must not exceed 447 characters in length.
309
+
maxLength: 447
310
+
minLength: 1
311
+
type: string
312
+
x-kubernetes-validations:
313
+
- message: the OCI Image reference must end with a valid '@sha256:<digest>'
0 commit comments