Fix bug volume cloning feature is broken

The field DataSource should be a string with full
information about the source of volume. For example,
snap://vol-name/snapshot-name

Longhorn-3508

Signed-off-by: Phan Le <phan.le@suse.com>
(cherry picked from commit be27eeacfd094e5148e1044ba14e73cc287ee792)
This commit is contained in:
Phan Le 2022-01-06 16:02:48 -08:00 committed by David Ko
parent 78edfff1f5
commit ab53d4f98c

View File

@ -1664,11 +1664,6 @@ spec:
requestedBackupRestore:
type: string
requestedDataSource:
enum:
- ""
- backup
- snapshot
- volume
type: string
revisionCounterDisabled:
type: boolean
@ -1913,11 +1908,6 @@ spec:
requestedBackupRestore:
type: string
requestedDataSource:
enum:
- ""
- backup
- snapshot
- volume
type: string
revisionCounterDisabled:
type: boolean
@ -3396,11 +3386,6 @@ spec:
- best-effort
type: string
dataSource:
enum:
- ""
- backup
- snapshot
- volume
type: string
disableFrontend:
type: boolean
@ -3646,11 +3631,6 @@ spec:
- best-effort
type: string
dataSource:
enum:
- ""
- backup
- snapshot
- volume
type: string
disableFrontend:
type: boolean