@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
3
3
kind : CustomResourceDefinition
4
4
metadata :
5
5
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 "
7
7
controller-gen.kubebuilder.io/version : v0.12.0
8
8
creationTimestamp : null
9
9
name : volumegroupsnapshotcontents.groupsnapshot.storage.k8s.io
@@ -104,23 +104,42 @@ spec:
104
104
dynamically provisioned or already exists, and just requires a Kubernetes
105
105
object representation. This field is immutable after creation. Required.
106
106
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
107
132
persistentVolumeNames :
108
133
description : PersistentVolumeNames is a list of names of PersistentVolumes
109
134
to be snapshotted together. It is specified for dynamic provisioning
110
135
of the VolumeGroupSnapshot. This field is immutable.
111
136
items :
112
137
type : string
113
138
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
120
139
type : object
121
140
oneOf :
122
141
- required : ["persistentVolumeNames"]
123
- - required : ["volumeGroupSnapshotHandle "]
142
+ - required : ["groupSnapshotHandleSource "]
124
143
volumeGroupSnapshotClassName :
125
144
description : VolumeGroupSnapshotClassName is the name of the VolumeGroupSnapshotClass
126
145
from which this group snapshot was (or will be) created. Note that
0 commit comments