@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- api-approved.kubernetes.io : " https://github.com/kubernetes-csi/external-snapshotter/pull/814 "
6+ api-approved.kubernetes.io : " https://github.com/kubernetes-csi/external-snapshotter/pull/971 "
77 controller-gen.kubebuilder.io/version : v0.12.0
88 creationTimestamp : null
99 name : volumegroupsnapshotcontents.groupsnapshot.storage.k8s.io
@@ -104,23 +104,42 @@ spec:
104104 dynamically provisioned or already exists, and just requires a Kubernetes
105105 object representation. This field is immutable after creation. Required.
106106 properties :
107+ groupSnapshotHandleSource :
108+ description : GroupSnapshotHandleSource specifies the CSI "group_snapshot_id"
109+ of a pre-existing group snapshot and a list of CSI "snapshot_id"
110+ of pre-existing snapshots on the underlying storage system for
111+ which a Kubernetes object representation was (or should be)
112+ created. This field is immutable.
113+ properties :
114+ volumeGroupSnapshotHandle :
115+ description : VolumeGroupSnapshotHandle specifies the CSI "group_snapshot_id"
116+ of a pre-existing group snapshot on the underlying storage
117+ system for which a Kubernetes object representation was
118+ (or should be) created. This field is immutable. Required.
119+ type : string
120+ volumeSnapshotHandles :
121+ description : VolumeSnapshotHandles is a list of CSI "snapshot_id"
122+ of pre-existing snapshots on the underlying storage system
123+ for which Kubernetes objects representation were (or should
124+ be) created. This field is immutable. Required.
125+ items :
126+ type : string
127+ type : array
128+ required :
129+ - volumeGroupSnapshotHandle
130+ - volumeSnapshotHandles
131+ type : object
107132 persistentVolumeNames :
108133 description : PersistentVolumeNames is a list of names of PersistentVolumes
109134 to be snapshotted together. It is specified for dynamic provisioning
110135 of the VolumeGroupSnapshot. This field is immutable.
111136 items :
112137 type : string
113138 type : array
114- volumeGroupSnapshotHandle :
115- description : VolumeGroupSnapshotHandle specifies the CSI "group_snapshot_id"
116- of a pre-existing group snapshot on the underlying storage system
117- for which a Kubernetes object representation was (or should
118- be) created. This field is immutable.
119- type : string
120139 type : object
121140 oneOf :
122141 - required : ["persistentVolumeNames"]
123- - required : ["volumeGroupSnapshotHandle "]
142+ - required : ["groupSnapshotHandleSource "]
124143 volumeGroupSnapshotClassName :
125144 description : VolumeGroupSnapshotClassName is the name of the VolumeGroupSnapshotClass
126145 from which this group snapshot was (or will be) created. Note that
0 commit comments