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
expectedError: 'Invalid value: "string": a lowercase RFC 1123 subdomain must consist of lowercase alphanumeric characters, hyphens (''-''), and periods (''.''). Each block, separated by periods, must start and end with an alphanumeric character. Hyphens are not allowed at the start or end of a block, and consecutive periods are not permitted.'
135
140
- name: Should reject to create ControlPlaneMachineSet with invalid machineNamePrefix - Consecutive periods are not permitted
expectedError: 'Invalid value: "string": a lowercase RFC 1123 subdomain must consist of lowercase alphanumeric characters, hyphens (''-''), and periods (''.''). Each block, separated by periods, must start and end with an alphanumeric character. Hyphens are not allowed at the start or end of a block, and consecutive periods are not permitted.'
Copy file name to clipboardExpand all lines: machine/v1/zz_generated.crd-manifests/0000_10_control-plane-machine-set_01_controlplanemachinesets-DevPreviewNoUpgrade.crd.yaml
+14
Original file line number
Diff line number
Diff line change
@@ -553,6 +553,20 @@ spec:
553
553
failure domain field. This will be overriden when the Machines
554
554
are created based on the FailureDomains field.
555
555
properties:
556
+
authoritativeAPI:
557
+
default: MachineAPI
558
+
description: |-
559
+
authoritativeAPI is the API that is authoritative for this resource.
560
+
Valid values are MachineAPI and ClusterAPI.
561
+
When set to MachineAPI, writes to the spec of the machine.openshift.io copy of this resource will be reflected into the cluster.x-k8s.io copy.
562
+
When set to ClusterAPI, writes to the spec of the cluster.x-k8s.io copy of this resource will be reflected into the machine.openshift.io copy.
563
+
Updates to the status will be reflected in both copies of the resource, based on the controller implementing the functionality of the API.
564
+
Currently the authoritative API determines which controller will manage the resource, this will change in a future release.
565
+
To ensure the change has been accepted, please verify that the `status.authoritativeAPI` field has been updated to the desired value and that the `Synchronized` condition is present and set to `True`.
566
+
enum:
567
+
- MachineAPI
568
+
- ClusterAPI
569
+
type: string
556
570
lifecycleHooks:
557
571
description: |-
558
572
lifecycleHooks allow users to pause operations on the machine at
Copy file name to clipboardExpand all lines: machine/v1/zz_generated.crd-manifests/0000_10_control-plane-machine-set_01_controlplanemachinesets-TechPreviewNoUpgrade.crd.yaml
+14
Original file line number
Diff line number
Diff line change
@@ -553,6 +553,20 @@ spec:
553
553
failure domain field. This will be overriden when the Machines
554
554
are created based on the FailureDomains field.
555
555
properties:
556
+
authoritativeAPI:
557
+
default: MachineAPI
558
+
description: |-
559
+
authoritativeAPI is the API that is authoritative for this resource.
560
+
Valid values are MachineAPI and ClusterAPI.
561
+
When set to MachineAPI, writes to the spec of the machine.openshift.io copy of this resource will be reflected into the cluster.x-k8s.io copy.
562
+
When set to ClusterAPI, writes to the spec of the cluster.x-k8s.io copy of this resource will be reflected into the machine.openshift.io copy.
563
+
Updates to the status will be reflected in both copies of the resource, based on the controller implementing the functionality of the API.
564
+
Currently the authoritative API determines which controller will manage the resource, this will change in a future release.
565
+
To ensure the change has been accepted, please verify that the `status.authoritativeAPI` field has been updated to the desired value and that the `Synchronized` condition is present and set to `True`.
566
+
enum:
567
+
- MachineAPI
568
+
- ClusterAPI
569
+
type: string
556
570
lifecycleHooks:
557
571
description: |-
558
572
lifecycleHooks allow users to pause operations on the machine at
Copy file name to clipboardExpand all lines: machine/v1beta1/zz_generated.crd-manifests/0000_10_machine-api_01_machines-DevPreviewNoUpgrade.crd.yaml
+47
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,20 @@ spec:
81
81
spec:
82
82
description: MachineSpec defines the desired state of Machine
83
83
properties:
84
+
authoritativeAPI:
85
+
default: MachineAPI
86
+
description: |-
87
+
authoritativeAPI is the API that is authoritative for this resource.
88
+
Valid values are MachineAPI and ClusterAPI.
89
+
When set to MachineAPI, writes to the spec of the machine.openshift.io copy of this resource will be reflected into the cluster.x-k8s.io copy.
90
+
When set to ClusterAPI, writes to the spec of the cluster.x-k8s.io copy of this resource will be reflected into the machine.openshift.io copy.
91
+
Updates to the status will be reflected in both copies of the resource, based on the controller implementing the functionality of the API.
92
+
Currently the authoritative API determines which controller will manage the resource, this will change in a future release.
93
+
To ensure the change has been accepted, please verify that the `status.authoritativeAPI` field has been updated to the desired value and that the `Synchronized` condition is present and set to `True`.
94
+
enum:
95
+
- MachineAPI
96
+
- ClusterAPI
97
+
type: string
84
98
lifecycleHooks:
85
99
description: |-
86
100
lifecycleHooks allow users to pause operations on the machine at
@@ -364,6 +378,23 @@ spec:
364
378
type: object
365
379
type: array
366
380
x-kubernetes-list-type: atomic
381
+
authoritativeAPI:
382
+
description: |-
383
+
authoritativeAPI is the API that is authoritative for this resource.
384
+
Valid values are MachineAPI, ClusterAPI and Migrating.
385
+
This value is updated by the migration controller to reflect the authoritative API.
386
+
Machine API and Cluster API controllers use this value to determine whether or not to reconcile the resource.
387
+
When set to Migrating, the migration controller is currently performing the handover of authority from one API to the other.
388
+
enum:
389
+
- MachineAPI
390
+
- ClusterAPI
391
+
- Migrating
392
+
type: string
393
+
x-kubernetes-validations:
394
+
- message: The authoritativeAPI field must not transition directly
395
+
from MachineAPI to ClusterAPI or vice versa. It must transition
Copy file name to clipboardExpand all lines: machine/v1beta1/zz_generated.crd-manifests/0000_10_machine-api_01_machines-TechPreviewNoUpgrade.crd.yaml
+47
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,20 @@ spec:
81
81
spec:
82
82
description: MachineSpec defines the desired state of Machine
83
83
properties:
84
+
authoritativeAPI:
85
+
default: MachineAPI
86
+
description: |-
87
+
authoritativeAPI is the API that is authoritative for this resource.
88
+
Valid values are MachineAPI and ClusterAPI.
89
+
When set to MachineAPI, writes to the spec of the machine.openshift.io copy of this resource will be reflected into the cluster.x-k8s.io copy.
90
+
When set to ClusterAPI, writes to the spec of the cluster.x-k8s.io copy of this resource will be reflected into the machine.openshift.io copy.
91
+
Updates to the status will be reflected in both copies of the resource, based on the controller implementing the functionality of the API.
92
+
Currently the authoritative API determines which controller will manage the resource, this will change in a future release.
93
+
To ensure the change has been accepted, please verify that the `status.authoritativeAPI` field has been updated to the desired value and that the `Synchronized` condition is present and set to `True`.
94
+
enum:
95
+
- MachineAPI
96
+
- ClusterAPI
97
+
type: string
84
98
lifecycleHooks:
85
99
description: |-
86
100
lifecycleHooks allow users to pause operations on the machine at
@@ -364,6 +378,23 @@ spec:
364
378
type: object
365
379
type: array
366
380
x-kubernetes-list-type: atomic
381
+
authoritativeAPI:
382
+
description: |-
383
+
authoritativeAPI is the API that is authoritative for this resource.
384
+
Valid values are MachineAPI, ClusterAPI and Migrating.
385
+
This value is updated by the migration controller to reflect the authoritative API.
386
+
Machine API and Cluster API controllers use this value to determine whether or not to reconcile the resource.
387
+
When set to Migrating, the migration controller is currently performing the handover of authority from one API to the other.
388
+
enum:
389
+
- MachineAPI
390
+
- ClusterAPI
391
+
- Migrating
392
+
type: string
393
+
x-kubernetes-validations:
394
+
- message: The authoritativeAPI field must not transition directly
395
+
from MachineAPI to ClusterAPI or vice versa. It must transition
0 commit comments