Skip to content

Add VolumeSnapshot resource support for Cinder#686

Open
aldokimi wants to merge 9 commits intok-orc:mainfrom
aldokimi:dev/volume_snapshot_controller
Open

Add VolumeSnapshot resource support for Cinder#686
aldokimi wants to merge 9 commits intok-orc:mainfrom
aldokimi:dev/volume_snapshot_controller

Conversation

@aldokimi
Copy link
Copy Markdown
Contributor

Fixes #635

Summary

Adds a new VolumeSnapshot CRD and controller to manage Cinder volume snapshots.

Reference

@github-actions github-actions bot added the semver:major Breaking change label Feb 21, 2026
Generated initial VolumeSnapshot controller files using the scaffold tool:

go run ./cmd/scaffold-controller -interactive=false       -kind=VolumeSnapshot       -gophercloud-client=NewBlockStorageV3       -gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/blockstorage/v3/snapshots       -gophercloud-type=Snapshot       -openstack-json-object=snapshot       -available-polling-period=15       -deleting-polling-period=15       -required-create-dependency=Volume
Add proper fields, validations, and metadata types for
VolumeSnapshotResourceSpec (force, metadata), VolumeSnapshotFilter
(status, volumeID), and VolumeSnapshotResourceStatus (size, metadata,
progress, projectID, userID, groupSnapshotID, consumesQuota, createdAt,
updatedAt) to align with the Cinder Volume Snapshot API.

Those are all acoording to https://docs.openstack.org/api-ref/block-storage/v3/#volume-snapshots-snapshots:~:text=Volume%20snapshots%20(snapshots)%C2%B6
Wire the scaffolded VolumeSnapshotClient into the Scope interface,
provider implementation, and MockScopeFactory. Add go:generate
directives for mock generation of the VolumeSnapshotClient.
@aldokimi aldokimi force-pushed the dev/volume_snapshot_controller branch from 13dfd73 to 9a0001a Compare April 11, 2026 21:56
@aldokimi aldokimi marked this pull request as ready for review April 11, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:major Breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cinder Volume Snapshot Controller

1 participant