Update comment in types.go, to be included in the new CRD docs

See https://github.com/kubernetes-csi/docs/pull/506\#pullrequestreview-943092112

Signed-off-by: Ivan Sim <ihcsim@gmail.com>
This commit is contained in:
Ivan Sim
2022-04-15 14:59:57 -07:00
parent e76e438853
commit d470451a2f

View File

@@ -341,8 +341,6 @@ type VolumeSnapshotContentSpec struct {
// VolumeSnapshotContentSource represents the CSI source of a snapshot. // VolumeSnapshotContentSource represents the CSI source of a snapshot.
// Exactly one of its members must be set. // Exactly one of its members must be set.
// Members in VolumeSnapshotContentSource are immutable. // Members in VolumeSnapshotContentSource are immutable.
// TODO(xiangqian): Add a webhook to ensure that VolumeSnapshotContentSource members
// will be immutable once specified.
type VolumeSnapshotContentSource struct { type VolumeSnapshotContentSource struct {
// volumeHandle specifies the CSI "volume_id" of the volume from which a snapshot // volumeHandle specifies the CSI "volume_id" of the volume from which a snapshot
// should be dynamically taken from. // should be dynamically taken from.