github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/velero/crds/podvolumerestores.yaml (about) 1 2 --- 3 apiVersion: apiextensions.k8s.io/v1 4 kind: CustomResourceDefinition 5 metadata: 6 labels: 7 component: velero 8 annotations: 9 controller-gen.kubebuilder.io/version: v0.7.0 10 creationTimestamp: null 11 name: podvolumerestores.velero.io 12 spec: 13 group: velero.io 14 names: 15 kind: PodVolumeRestore 16 listKind: PodVolumeRestoreList 17 plural: podvolumerestores 18 singular: podvolumerestore 19 scope: Namespaced 20 versions: 21 - additionalPrinterColumns: 22 - description: Namespace of the pod containing the volume to be restored 23 jsonPath: .spec.pod.namespace 24 name: Namespace 25 type: string 26 - description: Name of the pod containing the volume to be restored 27 jsonPath: .spec.pod.name 28 name: Pod 29 type: string 30 - description: Name of the volume to be restored 31 jsonPath: .spec.volume 32 name: Volume 33 type: string 34 - description: Pod Volume Restore status such as New/InProgress 35 jsonPath: .status.phase 36 name: Status 37 type: string 38 - description: Pod Volume Restore status such as New/InProgress 39 format: int64 40 jsonPath: .status.progress.totalBytes 41 name: TotalBytes 42 type: integer 43 - description: Pod Volume Restore status such as New/InProgress 44 format: int64 45 jsonPath: .status.progress.bytesDone 46 name: BytesDone 47 type: integer 48 - jsonPath: .metadata.creationTimestamp 49 name: Age 50 type: date 51 name: v1 52 schema: 53 openAPIV3Schema: 54 properties: 55 apiVersion: 56 description: 'APIVersion defines the versioned schema of this representation 57 of an object. Servers should convert recognized schemas to the latest 58 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 59 type: string 60 kind: 61 description: 'Kind is a string value representing the REST resource this 62 object represents. Servers may infer this from the endpoint the client 63 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 64 type: string 65 metadata: 66 type: object 67 spec: 68 description: PodVolumeRestoreSpec is the specification for a PodVolumeRestore. 69 properties: 70 backupStorageLocation: 71 description: BackupStorageLocation is the name of the backup storage 72 location where the restic repository is stored. 73 type: string 74 pod: 75 description: Pod is a reference to the pod containing the volume to 76 be restored. 77 properties: 78 apiVersion: 79 description: API version of the referent. 80 type: string 81 fieldPath: 82 description: 'If referring to a piece of an object instead of 83 an entire object, this string should contain a valid JSON/Go 84 field access statement, such as desiredState.manifest.containers[2]. 85 For example, if the object reference is to a container within 86 a pod, this would take on a value like: "spec.containers{name}" 87 (where "name" refers to the name of the container that triggered 88 the event) or if no container name is specified "spec.containers[2]" 89 (container with index 2 in this pod). This syntax is chosen 90 only to have some well-defined way of referencing a part of 91 an object. TODO: this design is not final and this field is 92 subject to change in the future.' 93 type: string 94 kind: 95 description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 96 type: string 97 name: 98 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 99 type: string 100 namespace: 101 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' 102 type: string 103 resourceVersion: 104 description: 'Specific resourceVersion to which this reference 105 is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' 106 type: string 107 uid: 108 description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' 109 type: string 110 type: object 111 repoIdentifier: 112 description: RepoIdentifier is the restic repository identifier. 113 type: string 114 snapshotID: 115 description: SnapshotID is the ID of the volume snapshot to be restored. 116 type: string 117 volume: 118 description: Volume is the name of the volume within the Pod to be 119 restored. 120 type: string 121 required: 122 - backupStorageLocation 123 - pod 124 - repoIdentifier 125 - snapshotID 126 - volume 127 type: object 128 status: 129 description: PodVolumeRestoreStatus is the current status of a PodVolumeRestore. 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 pod volume restore's status. 140 type: string 141 phase: 142 description: Phase is the current state of the PodVolumeRestore. 143 enum: 144 - New 145 - InProgress 146 - Completed 147 - Failed 148 type: string 149 progress: 150 description: Progress holds the total number of bytes of the snapshot 151 and the current number of restored bytes. This can be used to display 152 progress information about the restore operation. 153 properties: 154 bytesDone: 155 format: int64 156 type: integer 157 totalBytes: 158 format: int64 159 type: integer 160 type: object 161 startTimestamp: 162 description: StartTimestamp records the time a restore was started. 163 The server's time is used for StartTimestamps 164 format: date-time 165 nullable: true 166 type: string 167 type: object 168 type: object 169 served: true 170 storage: true 171 subresources: {} 172 status: 173 acceptedNames: 174 kind: "" 175 plural: "" 176 conditions: [] 177 storedVersions: []