|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + labels: |
| 6 | + component: velero |
| 7 | + annotations: |
| 8 | + controller-gen.kubebuilder.io/version: v0.12.0 |
| 9 | + name: datadownloads.velero.io |
| 10 | +spec: |
| 11 | + group: velero.io |
| 12 | + names: |
| 13 | + kind: DataDownload |
| 14 | + listKind: DataDownloadList |
| 15 | + plural: datadownloads |
| 16 | + singular: datadownload |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - description: DataDownload status such as New/InProgress |
| 21 | + jsonPath: .status.phase |
| 22 | + name: Status |
| 23 | + type: string |
| 24 | + - description: Time duration since this DataDownload was started |
| 25 | + jsonPath: .status.startTimestamp |
| 26 | + name: Started |
| 27 | + type: date |
| 28 | + - description: Completed bytes |
| 29 | + format: int64 |
| 30 | + jsonPath: .status.progress.bytesDone |
| 31 | + name: Bytes Done |
| 32 | + type: integer |
| 33 | + - description: Total bytes |
| 34 | + format: int64 |
| 35 | + jsonPath: .status.progress.totalBytes |
| 36 | + name: Total Bytes |
| 37 | + type: integer |
| 38 | + - description: Name of the Backup Storage Location where the backup data is stored |
| 39 | + jsonPath: .spec.backupStorageLocation |
| 40 | + name: Storage Location |
| 41 | + type: string |
| 42 | + - description: Time duration since this DataDownload was created |
| 43 | + jsonPath: .metadata.creationTimestamp |
| 44 | + name: Age |
| 45 | + type: date |
| 46 | + - description: Name of the node where the DataDownload is processed |
| 47 | + jsonPath: .status.node |
| 48 | + name: Node |
| 49 | + type: string |
| 50 | + name: v2alpha1 |
| 51 | + schema: |
| 52 | + openAPIV3Schema: |
| 53 | + properties: |
| 54 | + apiVersion: |
| 55 | + description: 'APIVersion defines the versioned schema of this representation |
| 56 | + of an object. Servers should convert recognized schemas to the latest |
| 57 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 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 | + metadata: |
| 65 | + type: object |
| 66 | + spec: |
| 67 | + description: DataDownloadSpec is the specification for a DataDownload. |
| 68 | + properties: |
| 69 | + backupStorageLocation: |
| 70 | + description: BackupStorageLocation is the name of the backup storage |
| 71 | + location where the backup repository is stored. |
| 72 | + type: string |
| 73 | + cancel: |
| 74 | + description: Cancel indicates request to cancel the ongoing DataDownload. |
| 75 | + It can be set when the DataDownload is in InProgress phase |
| 76 | + type: boolean |
| 77 | + dataMoverConfig: |
| 78 | + additionalProperties: |
| 79 | + type: string |
| 80 | + description: DataMoverConfig is for data-mover-specific configuration |
| 81 | + fields. |
| 82 | + type: object |
| 83 | + datamover: |
| 84 | + description: DataMover specifies the data mover to be used by the |
| 85 | + backup. If DataMover is "" or "velero", the built-in data mover |
| 86 | + will be used. |
| 87 | + type: string |
| 88 | + operationTimeout: |
| 89 | + description: OperationTimeout specifies the time used to wait internal |
| 90 | + operations, before returning error as timeout. |
| 91 | + type: string |
| 92 | + snapshotID: |
| 93 | + description: SnapshotID is the ID of the Velero backup snapshot to |
| 94 | + be restored from. |
| 95 | + type: string |
| 96 | + sourceNamespace: |
| 97 | + description: SourceNamespace is the original namespace where the volume |
| 98 | + is backed up from. It may be different from SourcePVC's namespace |
| 99 | + if namespace is remapped during restore. |
| 100 | + type: string |
| 101 | + targetVolume: |
| 102 | + description: TargetVolume is the information of the target PVC and |
| 103 | + PV. |
| 104 | + properties: |
| 105 | + namespace: |
| 106 | + description: Namespace is the target namespace |
| 107 | + type: string |
| 108 | + pv: |
| 109 | + description: PV is the name of the target PV that is created by |
| 110 | + Velero restore |
| 111 | + type: string |
| 112 | + pvc: |
| 113 | + description: PVC is the name of the target PVC that is created |
| 114 | + by Velero restore |
| 115 | + type: string |
| 116 | + required: |
| 117 | + - namespace |
| 118 | + - pv |
| 119 | + - pvc |
| 120 | + type: object |
| 121 | + required: |
| 122 | + - backupStorageLocation |
| 123 | + - operationTimeout |
| 124 | + - snapshotID |
| 125 | + - sourceNamespace |
| 126 | + - targetVolume |
| 127 | + type: object |
| 128 | + status: |
| 129 | + description: DataDownloadStatus is the current status of a DataDownload. |
| 130 | + properties: |
| 131 | + completionTimestamp: |
| 132 | + description: CompletionTimestamp records the time a restore was completed. |
| 133 | + Completion time is recorded even on failed restores. The server's |
| 134 | + time is used for CompletionTimestamps |
| 135 | + format: date-time |
| 136 | + nullable: true |
| 137 | + type: string |
| 138 | + message: |
| 139 | + description: Message is a message about the DataDownload's status. |
| 140 | + type: string |
| 141 | + node: |
| 142 | + description: Node is name of the node where the DataDownload is processed. |
| 143 | + type: string |
| 144 | + phase: |
| 145 | + description: Phase is the current state of the DataDownload. |
| 146 | + enum: |
| 147 | + - New |
| 148 | + - Accepted |
| 149 | + - Prepared |
| 150 | + - InProgress |
| 151 | + - Canceling |
| 152 | + - Canceled |
| 153 | + - Completed |
| 154 | + - Failed |
| 155 | + type: string |
| 156 | + progress: |
| 157 | + description: Progress holds the total number of bytes of the snapshot |
| 158 | + and the current number of restored bytes. This can be used to display |
| 159 | + progress information about the restore operation. |
| 160 | + properties: |
| 161 | + bytesDone: |
| 162 | + format: int64 |
| 163 | + type: integer |
| 164 | + totalBytes: |
| 165 | + format: int64 |
| 166 | + type: integer |
| 167 | + type: object |
| 168 | + startTimestamp: |
| 169 | + description: StartTimestamp records the time a restore was started. |
| 170 | + The server's time is used for StartTimestamps |
| 171 | + format: date-time |
| 172 | + nullable: true |
| 173 | + type: string |
| 174 | + type: object |
| 175 | + type: object |
| 176 | + served: true |
| 177 | + storage: true |
| 178 | + subresources: {} |
0 commit comments