Skip to content

Commit 2f3e171

Browse files
committed
DNM: vendor SynchronizedAPI
1 parent 1e243fb commit 2f3e171

45 files changed

Lines changed: 379 additions & 2231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ replace (
1111
k8s.io/kubernetes => github.com/openshift/kubernetes v1.30.1-0.20251027205255-4e0347881cbd
1212
)
1313

14+
replace github.com/openshift/api => github.com/radekmanak/api v0.0.0-20251204123453-af93e51a025c
15+
1416
require (
1517
github.com/blang/semver v3.5.1+incompatible
1618
github.com/go-logr/logr v1.4.3

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,6 @@ github.com/opencontainers/selinux v1.11.1 h1:nHFvthhM0qY8/m+vfhJylliSshm8G1jJ2jD
449449
github.com/opencontainers/selinux v1.11.1/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec=
450450
github.com/openshift-eng/openshift-tests-extension v0.0.0-20251105193959-75a0be5d9bd7 h1:Z1swlS6b3Adm6RPhjqefs3DWnNFLDxRX+WC8GMXhja4=
451451
github.com/openshift-eng/openshift-tests-extension v0.0.0-20251105193959-75a0be5d9bd7/go.mod h1:6gkP5f2HL0meusT0Aim8icAspcD1cG055xxBZ9yC68M=
452-
github.com/openshift/api v0.0.0-20251120220512-cb382c9eaf42 h1:Mo2FlDdoCZ+BE2W4C0lNcxEDeIIhfsYFP6vj4Sggp8w=
453-
github.com/openshift/api v0.0.0-20251120220512-cb382c9eaf42/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY=
454452
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235 h1:9JBeIXmnHlpXTQPi7LPmu1jdxznBhAE7bb1K+3D8gxY=
455453
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235/go.mod h1:L49W6pfrZkfOE5iC1PqEkuLkXG4W0BX4w8b+L2Bv7fM=
456454
github.com/openshift/cluster-api-actuator-pkg/testutils v0.0.0-20250910145856-21d03d30056d h1:+sqUThLi/lmgT5/scmmjnS6+RZFtbdxRAscNfCPyLPI=
@@ -507,6 +505,8 @@ github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 h1:TCg2WBOl
507505
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0=
508506
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs=
509507
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ=
508+
github.com/radekmanak/api v0.0.0-20251204123453-af93e51a025c h1:NAeFz7nWaGNOX6UO76yV/1bTOeS4RMHWYkLKOtEo4Fg=
509+
github.com/radekmanak/api v0.0.0-20251204123453-af93e51a025c/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY=
510510
github.com/raeperd/recvcheck v0.2.0 h1:GnU+NsbiCqdC2XX5+vMZzP+jAJC5fht7rcVTAhX74UI=
511511
github.com/raeperd/recvcheck v0.2.0/go.mod h1:n04eYkwIR0JbgD73wT8wL4JjPC3wm0nFtzBnWNocnYU=
512512
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=

install/0000_30_machine-api-operator_02_machine.CustomNoUpgrade.crd.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,16 @@ spec:
567567
serialized/deserialized from this field.
568568
type: object
569569
x-kubernetes-preserve-unknown-fields: true
570+
synchronizedAPI:
571+
description: |-
572+
synchronizedAPI represents the API that is currently in sync with the state of the resource.
573+
It is used to determine the source API of the migration.
574+
When a migration begins, `status.synchronizedAPI` is set to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
575+
An empty value indicates that the resource has not yet been reconciled by the migration controller.
576+
enum:
577+
- MachineAPI
578+
- ClusterAPI
579+
type: string
570580
synchronizedGeneration:
571581
description: |-
572582
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.

install/0000_30_machine-api-operator_02_machine.DevPreviewNoUpgrade.crd.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,16 @@ spec:
567567
serialized/deserialized from this field.
568568
type: object
569569
x-kubernetes-preserve-unknown-fields: true
570+
synchronizedAPI:
571+
description: |-
572+
synchronizedAPI represents the API that is currently in sync with the state of the resource.
573+
It is used to determine the source API of the migration.
574+
When a migration begins, `status.synchronizedAPI` is set to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
575+
An empty value indicates that the resource has not yet been reconciled by the migration controller.
576+
enum:
577+
- MachineAPI
578+
- ClusterAPI
579+
type: string
570580
synchronizedGeneration:
571581
description: |-
572582
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.

install/0000_30_machine-api-operator_02_machine.TechPreviewNoUpgrade.crd.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,16 @@ spec:
567567
serialized/deserialized from this field.
568568
type: object
569569
x-kubernetes-preserve-unknown-fields: true
570+
synchronizedAPI:
571+
description: |-
572+
synchronizedAPI represents the API that is currently in sync with the state of the resource.
573+
It is used to determine the source API of the migration.
574+
When a migration begins, `status.synchronizedAPI` is set to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
575+
An empty value indicates that the resource has not yet been reconciled by the migration controller.
576+
enum:
577+
- MachineAPI
578+
- ClusterAPI
579+
type: string
570580
synchronizedGeneration:
571581
description: |-
572582
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.

install/0000_30_machine-api-operator_03_machineset.CustomNoUpgrade.crd.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,16 @@ spec:
674674
description: replicas is the most recently observed number of replicas.
675675
format: int32
676676
type: integer
677+
synchronizedAPI:
678+
description: |-
679+
synchronizedAPI represents the API that is currently in sync with the state of the resource.
680+
It is used to determine the source API of the migration.
681+
When a migration begins, `status.synchronizedAPI` is set to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
682+
An empty value indicates that the resource has not yet been reconciled by the migration controller.
683+
enum:
684+
- MachineAPI
685+
- ClusterAPI
686+
type: string
677687
synchronizedGeneration:
678688
description: |-
679689
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.

install/0000_30_machine-api-operator_03_machineset.DevPreviewNoUpgrade.crd.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,16 @@ spec:
674674
description: replicas is the most recently observed number of replicas.
675675
format: int32
676676
type: integer
677+
synchronizedAPI:
678+
description: |-
679+
synchronizedAPI represents the API that is currently in sync with the state of the resource.
680+
It is used to determine the source API of the migration.
681+
When a migration begins, `status.synchronizedAPI` is set to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
682+
An empty value indicates that the resource has not yet been reconciled by the migration controller.
683+
enum:
684+
- MachineAPI
685+
- ClusterAPI
686+
type: string
677687
synchronizedGeneration:
678688
description: |-
679689
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.

install/0000_30_machine-api-operator_03_machineset.TechPreviewNoUpgrade.crd.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,16 @@ spec:
674674
description: replicas is the most recently observed number of replicas.
675675
format: int32
676676
type: integer
677+
synchronizedAPI:
678+
description: |-
679+
synchronizedAPI represents the API that is currently in sync with the state of the resource.
680+
It is used to determine the source API of the migration.
681+
When a migration begins, `status.synchronizedAPI` is set to the value of the `status.authoritativeAPI` before it transitions to "Migrating".
682+
An empty value indicates that the resource has not yet been reconciled by the migration controller.
683+
enum:
684+
- MachineAPI
685+
- ClusterAPI
686+
type: string
677687
synchronizedGeneration:
678688
description: |-
679689
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.

vendor/github.com/openshift/api/config/v1/register.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/openshift/api/config/v1/types_infrastructure.go

Lines changed: 35 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)