snapshot.storage.k8s.io_volumesnapshotclasses.yaml 2.7 KB

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