Selector in VolumeGroupSnapshotSource API should be optional
This commit is contained in:
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/814"
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/995"
|
||||
controller-gen.kubebuilder.io/version: v0.12.0
|
||||
creationTimestamp: null
|
||||
name: volumegroupsnapshots.groupsnapshot.storage.k8s.io
|
||||
@@ -78,7 +78,6 @@ spec:
|
||||
is created, the existing group snapshots won't be modified.
|
||||
Once a VolumeGroupSnapshotContent is created and the sidecar
|
||||
starts to process it, the volume list will not change with retries.
|
||||
Required.
|
||||
properties:
|
||||
matchExpressions:
|
||||
description: matchExpressions is a list of label selector
|
||||
@@ -129,8 +128,6 @@ spec:
|
||||
if the volume group snapshot already exists and only needs a
|
||||
representation in Kubernetes. This field is immutable.
|
||||
type: string
|
||||
required:
|
||||
- selector
|
||||
type: object
|
||||
volumeGroupSnapshotClassName:
|
||||
description: VolumeGroupSnapshotClassName is the name of the VolumeGroupSnapshotClass
|
||||
|
Reference in New Issue
Block a user