Skip to content

STOR-2758: Rebase to upstream v2.1.0 for OCP 4.22#183

Merged
openshift-merge-bot[bot] merged 30 commits intoopenshift:masterfrom
dfajmon:rebase-v2.1.0
Mar 11, 2026
Merged

STOR-2758: Rebase to upstream v2.1.0 for OCP 4.22#183
openshift-merge-bot[bot] merged 30 commits intoopenshift:masterfrom
dfajmon:rebase-v2.1.0

Conversation

@dfajmon
Copy link
Copy Markdown

@dfajmon dfajmon commented Mar 9, 2026

Issue link
https://issues.redhat.com/browse/STOR-2758

Diff to upstream v2.1.0
kubernetes-csi/external-resizer@v2.1.0...dfajmon:rebase-v2.1.0

Notes for reviewers

Summary of changes

Breaking Changes

  • Users who want to use newest version of this package must modify their go.mod file and use https://github.com/kubernetes-csi/external-resizer/v2 instead of https://github.com/kubernetes-csi/external-resizer and update import paths in the code accordingly (#553)

Major Features

  • A StorageClass can use csi.storage.k8s.io/controller-modify-secret-name and csi.storage.k8s.io/controller-modify-secret-namespace to reference the credentials that should be used to modify a volume according to the parameters of a VolumeAttributeClass. In absence of these credentials, the credentials of controller-expand-secret are used as a fallback. (#544)
  • CSI drivers can now implement the MODIFY_VOLUME capability without needing to implement the EXPAND_VOLUME capability. (#545)

Notable Bug Fixes

  • Fixed a race condition that caused csi-resizer to crash with "concurrent map writes" when multiple resize operations failed simultaneously. (#557)

CVE Fixes

CVE-2025-68121 (updated Go version, #563)

Upstream changelogs

Full changelog

kubernetes-csi/external-resizer@v2.0.0...v2.1.0

Last rebase

#179

@openshift/storage

sunnylovestiramisu and others added 30 commits October 24, 2025 18:55
A CSI driver may implement ControllerModifyVolume without supporting
extending volumes. The csi-resizer should allow this combination too.
Storage providers expect to obtain secrets from the
ControllerMoodifyVolume CSI procedure. Without these credentials, it may
not be possible to apply the parameters of a VolumeAttributeClass.

A CSIPersistentVolumeSource does not have ControllerModifySecretRef
(like ControllerExpandSecretRef), so in order to resolve credentials a
secret reference from annotations on the PersistentVolume are used:
 - volume.kubernetes.io/controller-modify-secret-name
 - volume.kubernetes.io/controller-modify-secret-namespace

In absence of these annotations, the ControllerExpandSecretRef of the
CSIPersistentVolumeSource used as a fallback.
Use Context.TODO() in the top-level modify() call, and pass it along.
bbe5e547 Use Kubernetes v1.34 and Kind v0.30 by default
4e9eb2c9 Merge pull request kubernetes-csi#288 from gnufied/add-gnufied-for-csi-approver
064e260d Add myself as csi approver
c852fa79 Merge pull request kubernetes-csi#287 from andyzhangx/patch-7
bce16c10 fix: upgrade to go1.24.11 to fix CVE-2025-61727
8d1258cc Merge pull request kubernetes-csi#286 from kubernetes-csi/dependabot/github_actions/actions/checkout-6
91e35981 Bump actions/checkout from 5 to 6
29413815 Merge pull request kubernetes-csi#285 from andyzhangx/patch-6
fa8b339e fix: upgrade to go1.24.9 to fix CVEs

git-subtree-dir: release-tools
git-subtree-split: bbe5e547e2d675e8ac5d0362f2314f73129c5b56
…-1.34

Rebase release-tools to use Kubernetes v1.34 by default
…olume/secrets

Use credentials when calling ControllerModifyVolume
d6846630 Merge pull request kubernetes-csi#290 from dfajmon/go-1.25.5
55e527c4 Bump golang to 1.25.5
b12e407c Merge pull request kubernetes-csi#289 from nixpanic/k8s-v1.34

git-subtree-dir: release-tools
git-subtree-split: d6846630bd10e563861ab5fa870f9b815daf1f61
Bump dependencies to kubernetes v1.35
add v2 path to module name to allign with go dependency
engine rules and allow users to use latest code correctly
Signed-off-by: Eddie Torres <torredil@amazon.com>
…s-race-condition

Protect finalErrorPVCs with mutex to prevent concurrent map writes
1e81e752 Merge pull request kubernetes-csi#293 from andyzhangx/patch-9
4dc18505 fix: upgrade to go1.25.7 to fix CVE-2025-61727
b60b9a50 Merge pull request kubernetes-csi#292 from andyzhangx/patch-8
0e4e2ed0 Update Go version from 1.25.5 to 1.25.6 to fix CVE
707a99ec Merge pull request kubernetes-csi#291 from dfajmon/logcheck
a9d2b0fb Bump logcheck to v0.10.0

git-subtree-dir: release-tools
git-subtree-split: 1e81e752e87e027311be882279eac9e292705aa5
Bump csi-release-tools to bring go 1.25.7
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 9, 2026
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Mar 9, 2026

@dfajmon: This pull request references STOR-2758 which is a valid jira issue.

Details

In response to this:

Issue link
https://issues.redhat.com/browse/STOR-2758

Diff to upstream v2.1.0
kubernetes-csi/external-resizer@v2.1.0...dfajmon:rebase-v2.1.0

Notes for reviewers

Summary of changes

Breaking Changes

  • Users who want to use newest version of this package must modify their go.mod file and use https://github.com/kubernetes-csi/external-resizer/v2 instead of https://github.com/kubernetes-csi/external-resizer and update import paths in the code accordingly (#553)

Major Features

  • A StorageClass can use csi.storage.k8s.io/controller-modify-secret-name and csi.storage.k8s.io/controller-modify-secret-namespace to reference the credentials that should be used to modify a volume according to the parameters of a VolumeAttributeClass. In absence of these credentials, the credentials of controller-expand-secret are used as a fallback. (#544)
  • CSI drivers can now implement the MODIFY_VOLUME capability without needing to implement the EXPAND_VOLUME capability. (#545)

Notable Bug Fixes

  • Fixed a race condition that caused csi-resizer to crash with "concurrent map writes" when multiple resize operations failed simultaneously. (#557)

CVE Fixes

CVE-2025-68121 (updated Go version, #563)

Upstream changelogs

Full changelog

kubernetes-csi/external-resizer@v2.0.0...v2.1.0

Last rebase

#179

@openshift/storage

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 rhrmo and tsmetana March 9, 2026 10:57
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 9, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dfajmon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Mar 9, 2026
@dfajmon
Copy link
Copy Markdown
Author

dfajmon commented Mar 9, 2026

/retest

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 9, 2026

@dfajmon: all tests passed!

Full PR test history. Your PR dashboard.

Details

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
Copy Markdown

/lgtm

1 similar comment
@jsafrane
Copy link
Copy Markdown

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Mar 10, 2026
@duanwei33
Copy link
Copy Markdown

CI results look good, which should be sufficient for merging from QE side.
/verified by @duanwei33

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Mar 11, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@duanwei33: This PR has been marked as verified by @duanwei33.

Details

In response to this:

CI results look good, which should be sufficient for merging from QE side.
/verified by @duanwei33

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 4e74a4a into openshift:master Mar 11, 2026
11 checks passed
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/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.