Skip to content

Conversation

@bertinatto
Copy link
Member

Version v1 is available in Kubernetes 1.34.

/assign @benluddy

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Oct 24, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Oct 24, 2025

@bertinatto: This pull request references OCPSTRAT-2371 which is a valid jira issue.

In response to this:

Version v1 is available in Kubernetes 1.34.

/assign @benluddy

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.

@openshift-ci openshift-ci bot requested review from dinhxuanvu and tkashem October 24, 2025 15:19
@coderabbitai
Copy link

coderabbitai bot commented Oct 24, 2025

Walkthrough

Removed the VolumeAttributesClass entry from defaultGroupVersionsByFeatureGate in pkg/operator/configobservation/apienablement/observe_runtime_config.go; no other mappings were modified.

Changes

Cohort / File(s) Summary
Removal of feature-gate mapping
pkg/operator/configobservation/apienablement/observe_runtime_config.go
Deleted the VolumeAttributesClass map entry that previously referenced GroupVersion{Group: "storage.k8s.io", Version: "v1beta1"} from defaultGroupVersionsByFeatureGate. No other entries changed.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Check for any references to VolumeAttributesClass or hardcoded storage.k8s.io/v1beta1 that may expect the mapping to exist.
  • Verify runtime-config population tests or integration points that relied on the removed entry.

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Title Check ✅ Passed The PR title "OCPSTRAT-2371: Stop serving VolumeAttributesClass v1beta1" directly and clearly describes the main change in the pull request. The raw summary confirms that the primary change is the removal of the VolumeAttributesClass entry from the feature gate mapping, which aligns perfectly with the title's statement about stopping the serving of this API version. The title is concise, specific, and free of noise or vague terminology.
Description Check ✅ Passed The PR description "Version v1 is available in Kubernetes 1.34" provides a meaningful rationale for the change. This statement directly relates to the changeset by explaining why VolumeAttributesClass v1beta1 is being removed—because the v1 version is now available in Kubernetes 1.34. While brief, the description conveys sufficient information about the motivation behind the change and is clearly relevant to the removal of v1beta1 support.

📜 Recent 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

📥 Commits

Reviewing files that changed from the base of the PR and between 3f99c6b and 24ccc18.

📒 Files selected for processing (1)
  • pkg/operator/configobservation/apienablement/observe_runtime_config.go (0 hunks)
💤 Files with no reviewable changes (1)
  • pkg/operator/configobservation/apienablement/observe_runtime_config.go

Comment @coderabbitai help to get the list of available commands and usage tips.

@benluddy
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 24, 2025
@bertinatto
Copy link
Member Author

/retest-required

1 similar comment
@bertinatto
Copy link
Member Author

/retest-required

@bertinatto
Copy link
Member Author

/test all

@bertinatto bertinatto force-pushed the remove-volumeattributesclass-v1beta1 branch from 39b13b0 to 6e00712 Compare November 18, 2025 17:13
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 18, 2025
@bertinatto bertinatto force-pushed the remove-volumeattributesclass-v1beta1 branch from 6e00712 to 3f99c6b Compare November 18, 2025 17:44
@bertinatto bertinatto changed the title OCPSTRAT-2371: Stop serving VolumeAttributesClass v1beta1 OCPSTRAT-2371: Stop serving VolumeAttributesClass v1beta1 in k8s v1.35.0+ Nov 18, 2025
Copy link

@coderabbitai coderabbitai bot left a 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.0 correctly 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

📥 Commits

Reviewing files that changed from the base of the PR and between 6e00712 and 3f99c6b.

📒 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

@bertinatto bertinatto force-pushed the remove-volumeattributesclass-v1beta1 branch from 3f99c6b to 2396d40 Compare November 18, 2025 17:55
@bertinatto bertinatto force-pushed the remove-volumeattributesclass-v1beta1 branch from 2396d40 to 24ccc18 Compare November 18, 2025 17:55
@bertinatto bertinatto changed the title OCPSTRAT-2371: Stop serving VolumeAttributesClass v1beta1 in k8s v1.35.0+ OCPBUGS-65755: Stop serving VolumeAttributesClass v1beta1 Nov 18, 2025
@openshift-ci-robot openshift-ci-robot added jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Nov 18, 2025
@openshift-ci-robot
Copy link

@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
  • bug is open, matching expected state (open)
  • bug target version (4.21.0) matches configured target version for branch (4.21.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

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:

Version v1 is available in Kubernetes 1.34.

/assign @benluddy

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.

@jsafrane
Copy link
Contributor

/testwith openshift/cluster-kube-apiserver-operator/master/e2e-aws-ovn openshift/kubernetes#2522

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 19, 2025

@jsafrane, testwith: could not generate prow job. ERROR:

could not determine ci op config from metadata: got unexpected http 404 status code from configresolver: failed to get config: could not find any config for branch master on repo openshift/cluster-kube-apiserver-operator

@jsafrane
Copy link
Contributor

/testwith openshift/cluster-kube-apiserver-operator/main/e2e-aws-ovn openshift/kubernetes#2522

@jsafrane
Copy link
Contributor

/testwith openshift/kubernetes/master/e2e-aws-ovn-techpreview openshift/kubernetes#2522

@bertinatto
Copy link
Member Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 20, 2025

@bertinatto: 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/okd-scos-e2e-aws-ovn 39b13b0 link false /test okd-scos-e2e-aws-ovn

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.

@jsafrane
Copy link
Contributor

/retest-required
disruption/metrics-api connection/new should be available throughout the test

@jsafrane
Copy link
Contributor

/lgtm
from storage point of view, everyone should use v1

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

openshift-ci bot commented Nov 20, 2025

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@benluddy
Copy link
Contributor

/verified by CI

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Nov 20, 2025
@openshift-ci-robot
Copy link

@benluddy: This PR has been marked as verified by CI.

In response to this:

/verified by CI

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.

@openshift-merge-bot openshift-merge-bot bot merged commit 9182a52 into openshift:main Nov 20, 2025
14 of 15 checks passed
@openshift-ci-robot
Copy link

@bertinatto: Jira Issue Verification Checks: Jira Issue OCPBUGS-65755
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

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:

Version v1 is available in Kubernetes 1.34.

/assign @benluddy

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.

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. jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants