Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ replace (
k8s.io/kubernetes => github.com/openshift/kubernetes v1.30.1-0.20251027205255-4e0347881cbd
)

replace (
github.com/openshift/api => ../api
github.com/openshift/clinet-go => ../client-go
)

require (
github.com/blang/semver v3.5.1+incompatible
github.com/go-logr/logr v1.4.3
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,6 @@ github.com/opencontainers/selinux v1.11.1 h1:nHFvthhM0qY8/m+vfhJylliSshm8G1jJ2jD
github.com/opencontainers/selinux v1.11.1/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec=
github.com/openshift-eng/openshift-tests-extension v0.0.0-20251105193959-75a0be5d9bd7 h1:Z1swlS6b3Adm6RPhjqefs3DWnNFLDxRX+WC8GMXhja4=
github.com/openshift-eng/openshift-tests-extension v0.0.0-20251105193959-75a0be5d9bd7/go.mod h1:6gkP5f2HL0meusT0Aim8icAspcD1cG055xxBZ9yC68M=
github.com/openshift/api v0.0.0-20251205114208-5eb46a7b4ce8 h1:kF1HhMhHSpipdHjHm92WngUCxhNC4Iy7wbF6RL739w0=
github.com/openshift/api v0.0.0-20251205114208-5eb46a7b4ce8/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY=
github.com/openshift/client-go v0.0.0-20251202151200-fb4471581cf8 h1:97rgISdT4IOmXlmEUV5Wr6d8BzzjPclzAjCARLbSlT0=
github.com/openshift/client-go v0.0.0-20251202151200-fb4471581cf8/go.mod h1:WVJnsrbSO1J8x8KceOmv1d5CpoN34Uzsaz1O4MIOKJI=
github.com/openshift/cluster-api-actuator-pkg/testutils v0.0.0-20250910145856-21d03d30056d h1:+sqUThLi/lmgT5/scmmjnS6+RZFtbdxRAscNfCPyLPI=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@ spec:
from MachineAPI to ClusterAPI or vice versa. It must transition
through Migrating.
rule: self == 'Migrating' || self == oldSelf || oldSelf == 'Migrating'
- message: The authoritativeAPI field must not be set empty once it
has a value.
rule: oldSelf == ''|| self != ''
conditions:
description: conditions defines the current state of the Machine
items:
Expand Down Expand Up @@ -567,6 +570,21 @@ spec:
serialized/deserialized from this field.
type: object
x-kubernetes-preserve-unknown-fields: true
synchronizedAPI:
description: |-
synchronizedAPI represents the API that is currently in sync with the state of the resource.
Valid values are "MachineAPI" and "ClusterAPI".
When omitted (empty value), the resource has not yet been reconciled by the migration controller.
The migration controller sets `status.synchronizedAPI` to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
It is used to determine the source API of the migration.
enum:
- MachineAPI
- ClusterAPI
type: string
x-kubernetes-validations:
- message: The synchronizedAPI field must not be set empty once it
has a value.
rule: oldSelf == ''|| self != ''
synchronizedGeneration:
description: |-
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@ spec:
from MachineAPI to ClusterAPI or vice versa. It must transition
through Migrating.
rule: self == 'Migrating' || self == oldSelf || oldSelf == 'Migrating'
- message: The authoritativeAPI field must not be set empty once it
has a value.
rule: oldSelf == ''|| self != ''
conditions:
description: conditions defines the current state of the Machine
items:
Expand Down Expand Up @@ -567,6 +570,21 @@ spec:
serialized/deserialized from this field.
type: object
x-kubernetes-preserve-unknown-fields: true
synchronizedAPI:
description: |-
synchronizedAPI represents the API that is currently in sync with the state of the resource.
Valid values are "MachineAPI" and "ClusterAPI".
When omitted (empty value), the resource has not yet been reconciled by the migration controller.
The migration controller sets `status.synchronizedAPI` to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
It is used to determine the source API of the migration.
enum:
- MachineAPI
- ClusterAPI
type: string
x-kubernetes-validations:
- message: The synchronizedAPI field must not be set empty once it
has a value.
rule: oldSelf == ''|| self != ''
synchronizedGeneration:
description: |-
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@ spec:
from MachineAPI to ClusterAPI or vice versa. It must transition
through Migrating.
rule: self == 'Migrating' || self == oldSelf || oldSelf == 'Migrating'
- message: The authoritativeAPI field must not be set empty once it
has a value.
rule: oldSelf == ''|| self != ''
conditions:
description: conditions defines the current state of the Machine
items:
Expand Down Expand Up @@ -567,6 +570,21 @@ spec:
serialized/deserialized from this field.
type: object
x-kubernetes-preserve-unknown-fields: true
synchronizedAPI:
description: |-
synchronizedAPI represents the API that is currently in sync with the state of the resource.
Valid values are "MachineAPI" and "ClusterAPI".
When omitted (empty value), the resource has not yet been reconciled by the migration controller.
The migration controller sets `status.synchronizedAPI` to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
It is used to determine the source API of the migration.
enum:
- MachineAPI
- ClusterAPI
type: string
x-kubernetes-validations:
- message: The synchronizedAPI field must not be set empty once it
has a value.
rule: oldSelf == ''|| self != ''
synchronizedGeneration:
description: |-
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,17 @@ spec:
description: replicas is the most recently observed number of replicas.
format: int32
type: integer
synchronizedAPI:
description: |-
synchronizedAPI represents the API that is currently in sync with the state of the resource.
Valid values are "MachineAPI" and "ClusterAPI".
When omitted (empty value), the resource has not yet been reconciled by the migration controller.
The migration controller sets `status.synchronizedAPI` to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
It is used to determine the source API of the migration.
enum:
- MachineAPI
- ClusterAPI
type: string
synchronizedGeneration:
description: |-
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,17 @@ spec:
description: replicas is the most recently observed number of replicas.
format: int32
type: integer
synchronizedAPI:
description: |-
synchronizedAPI represents the API that is currently in sync with the state of the resource.
Valid values are "MachineAPI" and "ClusterAPI".
When omitted (empty value), the resource has not yet been reconciled by the migration controller.
The migration controller sets `status.synchronizedAPI` to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
It is used to determine the source API of the migration.
enum:
- MachineAPI
- ClusterAPI
type: string
synchronizedGeneration:
description: |-
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,17 @@ spec:
description: replicas is the most recently observed number of replicas.
format: int32
type: integer
synchronizedAPI:
description: |-
synchronizedAPI represents the API that is currently in sync with the state of the resource.
Valid values are "MachineAPI" and "ClusterAPI".
When omitted (empty value), the resource has not yet been reconciled by the migration controller.
The migration controller sets `status.synchronizedAPI` to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
It is used to determine the source API of the migration.
enum:
- MachineAPI
- ClusterAPI
type: string
synchronizedGeneration:
description: |-
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.
Expand Down
2 changes: 1 addition & 1 deletion vendor/github.com/openshift/api/.ci-operator.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions vendor/github.com/openshift/api/.coderabbit.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/github.com/openshift/api/.golangci.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/openshift/api/Dockerfile.ocp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions vendor/github.com/openshift/api/apiextensions/install.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions vendor/github.com/openshift/api/apiextensions/v1alpha1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions vendor/github.com/openshift/api/apiextensions/v1alpha1/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading