You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
3.3 KiB

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