Skip to content
Permalink
Browse files
Add OneOf
  • Loading branch information
RaunakShah committed May 14, 2022
1 parent 20e7720 commit 43bd5f86483195978efaf3492567c644d19d61d3
Showing 2 changed files with 5 additions and 2 deletions.
@@ -117,6 +117,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,
@@ -102,8 +102,8 @@ spec:
type: string
type: object
oneOf:
- required: [ "persistentVolumeClaimName" ]
- required: [ "volumeSnapshotContentName" ]
- required: ["persistentVolumeClaimName"]
- required: ["volumeSnapshotContentName"]
volumeSnapshotClassName:
description: 'VolumeSnapshotClassName is the name of the VolumeSnapshotClass
requested by the VolumeSnapshot. VolumeSnapshotClassName may be

0 comments on commit 43bd5f8

Please sign in to comment.