OCPBUGS-76410: Stop serving admissionregistration.k8s.io/v1beta1. - #7270
OCPBUGS-76410: Stop serving admissionregistration.k8s.io/v1beta1.#7270benluddy wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Review skipped — only excluded labels are configured. (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughRemoved enforcement and runtime-config wiring for the ValidatingAdmissionPolicy feature gate from KAS config generation; tests and fixtures updated to remove Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
Skipping CI for Draft Pull Request. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benluddy, csrwng 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to Reviews -> Disable Knowledge Base setting
📒 Files selected for processing (1)
control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**
⚙️ CodeRabbit configuration file
-Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity.
Files:
control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go
🔇 Additional comments (2)
control-plane-operator/controllers/hostedcontrolplane/v2/kas/config.go (2)
237-248: LGTM - Runtime config correctly updated.The removal of the conditional block that added
admissionregistration.k8s.io/v1beta1=trueto runtime-config (based on the ValidatingAdmissionPolicy feature gate) correctly achieves the PR objective of stopping serving the v1beta1 API. The remaining conditional blocks follow the same pattern for other features.
334-334: Confirm that keeping ValidatingAdmissionPolicy admission plugin enabled is intentional.The
ValidatingAdmissionPolicyadmission plugin remains in the enabled list even though the feature gate is no longer enforced and the v1beta1 API is not being served. This appears correct since the plugin can work with the v1 API, but please confirm this is the intended behavior.
e0b5c8e to
c616f5a
Compare
|
/retest |
|
@benluddy looks like |
c616f5a to
82cae5a
Compare
|
/retest-required |
4.17 went GA with this group/version inadvertently served due to a mistake in the pivot of ValidatingAdmissionPolicy from tech preview to default. We retroactively marked it as deprecated and phased it out with removal occurring in standalone for 4.20.
82cae5a to
dd6719d
Compare
|
Rebased, but it looks like the verify presubmit started permafailing sometime in the last day. |
|
/test verify |
|
@benluddy we just did fix it a few min ago |
|
Are we wanting this PR to target the |
|
/test verify |
|
/retitle OCPBUGS-76410: Stop serving admissionregistration.k8s.io/v1beta1. |
|
@benluddy: This pull request references Jira Issue OCPBUGS-76410, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (yli2@redhat.com), skipping review request. 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. |
It will need to be backported. Just linked a fresh issue to track this. |
|
Can you please update the release notes and the target backport versions on the Jira ticket? |
|
/verified by @benluddy |
|
@benluddy: 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. |
|
PR needs rebase. 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. |
|
@benluddy: The following tests 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. |
|
Stale PRs are closed after 21d of inactivity. If this PR is still relevant, comment to refresh it or remove the stale label. If this PR is safe to close now please do so with /lifecycle stale |
|
Stale PRs rot after 14d of inactivity. Mark the PR as fresh by commenting If this PR is safe to close now please do so with /lifecycle rotten |
|
Now I have the complete picture. Let me compile the final report. Test Failure Analysis CompleteJob Information
Test Failure AnalysisErrorSummaryBoth failures — Root CauseThe PR branch ( Git cannot automatically merge both sets of changes, resulting in content conflicts in 4 files under
Because the merge fails at the git level ( Recommendations
Evidence
|
|
Rotten PRs close after 7d of inactivity. Reopen the PR by commenting /close |
|
@openshift-ci[bot]: Closed this PR. 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 kubernetes-sigs/prow repository. |
|
@benluddy: This pull request references Jira Issue OCPBUGS-76410. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state. 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. |
We missed the 4.20 removal of this GV on Hypershift in the course of https://issues.redhat.com/browse/OCPBUGS-55465: