Skip to content

Conversation

@jsafrane
Copy link

Upstream changelogs

Summary of changes

Major features and improvements from v8.3.0 to v8.4.0:

  • v1beta2 VolumeGroupSnapshot API: Introduced new API version as described in KEP 5013
  • Configurable worker threads: Added worker-threads flag to make the number of worker threads in snapshot-controller and csi-snapshotter configurable
  • API deprecation: v1beta1 VolumeGroupSnapshot API is now marked as deprecated
  • Immutable fields: Several VolumeGroupSnapshot, VolumeGroupSnapshotClass, and VolumeGroupSnapshotContent fields are now immutable
  • Dependency updates: Updated Kubernetes dependencies to v1.34.0 and CSI spec to v1.12

Carried commits

All commits from the previous rebase (v8.3.0) have been carried forward:

  1. 4279ab8 - UPSTREAM: <carry>: Add OpenShift files - cherry-pick

    • This is the persistent carry that adds all OpenShift-specific files and removes .github
  2. 8b132ec - UPSTREAM: <carry>: Updating ose-csi-external-snapshotter-container image to be consistent with ART for 4.21 - squash

    • Modifies only OpenShift-specific files (.ci-operator.yaml, Dockerfile.openshift)
    • Squashed into the main OpenShift files commit
  3. 7bdcd9c - UPSTREAM: <carry>: Updating ose-csi-snapshot-controller-container image to be consistent with ART for 4.21 - squash

    • Modifies only OpenShift-specific files (Dockerfile.snapshot-controller.openshift.rhel7)
    • Squashed into the main OpenShift files commit

All squashed commits have been combined into a single commit: "UPSTREAM: : Add OpenShift files" which includes updates to .ci-operator.yaml and Dockerfiles for OCP 4.21.

Testing

  • make - Build successful
  • make test - All tests pass

Diff to upstream: kubernetes-csi/external-snapshotter@v8.4.0...jsafrane:external-snapshotter:rebase-v8.4.0

Previous rebase: #181

leonardoce and others added 30 commits July 28, 2025 17:38
This commit introduces the new VolumeGroupSnapshot v1beta2 API, updates
the CRD and the generated code.

Both v1beta1 and v1beta2 APIs are served, with v1beta1 being the stored
version.
This patch configures the conversion strategy on the
VolumeGroupSnapshot, VolumeGroupSnapshotContent and
VolumeGroupSnapshotClass CRDs.

Since v1beta2 is marked as the stored version, client using v1beta1 will
now require the conversion webhook to operate propertly.
This commit has just the minimal changes to make the code use the new
API. The new fields are not yet set.
This patch improves the sidecar to set the fields introduced by the
VolumeGroupSnapshotContent v1beta2 API when dynamically provisioning a
VolumeGroupSnapshot.

This information is then used by the common snapshot controller to set
the status of the member VolumeSnapshotContent objects, allowing the
relative fields to be set even when the CSI driver does not implement
the ListSnapshots RPC call.
This patch implements a reversible conversion webhook from/to
VolumeGroupSnapshots v1beta1 to/from VolumeGroupSnapshots v1beta2.

The extra fields included in the new API are tracked in an annotation
that is automatically set on v1beta1 objects.
This patch makes several corrections to the conversion webhook:

- fixes several occurrences of the old validation webhook codebase
- simplify the webhook command and drops the direct cobra dependency
- align the README with what the code really does
- removes the unneeded structure in the unit tests
- removes unneeded code and the unneeded dependencies
- drop support for converting VolumeSnapshots and VolumeSnapshotClasses as they
  are structurally identical

Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
Apply Jan's suggestions.

Signed-off-by: Leonardo Cecchi <[email protected]>
Introduce v1beta2 VolumeGroupSnapshot API
…s-faster

Restart external-snapshotter faster by releasing leader election lease on sigterm
5f38a9075 Merge pull request kubernetes-csi#282 from rhrmo/update-go-1.24.6
579f62421 Update go to 1.24.6
74e066a82 Merge pull request kubernetes-csi#279 from Aishwarya-Hebbar/update-csi-prow-version
6f236be7d Update CSI prow driver version to v1.17.0
0ee55894b Merge pull request kubernetes-csi#280 from xing-yang/update_go_1.24.4
9af101534 update to go 1.24.4
f5fec3e36 Merge pull request kubernetes-csi#275 from chrishenzie/emeritus
c5d285db8 Remove chrishenzie from kubernetes-csi-reviewers

git-subtree-dir: release-tools
git-subtree-split: 5f38a907597230563f5e2213aea116acdd9d86bc
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…/github_actions/actions/setup-go-6

Bump actions/setup-go from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…/github_actions/actions/checkout-5

Bump actions/checkout from 4 to 5
Signed-off-by: Leonardo Cecchi <[email protected]>
Madhu-1 and others added 16 commits October 8, 2025 10:52
Signed-off-by: Leonardo Cecchi <[email protected]>
74502e544 Merge pull request kubernetes-csi#278 from liangyuanpeng/migrate_k8s_testimages
533443055 Merge pull request kubernetes-csi#281 from kubernetes-csi/dependabot/github_actions/actions/checkout-5
458ce146f Bump actions/checkout from 4 to 5
5ec1a52b8 use gcr.io/k8s-staging-test-infra instead of gcr.io/k8s-testimages

git-subtree-dir: release-tools
git-subtree-split: 74502e544bc6a17820892c0d490e8f0b59462998
Deprecate VolumeGroupSnapshot v1beta1, address API review comments
Additional changes: Update .ci-operator.yaml and Dockerfiles for OCP 4.21
@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

@jsafrane: This pull request references STOR-2534 which is a valid jira issue.

This pull request references STOR-2586 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set.

In response to this:

Upstream changelogs

Summary of changes

Major features and improvements from v8.3.0 to v8.4.0:

  • v1beta2 VolumeGroupSnapshot API: Introduced new API version as described in KEP 5013
  • Configurable worker threads: Added worker-threads flag to make the number of worker threads in snapshot-controller and csi-snapshotter configurable
  • API deprecation: v1beta1 VolumeGroupSnapshot API is now marked as deprecated
  • Immutable fields: Several VolumeGroupSnapshot, VolumeGroupSnapshotClass, and VolumeGroupSnapshotContent fields are now immutable
  • Dependency updates: Updated Kubernetes dependencies to v1.34.0 and CSI spec to v1.12

Carried commits

All commits from the previous rebase (v8.3.0) have been carried forward:

  1. 4279ab8 - UPSTREAM: <carry>: Add OpenShift files - cherry-pick
  • This is the persistent carry that adds all OpenShift-specific files and removes .github
  1. 8b132ec - UPSTREAM: <carry>: Updating ose-csi-external-snapshotter-container image to be consistent with ART for 4.21 - squash
  • Modifies only OpenShift-specific files (.ci-operator.yaml, Dockerfile.openshift)
  • Squashed into the main OpenShift files commit
  1. 7bdcd9c - UPSTREAM: <carry>: Updating ose-csi-snapshot-controller-container image to be consistent with ART for 4.21 - squash
  • Modifies only OpenShift-specific files (Dockerfile.snapshot-controller.openshift.rhel7)
  • Squashed into the main OpenShift files commit

All squashed commits have been combined into a single commit: "UPSTREAM: : Add OpenShift files" which includes updates to .ci-operator.yaml and Dockerfiles for OCP 4.21.

Testing

  • make - Build successful
  • make test - All tests pass

Diff to upstream: kubernetes-csi/external-snapshotter@v8.4.0...jsafrane:external-snapshotter:rebase-v8.4.0

Previous rebase: #181

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
Author

/hold
for coordinated merged with all other v1beta2 API PRs. See https://issues.redhat.com/browse/STOR-2534.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 24, 2025
@openshift-ci openshift-ci bot requested review from gnufied and rhrmo October 24, 2025 13:50
@openshift-ci
Copy link

openshift-ci bot commented Oct 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 24, 2025
@openshift-ci
Copy link

openshift-ci bot commented Oct 24, 2025

@jsafrane: 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 9011337 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.

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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.