mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Add OneOf
This commit is contained in:
parent
20e77209f1
commit
43bd5f8648
@ -117,6 +117,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,
|
||||||
|
Loading…
Reference in New Issue
Block a user