Update snapshot.storage.k8s.io_volumesnapshotclasses.yaml

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
Kjeld Schouten
2024-10-08 14:14:14 +02:00
committed by GitHub
parent 703ccdc80b
commit 07118ea714
@@ -4,8 +4,7 @@ kind: CustomResourceDefinition
metadata: metadata:
annotations: 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/814"
controller-gen.kubebuilder.io/version: v0.12.0 controller-gen.kubebuilder.io/version: v0.15.0
creationTimestamp: null
name: volumesnapshotclasses.snapshot.storage.k8s.io name: volumesnapshotclasses.snapshot.storage.k8s.io
spec: spec:
group: snapshot.storage.k8s.io group: snapshot.storage.k8s.io
@@ -34,44 +33,52 @@ spec:
name: v1 name: v1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
description: VolumeSnapshotClass specifies parameters that a underlying storage description: |-
system uses when creating a volume snapshot. A specific VolumeSnapshotClass VolumeSnapshotClass specifies parameters that a underlying storage system uses when
is used by specifying its name in a VolumeSnapshot object. VolumeSnapshotClasses creating a volume snapshot. A specific VolumeSnapshotClass is used by specifying its
are non-namespaced name in a VolumeSnapshot object.
VolumeSnapshotClasses are non-namespaced
properties: properties:
apiVersion: apiVersion:
description: 'APIVersion defines the versioned schema of this representation description: |-
of an object. Servers should convert recognized schemas to the latest APIVersion defines the versioned schema of this representation of an object.
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string type: string
deletionPolicy: deletionPolicy:
description: deletionPolicy determines whether a VolumeSnapshotContent description: |-
created through the VolumeSnapshotClass should be deleted when its bound deletionPolicy determines whether a VolumeSnapshotContent created through
VolumeSnapshot is deleted. Supported values are "Retain" and "Delete". the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
"Retain" means that the VolumeSnapshotContent and its physical snapshot Supported values are "Retain" and "Delete".
on underlying storage system are kept. "Delete" means that the VolumeSnapshotContent "Retain" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are kept.
and its physical snapshot on underlying storage system are deleted. "Delete" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are deleted.
Required. Required.
enum: enum:
- Delete - Delete
- Retain - Retain
type: string type: string
driver: driver:
description: driver is the name of the storage driver that handles this description: |-
VolumeSnapshotClass. Required. driver is the name of the storage driver that handles this VolumeSnapshotClass.
Required.
type: string type: string
kind: kind:
description: 'Kind is a string value representing the REST resource this description: |-
object represents. Servers may infer this from the endpoint the client Kind is a string value representing the REST resource this object represents.
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string type: string
metadata: metadata:
type: object type: object
parameters: parameters:
additionalProperties: additionalProperties:
type: string type: string
description: parameters is a key-value map with storage driver specific description: |-
parameters for creating snapshots. These values are opaque to Kubernetes. parameters is a key-value map with storage driver specific parameters for creating snapshots.
These values are opaque to Kubernetes.
type: object type: object
required: required:
- deletionPolicy - deletionPolicy