Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove .status from serialized configuration on HCP #1617

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

csrwng
Copy link
Contributor

@csrwng csrwng commented Jul 26, 2022

What this PR does / why we need it:
In the typed configuration we store, we only use the spec struct of each
configuration resource. However, when we serialize it, we include the
entire resource. The stauts resource is not needed and is causing
incompatibility with older OCP versions.

Going forward, the incompatibility should be fixed by #1616. However,
this change is needed to ensure we don't immediately break things while
CPOs in production are upgraded.

Checklist

  • Subject and description added to both, commit and PR.
  • This change includes unit tests.

In the typed configuration we store, we only use the spec struct of each
configuration resource. However, when we serialize it, we include the
entire resource. The stauts resource is not needed and is causing
incompatibility with older OCP versions.

Going forward, the incompatibility should be fixed by openshift#1616. However,
this change is needed to ensure we don't immediately break things while
CPOs in production are upgraded.
@openshift-ci openshift-ci bot requested review from alvaroaleman and sjenning July 26, 2022 16:33
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 26, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 26, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 26, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, csrwng

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [alvaroaleman,csrwng]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@relyt0925
Copy link
Contributor

major props to the kube wizardry done here :)

@relyt0925
Copy link
Contributor

/retest

@relyt0925
Copy link
Contributor

see change: openshift/api#1235 that sparked this change for more details

@alvaroaleman
Copy link
Contributor

/skip

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 27, 2022

@csrwng: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws 609d61d link false /test e2e-aws

Full PR test history. Your PR dashboard.

Instructions 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.

@openshift-merge-robot openshift-merge-robot merged commit 579d83b into openshift:main Jul 27, 2022
@csrwng csrwng deleted the remove-status branch July 14, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants