Add oneOf constraint to VolumeGroupSnapshotContent

This commit is contained in:
Raunak Pradip Shah
2023-02-28 12:39:44 +05:30
parent e231c81e52
commit db21ddde42
2 changed files with 31 additions and 0 deletions

View File

@@ -78,6 +78,9 @@ spec:
be) created. This field is immutable.
type: string
type: object
oneOf:
- required: ["persistentVolumeNames"]
- required: ["volumeGroupSnapshotHandle"]
volumeGroupSnapshotClassName:
description: VolumeGroupSnapshotClassName is the name of the VolumeGroupSnapshotClass
from which this group snapshot was (or will be) created. Note that