Add back oneOf in volumesnapshotcontets.yaml
This commit is contained in:
@@ -115,6 +115,9 @@ spec:
|
|||||||
This field is immutable.
|
This field is immutable.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required: ["snapshotHandle"]
|
||||||
|
- required: ["volumeHandle"]
|
||||||
sourceVolumeMode:
|
sourceVolumeMode:
|
||||||
description: SourceVolumeMode is the mode of the volume whose snapshot
|
description: SourceVolumeMode is the mode of the volume whose snapshot
|
||||||
is taken. Can be either “Filesystem” or “Block”. If not specified,
|
is taken. Can be either “Filesystem” or “Block”. If not specified,
|
||||||
|
@@ -100,8 +100,8 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
oneOf:
|
oneOf:
|
||||||
- required: [ "persistentVolumeClaimName" ]
|
- required: ["persistentVolumeClaimName"]
|
||||||
- required: [ "volumeSnapshotContentName" ]
|
- required: ["volumeSnapshotContentName"]
|
||||||
volumeSnapshotClassName:
|
volumeSnapshotClassName:
|
||||||
description: 'VolumeSnapshotClassName is the name of the VolumeSnapshotClass
|
description: 'VolumeSnapshotClassName is the name of the VolumeSnapshotClass
|
||||||
requested by the VolumeSnapshot. VolumeSnapshotClassName may be
|
requested by the VolumeSnapshot. VolumeSnapshotClassName may be
|
||||||
|
Reference in New Issue
Block a user