From 9f87b841c0f020cbdd04bf3a9464c00daae2729c Mon Sep 17 00:00:00 2001 From: umagnus Date: Mon, 28 Apr 2025 03:50:44 +0000 Subject: [PATCH 1/2] fix snapshot crd --- .../crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml b/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml index cd0c879fc..1659f2ac8 100644 --- a/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml +++ b/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml @@ -148,7 +148,7 @@ spec: sourceVolumeMode: description: |- SourceVolumeMode is the mode of the volume whose snapshot is taken. - Can be either “Filesystem” or “Block”. + Can be either "Filesystem" or "Block". If not specified, it indicates the source volume's mode is unknown. This field is immutable. This field is an alpha field. From 06266730ee73cf606c57e57c3783b70fe804a53b Mon Sep 17 00:00:00 2001 From: umagnus Date: Thu, 1 May 2025 08:42:43 +0000 Subject: [PATCH 2/2] fix snapshot illegal characters --- client/apis/volumesnapshot/v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/apis/volumesnapshot/v1/types.go b/client/apis/volumesnapshot/v1/types.go index 36f60dc95..e792fb787 100644 --- a/client/apis/volumesnapshot/v1/types.go +++ b/client/apis/volumesnapshot/v1/types.go @@ -344,7 +344,7 @@ type VolumeSnapshotContentSpec struct { Source VolumeSnapshotContentSource `json:"source" protobuf:"bytes,5,opt,name=source"` // SourceVolumeMode is the mode of the volume whose snapshot is taken. - // Can be either “Filesystem” or “Block”. + // Can be either "Filesystem" or "Block". // If not specified, it indicates the source volume's mode is unknown. // This field is immutable. // This field is an alpha field.