|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + api-approved.kubernetes.io: https://github.com/kubernetes-csi/external-snapshotter/pull/1150 |
| 6 | + controller-gen.kubebuilder.io/version: v0.15.0 |
| 7 | + name: volumegroupsnapshotclasses.groupsnapshot.storage.k8s.io |
| 8 | +spec: |
| 9 | + group: groupsnapshot.storage.k8s.io |
| 10 | + names: |
| 11 | + kind: VolumeGroupSnapshotClass |
| 12 | + listKind: VolumeGroupSnapshotClassList |
| 13 | + plural: volumegroupsnapshotclasses |
| 14 | + shortNames: |
| 15 | + - vgsclass |
| 16 | + - vgsclasses |
| 17 | + singular: volumegroupsnapshotclass |
| 18 | + scope: Cluster |
| 19 | + versions: |
| 20 | + - additionalPrinterColumns: |
| 21 | + - jsonPath: .driver |
| 22 | + name: Driver |
| 23 | + type: string |
| 24 | + - description: Determines whether a VolumeGroupSnapshotContent created through the VolumeGroupSnapshotClass should be deleted when its bound VolumeGroupSnapshot is deleted. |
| 25 | + jsonPath: .deletionPolicy |
| 26 | + name: DeletionPolicy |
| 27 | + type: string |
| 28 | + - jsonPath: .metadata.creationTimestamp |
| 29 | + name: Age |
| 30 | + type: date |
| 31 | + name: v1beta1 |
| 32 | + schema: |
| 33 | + openAPIV3Schema: |
| 34 | + description: |- |
| 35 | + VolumeGroupSnapshotClass specifies parameters that a underlying storage system |
| 36 | + uses when creating a volume group snapshot. A specific VolumeGroupSnapshotClass |
| 37 | + is used by specifying its name in a VolumeGroupSnapshot object. |
| 38 | + VolumeGroupSnapshotClasses are non-namespaced. |
| 39 | + properties: |
| 40 | + apiVersion: |
| 41 | + description: |- |
| 42 | + APIVersion defines the versioned schema of this representation of an object. |
| 43 | + Servers should convert recognized schemas to the latest internal value, and |
| 44 | + may reject unrecognized values. |
| 45 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 46 | + type: string |
| 47 | + deletionPolicy: |
| 48 | + description: |- |
| 49 | + DeletionPolicy determines whether a VolumeGroupSnapshotContent created |
| 50 | + through the VolumeGroupSnapshotClass should be deleted when its bound |
| 51 | + VolumeGroupSnapshot is deleted. |
| 52 | + Supported values are "Retain" and "Delete". |
| 53 | + "Retain" means that the VolumeGroupSnapshotContent and its physical group |
| 54 | + snapshot on underlying storage system are kept. |
| 55 | + "Delete" means that the VolumeGroupSnapshotContent and its physical group |
| 56 | + snapshot on underlying storage system are deleted. |
| 57 | + Required. |
| 58 | + enum: |
| 59 | + - Delete |
| 60 | + - Retain |
| 61 | + type: string |
| 62 | + driver: |
| 63 | + description: |- |
| 64 | + Driver is the name of the storage driver expected to handle this VolumeGroupSnapshotClass. |
| 65 | + Required. |
| 66 | + type: string |
| 67 | + kind: |
| 68 | + description: |- |
| 69 | + Kind is a string value representing the REST resource this object represents. |
| 70 | + Servers may infer this from the endpoint the client submits requests to. |
| 71 | + Cannot be updated. |
| 72 | + In CamelCase. |
| 73 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 74 | + type: string |
| 75 | + metadata: |
| 76 | + type: object |
| 77 | + parameters: |
| 78 | + additionalProperties: |
| 79 | + type: string |
| 80 | + description: |- |
| 81 | + Parameters is a key-value map with storage driver specific parameters for |
| 82 | + creating group snapshots. |
| 83 | + These values are opaque to Kubernetes and are passed directly to the driver. |
| 84 | + type: object |
| 85 | + required: |
| 86 | + - deletionPolicy |
| 87 | + - driver |
| 88 | + type: object |
| 89 | + served: true |
| 90 | + storage: true |
| 91 | + subresources: {} |
0 commit comments