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

NO ISSUE: Tombstone Spec.PinnedImageSets in MCN v1alpha1 API #2256

Conversation

isabella-janssen
Copy link
Member

@isabella-janssen isabella-janssen commented Apr 1, 2025

The MCO did not implement the functionality to populate the Spec.PinnedImageSets field on a PIS application. This cleanup is necessary to avoid GAing the MCN API with an unpopulated field. See #2256 (comment) for more information.

Work Included:

  • Tombstoning of Spec.PinnedImageSets field and corresponding MachineConfigNodeSpecPinnedImageSet type definition in the MCN API.
  • Cleanup of tests no longer applicable.

Copy link
Contributor

openshift-ci bot commented Apr 1, 2025

Hello @isabella-janssen! Some important instructions when contributing to openshift/api:
API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

@openshift-ci openshift-ci bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 1, 2025
@isabella-janssen isabella-janssen force-pushed the tombstone-pis-in-mcn-spec branch from ca5703b to af6a8a4 Compare April 1, 2025 01:09
@isabella-janssen
Copy link
Member Author

/assign @RishabhSaini @hexfusion

@isabella-janssen
Copy link
Member Author

/test all

@hexfusion
Copy link
Contributor

/lgtm

Per our conversation, the canonical pinned imageset spec is defined in the resource itself and deployed/reconciled on the pool level. MCN provides a per-node status to avoid needing to use annotations on the node level. For this reason, spec is not used/needed and ok to remove.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2025
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2025
@isabella-janssen isabella-janssen changed the title NO ISSUE: Remove Spec.PinnedImageSets from MCN v1alpha1 API NO ISSUE: Tombstone Spec.PinnedImageSets in MCN v1alpha1 API Apr 1, 2025
@isabella-janssen
Copy link
Member Author

/test integration

1 similar comment
@isabella-janssen
Copy link
Member Author

/test integration

@isabella-janssen isabella-janssen force-pushed the tombstone-pis-in-mcn-spec branch from 4db578e to 847b21e Compare April 1, 2025 17:47
@isabella-janssen
Copy link
Member Author

/test integration

@isabella-janssen isabella-janssen force-pushed the tombstone-pis-in-mcn-spec branch from 8eacd8d to 44e754a Compare April 1, 2025 20:03
@isabella-janssen isabella-janssen force-pushed the tombstone-pis-in-mcn-spec branch from 0505a32 to ca3a239 Compare April 1, 2025 22:03
@JoelSpeed
Copy link
Contributor

/lgtm
/override ci/prow/verify-crd-schema

Since this is a v1alpha1 API, we don't have to worry about folks upgrading, we are safe to remove this field

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 2, 2025
Copy link
Contributor

openshift-ci bot commented Apr 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hexfusion, isabella-janssen, JoelSpeed

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:

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 2, 2025
Copy link
Contributor

openshift-ci bot commented Apr 2, 2025

@JoelSpeed: Overrode contexts on behalf of JoelSpeed: ci/prow/verify-crd-schema

In response to this:

/lgtm
/override ci/prow/verify-crd-schema

Since this is a v1alpha1 API, we don't have to worry about folks upgrading, we are safe to remove this field

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-sigs/prow repository.

Copy link
Contributor

openshift-ci bot commented Apr 2, 2025

@isabella-janssen: all tests passed!

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 3d7abe9 into openshift:master Apr 2, 2025
23 checks passed
@openshift-bot
Copy link

[ART PR BUILD NOTIFIER]

Distgit: ose-cluster-config-api
This PR has been included in build ose-cluster-config-api-container-v4.20.0-202504021210.p0.g3d7abe9.assembly.stream.el9.
All builds following this will include this PR.

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. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants