Skip to content

Commit 4a03dd1

Browse files
committed
DNM: vendor SynchronizedAPI
1 parent 1e243fb commit 4a03dd1

File tree

78 files changed

+528
-3177
lines changed

Some content is hidden

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

78 files changed

+528
-3177
lines changed

go.mod

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

14+
replace (
15+
github.com/openshift/api => github.com/radekmanak/api v0.0.0-20251204123453-af93e51a025c
16+
github.com/openshift/client-go => github.com/radekmanak/client-go v0.0.0-20251204152955-25da3c24268b
17+
)
18+
1419
require (
1520
github.com/blang/semver v3.5.1+incompatible
1621
github.com/go-logr/logr v1.4.3
@@ -19,7 +24,7 @@ require (
1924
github.com/onsi/ginkgo/v2 v2.27.2
2025
github.com/onsi/gomega v1.38.2
2126
github.com/openshift-eng/openshift-tests-extension v0.0.0-20251105193959-75a0be5d9bd7
22-
github.com/openshift/api v0.0.0-20251120220512-cb382c9eaf42
27+
github.com/openshift/api v0.0.0-20251202143230-02f6733e651c
2328
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235
2429
github.com/openshift/cluster-api-actuator-pkg/testutils v0.0.0-20250910145856-21d03d30056d
2530
github.com/openshift/cluster-control-plane-machine-set-operator v0.0.0-20251029084908-344babe6a957

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +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=
454-
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235 h1:9JBeIXmnHlpXTQPi7LPmu1jdxznBhAE7bb1K+3D8gxY=
455-
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235/go.mod h1:L49W6pfrZkfOE5iC1PqEkuLkXG4W0BX4w8b+L2Bv7fM=
456452
github.com/openshift/cluster-api-actuator-pkg/testutils v0.0.0-20250910145856-21d03d30056d h1:+sqUThLi/lmgT5/scmmjnS6+RZFtbdxRAscNfCPyLPI=
457453
github.com/openshift/cluster-api-actuator-pkg/testutils v0.0.0-20250910145856-21d03d30056d/go.mod h1:9+FWWWLkVrnBo1eYhA/0Ehlq5JMgIAHtcB0IF+qV1AA=
458454
github.com/openshift/cluster-control-plane-machine-set-operator v0.0.0-20251029084908-344babe6a957 h1:eVnkMTFnirnoUOlAUT3Hy8WriIi1JoSrilWym3Dl8Q4=
@@ -507,6 +503,10 @@ github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 h1:TCg2WBOl
507503
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0=
508504
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs=
509505
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ=
506+
github.com/radekmanak/api v0.0.0-20251204123453-af93e51a025c h1:NAeFz7nWaGNOX6UO76yV/1bTOeS4RMHWYkLKOtEo4Fg=
507+
github.com/radekmanak/api v0.0.0-20251204123453-af93e51a025c/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY=
508+
github.com/radekmanak/client-go v0.0.0-20251204152955-25da3c24268b h1:apAQxtagU/2b/DnTcZrG1wd/A0ilczbkQuuOjo6OeLk=
509+
github.com/radekmanak/client-go v0.0.0-20251204152955-25da3c24268b/go.mod h1:W99ptVdrvAiVov4lD6X7+bILQ5mL4CK8QSIi8Sj6fuY=
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)