OCPBUGS-105399: Remove SigstoreImageVerification feature gate references - #6445
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@amritansh1502: This pull request references Jira Issue OCPBUGS-105399, which is valid. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. WalkthroughImage policy observers, policy loading, and bootstrap processing no longer depend on the Sigstore image verification feature gate. The bootstrap API and related test fixtures were updated accordingly. ChangesImage policy processing
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized change removes obsolete feature-gate references while preserving the intended always-enabled behavior; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The SigstoreImageVerification feature gate is enabled by default across all profiles and is being removed from openshift/api (openshift/api#3000). Drop all MCO references: the gate is now always-on, so the guarded behavior is made unconditional and the sigstoreAPIEnabled() helper is removed.
bf208bd to
929d105
Compare
|
/retest |
|
/test bootstrap-unit |
|
/lgtm |
|
Scheduling tests matching the |
|
/retest |
|
/test e2e-gcp-op-part1 |
isabella-janssen
left a comment
There was a problem hiding this comment.
/approve
Required tests passed and this was approved by Joel (#6445 (comment)) so this should be good to go.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amritansh1502, isabella-janssen, JoelSpeed 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 |
|
/verified by @amritansh1502 |
|
@amritansh1502: This PR has been marked as verified by DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@amritansh1502: The following test failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
b64f5c7
into
openshift:main
|
@amritansh1502: Jira Issue OCPBUGS-105399: Some pull requests linked via external trackers have merged: The following pull request, linked via external tracker, has not merged:
All associated pull requests must be merged or unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-105399 has not been moved to the MODIFIED state. This PR is marked as verified. If the remaining PRs listed above are marked as verified before merging, the issue will automatically be moved to VERIFIED after all of the changes from the PRs are available in an accepted nightly payload. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
- What I did
Removed all references to the
SigstoreImageVerificationfeature gate from the machine-config-operator. This gate is now enabled by default across all clusterprofiles (Default, OKD, TechPreviewNoUpgrade, DevPreviewNoUpgrade) and is beingremoved entirely from openshift/api (see openshift/api#3000),
features.FeatureGateSigstoreImageVerificationwill no longer exist once MCO revendors- How to verify it
go build ./pkg/controller/container-runtime-config/... ./pkg/controller/bootstrap/...go test ./pkg/controller/container-runtime-config/... ./pkg/controller/bootstrap/...grep -rn "SigstoreImageVerification\|sigstoreAPIEnabled" . --exclude-dir=vendorreturns no results.- Description for the changelog
Remove the SigstoreImageVerification feature gate; sigstore image verification is now always enabled.
Summary by CodeRabbit
New Features
Bug Fixes
Tests