Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions velero.io/backup_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"type": "boolean"
},
"defaultVolumesToRestic": {
"description": "DefaultVolumesToRestic specifies whether restic should be used to take a\nbackup of all pod volumes by default.\n\n\nDeprecated: this field is no longer used and will be removed entirely in future. Use DefaultVolumesToFsBackup instead.",
"description": "DefaultVolumesToRestic specifies whether restic should be used to take a\nbackup of all pod volumes by default.\n\nDeprecated: this field is no longer used and will be removed entirely in future. Use DefaultVolumesToFsBackup instead.",
"nullable": true,
"type": "boolean"
},
Expand Down Expand Up @@ -127,7 +127,8 @@
"items": {
"type": "string"
},
"type": "array"
"type": "array",
"x-kubernetes-list-type": "atomic"
}
},
"required": [
Expand All @@ -137,7 +138,8 @@
"type": "object",
"additionalProperties": false
},
"type": "array"
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"additionalProperties": {
Expand Down Expand Up @@ -328,7 +330,8 @@
"items": {
"type": "string"
},
"type": "array"
"type": "array",
"x-kubernetes-list-type": "atomic"
}
},
"required": [
Expand All @@ -338,7 +341,8 @@
"type": "object",
"additionalProperties": false
},
"type": "array"
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"additionalProperties": {
Expand Down Expand Up @@ -387,7 +391,8 @@
"items": {
"type": "string"
},
"type": "array"
"type": "array",
"x-kubernetes-list-type": "atomic"
}
},
"required": [
Expand All @@ -397,7 +402,8 @@
"type": "object",
"additionalProperties": false
},
"type": "array"
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"additionalProperties": {
Expand Down Expand Up @@ -476,6 +482,10 @@
"type": "object",
"additionalProperties": false
},
"volumeGroupSnapshotLabelKey": {
"description": "VolumeGroupSnapshotLabelKey specifies the label key to group PVCs under a VGS.",
"type": "string"
},
"volumeSnapshotLocations": {
"description": "VolumeSnapshotLocations is a list containing names of VolumeSnapshotLocations associated with this backup.",
"items": {
Expand Down
39 changes: 36 additions & 3 deletions velero.io/backuprepository_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"type": "string"
},
"resticIdentifier": {
"description": "ResticIdentifier is the full restic-compatible string for identifying\nthis repository.",
"description": "ResticIdentifier is the full restic-compatible string for identifying\nthis repository. This field is only used when RepositoryType is \"restic\".",
"type": "string"
},
"volumeNamespace": {
Expand All @@ -51,7 +51,6 @@
"required": [
"backupStorageLocation",
"maintenanceFrequency",
"resticIdentifier",
"volumeNamespace"
],
"type": "object",
Expand All @@ -61,7 +60,7 @@
"description": "BackupRepositoryStatus is the current status of a BackupRepository.",
"properties": {
"lastMaintenanceTime": {
"description": "LastMaintenanceTime is the last time maintenance was run.",
"description": "LastMaintenanceTime is the last time repo maintenance succeeded.",
"format": "date-time",
"nullable": true,
"type": "string"
Expand All @@ -78,6 +77,40 @@
"NotReady"
],
"type": "string"
},
"recentMaintenance": {
"description": "RecentMaintenance is status of the recent repo maintenance.",
"items": {
"properties": {
"completeTimestamp": {
"description": "CompleteTimestamp is the completion time of the repo maintenance.",
"format": "date-time",
"nullable": true,
"type": "string"
},
"message": {
"description": "Message is a message about the current status of the repo maintenance.",
"type": "string"
},
"result": {
"description": "Result is the result of the repo maintenance.",
"enum": [
"Succeeded",
"Failed"
],
"type": "string"
},
"startTimestamp": {
"description": "StartTimestamp is the start time of the repo maintenance.",
"format": "date-time",
"nullable": true,
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",
Expand Down
7 changes: 4 additions & 3 deletions velero.io/backupstoragelocation_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"type": "string"
},
"name": {
"description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?",
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand Down Expand Up @@ -106,15 +107,15 @@
"description": "BackupStorageLocationStatus defines the observed state of BackupStorageLocation",
"properties": {
"accessMode": {
"description": "AccessMode is an unused field.\n\n\nDeprecated: there is now an AccessMode field on the Spec and this field\nwill be removed entirely as of v2.0.",
"description": "AccessMode is an unused field.\n\nDeprecated: there is now an AccessMode field on the Spec and this field\nwill be removed entirely as of v2.0.",
"enum": [
"ReadOnly",
"ReadWrite"
],
"type": "string"
},
"lastSyncedRevision": {
"description": "LastSyncedRevision is the value of the `metadata/revision` file in the backup\nstorage location the last time the BSL's contents were synced into the cluster.\n\n\nDeprecated: this field is no longer updated or used for detecting changes to\nthe location's contents and will be removed entirely in v2.0.",
"description": "LastSyncedRevision is the value of the `metadata/revision` file in the backup\nstorage location the last time the BSL's contents were synced into the cluster.\n\nDeprecated: this field is no longer updated or used for detecting changes to\nthe location's contents and will be removed entirely in v2.0.",
"type": "string"
},
"lastSyncedTime": {
Expand Down
19 changes: 19 additions & 0 deletions velero.io/datadownload_v2alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@
"description": "DataMover specifies the data mover to be used by the backup.\nIf DataMover is \"\" or \"velero\", the built-in data mover will be used.",
"type": "string"
},
"nodeOS": {
"description": "NodeOS is OS of the node where the DataDownload is processed.",
"enum": [
"auto",
"linux",
"windows"
],
"type": "string"
},
"operationTimeout": {
"description": "OperationTimeout specifies the time used to wait internal operations,\nbefore returning error as timeout.",
"type": "string"
Expand Down Expand Up @@ -84,6 +93,16 @@
"status": {
"description": "DataDownloadStatus is the current status of a DataDownload.",
"properties": {
"acceptedByNode": {
"description": "Node is name of the node where the DataUpload is prepared.",
"type": "string"
},
"acceptedTimestamp": {
"description": "AcceptedTimestamp records the time the DataUpload is to be prepared.\nThe server's time is used for AcceptedTimestamp",
"format": "date-time",
"nullable": true,
"type": "string"
},
"completionTimestamp": {
"description": "CompletionTimestamp records the time a restore was completed.\nCompletion time is recorded even on failed restores.\nThe server's time is used for CompletionTimestamps",
"format": "date-time",
Expand Down
23 changes: 23 additions & 0 deletions velero.io/dataupload_v2alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"description": "If SnapshotType is CSI, CSISnapshot provides the information of the CSI snapshot.",
"nullable": true,
"properties": {
"driver": {
"description": "Driver is the driver used by the VolumeSnapshotContent",
"type": "string"
},
"snapshotClass": {
"description": "SnapshotClass is the name of the snapshot class that the volume snapshot is created with",
"type": "string"
Expand Down Expand Up @@ -89,6 +93,16 @@
"status": {
"description": "DataUploadStatus is the current status of a DataUpload.",
"properties": {
"acceptedByNode": {
"description": "AcceptedByNode is name of the node where the DataUpload is prepared.",
"type": "string"
},
"acceptedTimestamp": {
"description": "AcceptedTimestamp records the time the DataUpload is to be prepared.\nThe server's time is used for AcceptedTimestamp",
"format": "date-time",
"nullable": true,
"type": "string"
},
"completionTimestamp": {
"description": "CompletionTimestamp records the time a backup was completed.\nCompletion time is recorded even on failed backups.\nCompletion time is recorded before uploading the backup object.\nThe server's time is used for CompletionTimestamps",
"format": "date-time",
Expand All @@ -111,6 +125,15 @@
"description": "Node is name of the node where the DataUpload is processed.",
"type": "string"
},
"nodeOS": {
"description": "NodeOS is OS of the node where the DataUpload is processed.",
"enum": [
"auto",
"linux",
"windows"
],
"type": "string"
},
"path": {
"description": "Path is the full path of the snapshot volume being backed up.",
"type": "string"
Expand Down
16 changes: 15 additions & 1 deletion velero.io/podvolumebackup_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"description": "BackupStorageLocation is the name of the backup storage location\nwhere the backup repository is stored.",
"type": "string"
},
"cancel": {
"description": "Cancel indicates request to cancel the ongoing PodVolumeBackup. It can be set\nwhen the PodVolumeBackup is in InProgress phase",
"type": "boolean"
},
"node": {
"description": "Node is the name of the node that the Pod is running on.",
"type": "string"
Expand All @@ -30,7 +34,7 @@
"type": "string"
},
"fieldPath": {
"description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.",
"description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.",
"type": "string"
},
"kind": {
Expand Down Expand Up @@ -104,6 +108,12 @@
"status": {
"description": "PodVolumeBackupStatus is the current status of a PodVolumeBackup.",
"properties": {
"acceptedTimestamp": {
"description": "AcceptedTimestamp records the time the pod volume backup is to be prepared.\nThe server's time is used for AcceptedTimestamp",
"format": "date-time",
"nullable": true,
"type": "string"
},
"completionTimestamp": {
"description": "CompletionTimestamp records the time a backup was completed.\nCompletion time is recorded even on failed backups.\nCompletion time is recorded before uploading the backup object.\nThe server's time is used for CompletionTimestamps",
"format": "date-time",
Expand All @@ -122,7 +132,11 @@
"description": "Phase is the current state of the PodVolumeBackup.",
"enum": [
"New",
"Accepted",
"Prepared",
"InProgress",
"Canceling",
"Canceled",
"Completed",
"Failed"
],
Expand Down
20 changes: 19 additions & 1 deletion velero.io/podvolumerestore_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"description": "BackupStorageLocation is the name of the backup storage location\nwhere the backup repository is stored.",
"type": "string"
},
"cancel": {
"description": "Cancel indicates request to cancel the ongoing PodVolumeRestore. It can be set\nwhen the PodVolumeRestore is in InProgress phase",
"type": "boolean"
},
"pod": {
"description": "Pod is a reference to the pod containing the volume to be restored.",
"properties": {
Expand All @@ -26,7 +30,7 @@
"type": "string"
},
"fieldPath": {
"description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.",
"description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.",
"type": "string"
},
"kind": {
Expand Down Expand Up @@ -102,6 +106,12 @@
"status": {
"description": "PodVolumeRestoreStatus is the current status of a PodVolumeRestore.",
"properties": {
"acceptedTimestamp": {
"description": "AcceptedTimestamp records the time the pod volume restore is to be prepared.\nThe server's time is used for AcceptedTimestamp",
"format": "date-time",
"nullable": true,
"type": "string"
},
"completionTimestamp": {
"description": "CompletionTimestamp records the time a restore was completed.\nCompletion time is recorded even on failed restores.\nThe server's time is used for CompletionTimestamps",
"format": "date-time",
Expand All @@ -112,11 +122,19 @@
"description": "Message is a message about the pod volume restore's status.",
"type": "string"
},
"node": {
"description": "Node is name of the node where the pod volume restore is processed.",
"type": "string"
},
"phase": {
"description": "Phase is the current state of the PodVolumeRestore.",
"enum": [
"New",
"Accepted",
"Prepared",
"InProgress",
"Canceling",
"Canceled",
"Completed",
"Failed"
],
Expand Down
Loading