Add back oneOf in volumesnapshotcontets.yaml

This commit is contained in:
Raunak Pradip Shah
2022-05-14 11:13:55 +05:30
parent 2c2262382f
commit f7a7fb3fce
2 changed files with 5 additions and 2 deletions

View File

@@ -115,6 +115,9 @@ spec:
This field is immutable.
type: string
type: object
oneOf:
- required: ["snapshotHandle"]
- required: ["volumeHandle"]
sourceVolumeMode:
description: SourceVolumeMode is the mode of the volume whose snapshot
is taken. Can be either “Filesystem” or “Block”. If not specified,