github.com/kubernetes-csi/external-snapshotter/client/v4@v4.2.0/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.4.0
     8      api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/419"
     9    creationTimestamp: null
    10    name: volumesnapshotclasses.snapshot.storage.k8s.io
    11  spec:
    12    group: snapshot.storage.k8s.io
    13    names:
    14      kind: VolumeSnapshotClass
    15      listKind: VolumeSnapshotClassList
    16      plural: volumesnapshotclasses
    17      singular: volumesnapshotclass
    18    scope: Cluster
    19    versions:
    20    - additionalPrinterColumns:
    21      - jsonPath: .driver
    22        name: Driver
    23        type: string
    24      - description: Determines whether a VolumeSnapshotContent created through the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
    25        jsonPath: .deletionPolicy
    26        name: DeletionPolicy
    27        type: string
    28      - jsonPath: .metadata.creationTimestamp
    29        name: Age
    30        type: date
    31      name: v1
    32      schema:
    33        openAPIV3Schema:
    34          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
    35          properties:
    36            apiVersion:
    37              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/sig-architecture/api-conventions.md#resources'
    38              type: string
    39            deletionPolicy:
    40              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.
    41              enum:
    42              - Delete
    43              - Retain
    44              type: string
    45            driver:
    46              description: driver is the name of the storage driver that handles this VolumeSnapshotClass. Required.
    47              type: string
    48            kind:
    49              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/sig-architecture/api-conventions.md#types-kinds'
    50              type: string
    51            parameters:
    52              additionalProperties:
    53                type: string
    54              description: parameters is a key-value map with storage driver specific parameters for creating snapshots. These values are opaque to Kubernetes.
    55              type: object
    56          required:
    57          - deletionPolicy
    58          - driver
    59          type: object
    60      served: true
    61      storage: true
    62      subresources: {}
    63    - additionalPrinterColumns:
    64      - jsonPath: .driver
    65        name: Driver
    66        type: string
    67      - description: Determines whether a VolumeSnapshotContent created through the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
    68        jsonPath: .deletionPolicy
    69        name: DeletionPolicy
    70        type: string
    71      - jsonPath: .metadata.creationTimestamp
    72        name: Age
    73        type: date
    74      name: v1beta1
    75      # This indicates the v1beta1 version of the custom resource is deprecated.
    76      # API requests to this version receive a warning in the server response.
    77      deprecated: true
    78      # This overrides the default warning returned to clients making v1beta1 API requests.
    79      deprecationWarning: "snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass"
    80      schema:
    81        openAPIV3Schema:
    82          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
    83          properties:
    84            apiVersion:
    85              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/sig-architecture/api-conventions.md#resources'
    86              type: string
    87            deletionPolicy:
    88              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.
    89              enum:
    90              - Delete
    91              - Retain
    92              type: string
    93            driver:
    94              description: driver is the name of the storage driver that handles this VolumeSnapshotClass. Required.
    95              type: string
    96            kind:
    97              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/sig-architecture/api-conventions.md#types-kinds'
    98              type: string
    99            parameters:
   100              additionalProperties:
   101                type: string
   102              description: parameters is a key-value map with storage driver specific parameters for creating snapshots. These values are opaque to Kubernetes.
   103              type: object
   104          required:
   105          - deletionPolicy
   106          - driver
   107          type: object
   108      served: true
   109      storage: false
   110      subresources: {}
   111  status:
   112    acceptedNames:
   113      kind: ""
   114      plural: ""
   115    conditions: []
   116    storedVersions: []