-
Notifications
You must be signed in to change notification settings - Fork 182
OCPBUGS-65755: Stop serving VolumeAttributesClass v1beta1 #1949
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
OCPBUGS-65755: Stop serving VolumeAttributesClass v1beta1 #1949
Conversation
|
@bertinatto: This pull request references OCPSTRAT-2371 which is a valid jira issue. In 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. |
WalkthroughRemoved the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Comment |
|
/lgtm |
|
/retest-required |
1 similar comment
|
/retest-required |
|
/test all |
39b13b0 to
6e00712
Compare
6e00712 to
3f99c6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
pkg/operator/configobservation/apienablement/observe_runtime_config.go (1)
31-33: Version range is correct.VolumeAttributesClass graduated to GA (v1) in Kubernetes 1.34, and the version range
>=1.31.0 <1.35.0correctly ensures that v1beta1 is served only in Kubernetes versions 1.31.0 through 1.34.x, after which only the stable v1 API will be available.Optional: Consider adding a comment for clarity.
While not critical, adding a brief comment similar to the MutatingAdmissionPolicy entry (lines 20-27) could improve maintainability by documenting the rationale for the version range and when v1beta1 can be fully removed.
Apply this diff to add an explanatory comment:
"VolumeAttributesClass": { + // v1beta1 was introduced in 1.31 and v1 graduated to GA in 1.34. + // Serve v1beta1 only for versions <1.35.0, after which v1 is the only supported version. {KubeVersionRange: semver.MustParseRange(">=1.31.0 <1.35.0"), GroupVersion: schema.GroupVersion{Group: "storage.k8s.io", Version: "v1beta1"}}, },
📜 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)
pkg/operator/configobservation/apienablement/observe_runtime_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:
pkg/operator/configobservation/apienablement/observe_runtime_config.go
3f99c6b to
2396d40
Compare
2396d40 to
24ccc18
Compare
|
@bertinatto: This pull request references Jira Issue OCPBUGS-65755, 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 ([email protected]), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
|
/testwith openshift/cluster-kube-apiserver-operator/master/e2e-aws-ovn openshift/kubernetes#2522 |
|
@jsafrane, |
|
/testwith openshift/cluster-kube-apiserver-operator/main/e2e-aws-ovn openshift/kubernetes#2522 |
|
/testwith openshift/kubernetes/master/e2e-aws-ovn-techpreview openshift/kubernetes#2522 |
|
/retest |
|
@bertinatto: The following test failed, say
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. |
|
/retest-required |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benluddy, bertinatto, jsafrane 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 |
|
/verified by CI |
|
@benluddy: This PR has been marked as verified by In 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. |
9182a52
into
openshift:main
|
@bertinatto: Jira Issue Verification Checks: Jira Issue OCPBUGS-65755 Jira Issue OCPBUGS-65755 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 In 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. |
Version v1 is available in Kubernetes 1.34.
/assign @benluddy