Skip to content

Add SnapshotHandle in VolumeSnapshotInfo #20

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

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions api/v1/qdrantclustersnapshot_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ type VolumeSnapshotInfo struct {
// ReadyToUse indicates if the volume snapshot is ready to use
// +optional
ReadyToUse bool `json:"readyToUse"`
// SnapshotHandle is the identifier of the volume snapshot in the respective cloud provider
// +optional
SnapshotHandle string `json:"snapshotHandle,omitempty"`
}

// +kubebuilder:object:root=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ spec:
description: ReadyToUse indicates if the volume snapshot is
ready to use
type: boolean
snapshotHandle:
description: SnapshotHandle is the identifier of the volume
snapshot in the respective cloud provider
type: string
volumeName:
description: VolumeName is the name of the volume that was backed
up
Expand Down
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1024,5 +1024,6 @@ _Appears in:_
| `volumeSnapshotName` _string_ | VolumeSnapshotName is the name of the volume snapshot | | |
| `volumeName` _string_ | VolumeName is the name of the volume that was backed up | | |
| `readyToUse` _boolean_ | ReadyToUse indicates if the volume snapshot is ready to use | | |
| `snapshotHandle` _string_ | SnapshotHandle is the identifier of the volume snapshot in the respective cloud provider | | |