|
| 1 | + |
| 2 | +--- |
| 3 | +apiVersion: apiextensions.k8s.io/v1beta1 |
| 4 | +kind: CustomResourceDefinition |
| 5 | +metadata: |
| 6 | + creationTimestamp: null |
| 7 | + name: volumesnapshotcontents.snapshot.storage.k8s.io |
| 8 | +spec: |
| 9 | + group: snapshot.storage.k8s.io |
| 10 | + names: |
| 11 | + kind: VolumeSnapshotContent |
| 12 | + plural: volumesnapshotcontents |
| 13 | + scope: "" |
| 14 | + version: v1beta1 |
| 15 | + versions: |
| 16 | + - name: v1beta1 |
| 17 | + schema: |
| 18 | + openAPIV3Schema: |
| 19 | + description: VolumeSnapshotContent represents the actual "on-disk" snapshot |
| 20 | + object |
| 21 | + properties: |
| 22 | + apiVersion: |
| 23 | + description: 'APIVersion defines the versioned schema of this representation |
| 24 | + of an object. Servers should convert recognized schemas to the latest |
| 25 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources' |
| 26 | + type: string |
| 27 | + kind: |
| 28 | + description: 'Kind is a string value representing the REST resource this |
| 29 | + object represents. Servers may infer this from the endpoint the client |
| 30 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' |
| 31 | + type: string |
| 32 | + metadata: |
| 33 | + description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' |
| 34 | + type: object |
| 35 | + spec: |
| 36 | + description: Spec represents the desired state of the snapshot content |
| 37 | + properties: |
| 38 | + csiVolumeSnapshotSource: |
| 39 | + description: CSI (Container Storage Interface) represents storage |
| 40 | + that handled by an external CSI Volume Driver (Alpha feature). |
| 41 | + properties: |
| 42 | + creationTime: |
| 43 | + description: Timestamp when the point-in-time snapshot is taken |
| 44 | + on the storage system. This timestamp will be generated by the |
| 45 | + CSI volume driver after the snapshot is cut. The format of this |
| 46 | + field should be a Unix nanoseconds time encoded as an int64. |
| 47 | + On Unix, the command `date +%s%N` returns the current time |
| 48 | + in nanoseconds since 1970-01-01 00:00:00 UTC. This field is |
| 49 | + required in the CSI spec but optional here to support static |
| 50 | + binding. |
| 51 | + format: int64 |
| 52 | + type: integer |
| 53 | + driver: |
| 54 | + description: Driver is the name of the driver to use for this |
| 55 | + snapshot. This MUST be the same name returned by the CSI GetPluginName() |
| 56 | + call for that driver. Required. |
| 57 | + type: string |
| 58 | + restoreSize: |
| 59 | + description: When restoring volume from the snapshot, the volume |
| 60 | + size should be equal to or larger than the RestoreSize if it |
| 61 | + is specified. If RestoreSize is set to nil, it means that the |
| 62 | + storage plugin does not have this information available. |
| 63 | + format: int64 |
| 64 | + type: integer |
| 65 | + snapshotHandle: |
| 66 | + description: SnapshotHandle is the unique snapshot id returned |
| 67 | + by the CSI volume plugin’s CreateSnapshot to refer to the snapshot |
| 68 | + on all subsequent calls. Required. |
| 69 | + type: string |
| 70 | + required: |
| 71 | + - driver |
| 72 | + - snapshotHandle |
| 73 | + type: object |
| 74 | + deletionPolicy: |
| 75 | + description: 'Optional: what happens to a snapshot content when released |
| 76 | + from its snapshot. It will be set to Delete by default if not specified' |
| 77 | + type: string |
| 78 | + persistentVolumeRef: |
| 79 | + description: PersistentVolumeRef represents the PersistentVolume that |
| 80 | + the snapshot has been taken from. It becomes non-nil when VolumeSnapshot |
| 81 | + and VolumeSnapshotContent are bound. |
| 82 | + properties: |
| 83 | + apiVersion: |
| 84 | + description: API version of the referent. |
| 85 | + type: string |
| 86 | + fieldPath: |
| 87 | + description: 'If referring to a piece of an object instead of |
| 88 | + an entire object, this string should contain a valid JSON/Go |
| 89 | + field access statement, such as desiredState.manifest.containers[2]. |
| 90 | + For example, if the object reference is to a container within |
| 91 | + a pod, this would take on a value like: "spec.containers{name}" |
| 92 | + (where "name" refers to the name of the container that triggered |
| 93 | + the event) or if no container name is specified "spec.containers[2]" |
| 94 | + (container with index 2 in this pod). This syntax is chosen |
| 95 | + only to have some well-defined way of referencing a part of |
| 96 | + an object. TODO: this design is not final and this field is |
| 97 | + subject to change in the future.' |
| 98 | + type: string |
| 99 | + kind: |
| 100 | + description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' |
| 101 | + type: string |
| 102 | + name: |
| 103 | + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' |
| 104 | + type: string |
| 105 | + namespace: |
| 106 | + description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' |
| 107 | + type: string |
| 108 | + resourceVersion: |
| 109 | + description: 'Specific resourceVersion to which this reference |
| 110 | + is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency' |
| 111 | + type: string |
| 112 | + uid: |
| 113 | + description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' |
| 114 | + type: string |
| 115 | + type: object |
| 116 | + snapshotClassName: |
| 117 | + description: Name of the VolumeSnapshotClass used by the VolumeSnapshot. |
| 118 | + If not specified, a default snapshot class will be used if it is |
| 119 | + available. |
| 120 | + type: string |
| 121 | + volumeSnapshotRef: |
| 122 | + description: VolumeSnapshotRef is part of bi-directional binding between |
| 123 | + VolumeSnapshot and VolumeSnapshotContent. It becomes non-nil when |
| 124 | + bound. |
| 125 | + properties: |
| 126 | + apiVersion: |
| 127 | + description: API version of the referent. |
| 128 | + type: string |
| 129 | + fieldPath: |
| 130 | + description: 'If referring to a piece of an object instead of |
| 131 | + an entire object, this string should contain a valid JSON/Go |
| 132 | + field access statement, such as desiredState.manifest.containers[2]. |
| 133 | + For example, if the object reference is to a container within |
| 134 | + a pod, this would take on a value like: "spec.containers{name}" |
| 135 | + (where "name" refers to the name of the container that triggered |
| 136 | + the event) or if no container name is specified "spec.containers[2]" |
| 137 | + (container with index 2 in this pod). This syntax is chosen |
| 138 | + only to have some well-defined way of referencing a part of |
| 139 | + an object. TODO: this design is not final and this field is |
| 140 | + subject to change in the future.' |
| 141 | + type: string |
| 142 | + kind: |
| 143 | + description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' |
| 144 | + type: string |
| 145 | + name: |
| 146 | + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' |
| 147 | + type: string |
| 148 | + namespace: |
| 149 | + description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' |
| 150 | + type: string |
| 151 | + resourceVersion: |
| 152 | + description: 'Specific resourceVersion to which this reference |
| 153 | + is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency' |
| 154 | + type: string |
| 155 | + uid: |
| 156 | + description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' |
| 157 | + type: string |
| 158 | + type: object |
| 159 | + type: object |
| 160 | + required: |
| 161 | + - spec |
| 162 | + type: object |
| 163 | + served: true |
| 164 | + storage: true |
| 165 | +status: |
| 166 | + acceptedNames: |
| 167 | + kind: "" |
| 168 | + plural: "" |
| 169 | + conditions: [] |
| 170 | + storedVersions: [] |
0 commit comments