kind: CustomResourceDefinition
apiVersion: apiextensions.k8s.io/v1
metadata:
    name: volumesnapshotclasses.snapshot.storage.k8s.io
    selfLink: >-
        /apis/apiextensions.k8s.io/v1/customresourcedefinitions/volumesnapshotclasses.snapshot.storage.k8s.io
    uid: b12bacd3-3ced-45fa-a9ef-089d73d55c3e
    resourceVersion: '223929789'
    generation: 1
    creationTimestamp: '2021-04-09T22:02:22Z'
    labels:
        addonmanager.kubernetes.io/mode: Reconcile
    annotations:
        api-approved.kubernetes.io: 'https://github.com/kubernetes-csi/external-snapshotter/pull/139'
        components.gke.io/component-name: snapshot-controller-addon
        components.gke.io/component-version: 0.3.1
        components.gke.io/layer: addon
        controller-gen.kubebuilder.io/version: (devel)
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"apiextensions.k8s.io/v1beta1","kind":"CustomResourceDefinition","metadata":{"annotations":{"api-approved.kubernetes.io":"https://github.com/kubernetes-csi/external-snapshotter/pull/139","components.gke.io/component-name":"snapshot-controller-addon","components.gke.io/component-version":"0.3.1","components.gke.io/layer":"addon","controller-gen.kubebuilder.io/version":"(devel)"},"creationTimestamp":null,"labels":{"addonmanager.kubernetes.io/mode":"Reconcile"},"name":"volumesnapshotclasses.snapshot.storage.k8s.io"},"spec":{"group":"snapshot.storage.k8s.io","names":{"kind":"VolumeSnapshotClass","listKind":"VolumeSnapshotClassList","plural":"volumesnapshotclasses","singular":"volumesnapshotclass"},"preserveUnknownFields":false,"scope":"Cluster","validation":{"openAPIV3Schema":{"description":"VolumeSnapshotClass
            specifies parameters that a underlying storage system uses when
            creating a volume snapshot. A specific VolumeSnapshotClass is used
            by specifying its name in a VolumeSnapshot object.
            VolumeSnapshotClasses are
            non-namespaced","properties":{"apiVersion":{"description":"APIVersion
            defines the versioned schema of this representation of an object.
            Servers should convert recognized schemas to the latest internal
            value, and may reject unrecognized values. More info:
            https://git.k8s.io/community/contributors/devel/api-conventions.md#resources","type":"string"},"deletionPolicy":{"description":"deletionPolicy
            determines whether a VolumeSnapshotContent created through the
            VolumeSnapshotClass should be deleted when its bound VolumeSnapshot
            is deleted. Supported values are \"Retain\" and \"Delete\".
            \"Retain\" means that the VolumeSnapshotContent and its physical
            snapshot on underlying storage system are kept. \"Delete\" means
            that the VolumeSnapshotContent and its physical snapshot on
            underlying storage system are deleted.
            Required.","enum":["Delete","Retain"],"type":"string"},"driver":{"description":"driver
            is the name of the storage driver that handles this
            VolumeSnapshotClass.
            Required.","type":"string"},"kind":{"description":"Kind is a string
            value representing the REST resource this object represents. 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/api-conventions.md#types-kinds","type":"string"},"parameters":{"additionalProperties":{"type":"string"},"description":"parameters
            is a key-value map with storage driver specific parameters for
            creating snapshots. These values are opaque to
            Kubernetes.","type":"object"}},"required":["deletionPolicy","driver"],"type":"object"}},"version":"v1beta1","versions":[{"name":"v1beta1","served":true,"storage":true}]}}
spec:
    group: snapshot.storage.k8s.io
    names:
        plural: volumesnapshotclasses
        singular: volumesnapshotclass
        kind: VolumeSnapshotClass
        listKind: VolumeSnapshotClassList
    scope: Cluster
    versions:
        -
            name: v1beta1
            served: true
            storage: true
            schema:
                openAPIV3Schema:
                    description: >-
                        VolumeSnapshotClass specifies parameters that a
                        underlying storage system uses when creating a volume
                        snapshot. A specific VolumeSnapshotClass is used by
                        specifying its name in a VolumeSnapshot object.
                        VolumeSnapshotClasses are non-namespaced
                    type: object
                    required:
                        - deletionPolicy
                        - driver
                    properties:
                        apiVersion:
                            description: >-
                                APIVersion defines the versioned schema of this
                                representation of an object. Servers should
                                convert recognized schemas to the latest
                                internal value, and may reject unrecognized
                                values. More info:
                                https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
                            type: string
                        deletionPolicy:
                            description: >-
                                deletionPolicy determines whether a
                                VolumeSnapshotContent created through the
                                VolumeSnapshotClass should be deleted when its
                                bound VolumeSnapshot is deleted. Supported
                                values are "Retain" and "Delete". "Retain" means
                                that the VolumeSnapshotContent and its physical
                                snapshot on underlying storage system are kept.
                                "Delete" means that the VolumeSnapshotContent
                                and its physical snapshot on underlying storage
                                system are deleted. Required.
                            type: string
                            enum:
                                - Delete
                                - Retain
                        driver:
                            description: >-
                                driver is the name of the storage driver that
                                handles this VolumeSnapshotClass. Required.
                            type: string
                        kind:
                            description: >-
                                Kind is a string value representing the REST
                                resource this object represents. 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/api-conventions.md#types-kinds
                            type: string
                        parameters:
                            description: >-
                                parameters is a key-value map with storage
                                driver specific parameters for creating
                                snapshots. These values are opaque to
                                Kubernetes.
                            type: object
                            additionalProperties:
                                type: string
    conversion:
        strategy: None
status:
    conditions:
        -
            type: KubernetesAPIApprovalPolicyConformant
            status: 'True'
            lastTransitionTime: '2021-04-09T22:02:22Z'
            reason: ApprovedAnnotation
            message: >-
                approved in
                https://github.com/kubernetes-csi/external-snapshotter/pull/139
        -
            type: NamesAccepted
            status: 'True'
            lastTransitionTime: '2021-04-09T22:02:22Z'
            reason: NoConflicts
            message: no conflicts found
        -
            type: Established
            status: 'True'
            lastTransitionTime: '2021-04-09T22:02:22Z'
            reason: InitialNamesAccepted
            message: the initial names have been accepted
    acceptedNames:
        plural: volumesnapshotclasses
        singular: volumesnapshotclass
        kind: VolumeSnapshotClass
        listKind: VolumeSnapshotClassList
    storedVersions:
        - v1beta1

