Deprecate Platform field on ControllerConfig CRD#1624
Deprecate Platform field on ControllerConfig CRD#1624openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
2d825c7 to
294a9fe
Compare
yuqi-zhang
left a comment
There was a problem hiding this comment.
I am generally in favour of removing deprecated fields, and this looks sane at a first pass. Will let others take a look and do a more through review.
294a9fe to
e265675
Compare
|
I've rephrased this a little. Deprecated probably wasn't quite true as this is still used right now. As this is an internal API the change shouldn't cause any problems. Btw, there is another redundancy: ControllerConfig.EtcdDiscoveryDomain and ControllerConfig.Infra.Status.EtcdDiscoveryDomain. I feel like this should also be deduped and canonicalized in Infra.Status |
eb07634 to
180090c
Compare
|
/retest |
7267a7c to
f441d05
Compare
|
/test images |
|
/retest |
|
/cc @runcom |
f441d05 to
2be6690
Compare
|
depends on #1658 |
d18e8d1 to
1809de7
Compare
1809de7 to
493a44a
Compare
493a44a to
e74a06f
Compare
|
PR rebased. /hold cancel |
e74a06f to
13d40a9
Compare
|
/approve |
13d40a9 to
a4afc71
Compare
a4afc71 to
bfb4019
Compare
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
needs a rebase 👼 |
Currently ControllerConfig.Platform and ControllerConfig.Infra.Status.PlatformStatus.Type contain redundant information. However, the former is encoded as untyped string and the latter as configv1.PlatformType. This deprecates the ControllerConfig.Platform field and leaves ControllerConfig.Infra.Status.PlatformStatus.Type as the canonical platform identifier, making all internals consume that field instead.
bfb4019 to
215162f
Compare
|
rebased :) |
|
/retest |
1 similar comment
|
/retest |
|
/test e2e-aws |
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LorbusChris, runcom The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/skip |
|
@LorbusChris: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
Currently ControllerConfig.Platform and
ControllerConfig.Infra.Status.PlatformStatus.Type contain redundant
information. However, the former is encoded as untyped string and the
latter as configv1.PlatformType.
This deprecates the ControllerConfig.Platform field and leaves
ControllerConfig.Infra.Status.PlatformStatus.Type as the
canonical platform identifier, making all internals consume that field
instead.