Skip to content

Commit b9025d4

Browse files
authored
Add SnapshotHandle in VolumeSnapshotInfo (#20)
1 parent 3752f72 commit b9025d4

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

api/v1/qdrantclustersnapshot_types.go

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ type VolumeSnapshotInfo struct {
5656
// ReadyToUse indicates if the volume snapshot is ready to use
5757
// +optional
5858
ReadyToUse bool `json:"readyToUse"`
59+
// SnapshotHandle is the identifier of the volume snapshot in the respective cloud provider
60+
// +optional
61+
SnapshotHandle string `json:"snapshotHandle,omitempty"`
5962
}
6063

6164
// +kubebuilder:object:root=true

charts/qdrant-operator-crds/crds/qdrant.io_qdrantclustersnapshots.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ spec:
103103
description: ReadyToUse indicates if the volume snapshot is
104104
ready to use
105105
type: boolean
106+
snapshotHandle:
107+
description: SnapshotHandle is the identifier of the volume
108+
snapshot in the respective cloud provider
109+
type: string
106110
volumeName:
107111
description: VolumeName is the name of the volume that was backed
108112
up

docs/api.md

+1
Original file line numberDiff line numberDiff line change
@@ -1024,5 +1024,6 @@ _Appears in:_
10241024
| `volumeSnapshotName` _string_ | VolumeSnapshotName is the name of the volume snapshot | | |
10251025
| `volumeName` _string_ | VolumeName is the name of the volume that was backed up | | |
10261026
| `readyToUse` _boolean_ | ReadyToUse indicates if the volume snapshot is ready to use | | |
1027+
| `snapshotHandle` _string_ | SnapshotHandle is the identifier of the volume snapshot in the respective cloud provider | | |
10271028

10281029

0 commit comments

Comments
 (0)