Skip to content

Commit

Permalink
update velero CRDs (v1.14.0) (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
husira authored Jul 6, 2024
1 parent 1dd365e commit ef42041
Show file tree
Hide file tree
Showing 13 changed files with 682 additions and 213 deletions.
161 changes: 101 additions & 60 deletions velero.io/backup_v1.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions velero.io/backuprepository_v1.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
Expand All @@ -15,7 +15,7 @@
"description": "BackupRepositorySpec is the specification for a BackupRepository.",
"properties": {
"backupStorageLocation": {
"description": "BackupStorageLocation is the name of the BackupStorageLocation that should contain this repository.",
"description": "BackupStorageLocation is the name of the BackupStorageLocation\nthat should contain this repository.",
"type": "string"
},
"maintenanceFrequency": {
Expand All @@ -32,11 +32,11 @@
"type": "string"
},
"resticIdentifier": {
"description": "ResticIdentifier is the full restic-compatible string for identifying this repository.",
"description": "ResticIdentifier is the full restic-compatible string for identifying\nthis repository.",
"type": "string"
},
"volumeNamespace": {
"description": "VolumeNamespace is the namespace this backup repository contains pod volume backups for.",
"description": "VolumeNamespace is the namespace this backup repository contains\npod volume backups for.",
"type": "string"
}
},
Expand Down
15 changes: 8 additions & 7 deletions velero.io/backupstoragelocation_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"description": "BackupStorageLocation is a location where Velero stores backup objects",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
Expand Down Expand Up @@ -43,7 +43,7 @@
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?",
"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?",
"type": "string"
},
"optional": {
Expand All @@ -55,6 +55,7 @@
"key"
],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
},
"default": {
Expand Down Expand Up @@ -105,25 +106,25 @@
"description": "BackupStorageLocationStatus defines the observed state of BackupStorageLocation",
"properties": {
"accessMode": {
"description": "AccessMode is an unused field. \n Deprecated: there is now an AccessMode field on the Spec and this field will be removed entirely as of v2.0.",
"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.",
"enum": [
"ReadOnly",
"ReadWrite"
],
"type": "string"
},
"lastSyncedRevision": {
"description": "LastSyncedRevision is the value of the `metadata/revision` file in the backup storage location the last time the BSL's contents were synced into the cluster. \n Deprecated: this field is no longer updated or used for detecting changes to the 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\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": {
"description": "LastSyncedTime is the last time the contents of the location were synced into the cluster.",
"description": "LastSyncedTime is the last time the contents of the location were synced into\nthe cluster.",
"format": "date-time",
"nullable": true,
"type": "string"
},
"lastValidationTime": {
"description": "LastValidationTime is the last time the backup store location was validated the cluster.",
"description": "LastValidationTime is the last time the backup store location was validated\nthe cluster.",
"format": "date-time",
"nullable": true,
"type": "string"
Expand Down
142 changes: 142 additions & 0 deletions velero.io/datadownload_v2alpha1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"description": "DataDownload acts as the protocol between data mover plugins and data mover controller for the datamover restore operation",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "DataDownloadSpec is the specification for a DataDownload.",
"properties": {
"backupStorageLocation": {
"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 DataDownload. It can be set\nwhen the DataDownload is in InProgress phase",
"type": "boolean"
},
"dataMoverConfig": {
"additionalProperties": {
"type": "string"
},
"description": "DataMoverConfig is for data-mover-specific configuration fields.",
"type": "object"
},
"datamover": {
"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"
},
"operationTimeout": {
"description": "OperationTimeout specifies the time used to wait internal operations,\nbefore returning error as timeout.",
"type": "string"
},
"snapshotID": {
"description": "SnapshotID is the ID of the Velero backup snapshot to be restored from.",
"type": "string"
},
"sourceNamespace": {
"description": "SourceNamespace is the original namespace where the volume is backed up from.\nIt may be different from SourcePVC's namespace if namespace is remapped during restore.",
"type": "string"
},
"targetVolume": {
"description": "TargetVolume is the information of the target PVC and PV.",
"properties": {
"namespace": {
"description": "Namespace is the target namespace",
"type": "string"
},
"pv": {
"description": "PV is the name of the target PV that is created by Velero restore",
"type": "string"
},
"pvc": {
"description": "PVC is the name of the target PVC that is created by Velero restore",
"type": "string"
}
},
"required": [
"namespace",
"pv",
"pvc"
],
"type": "object",
"additionalProperties": false
}
},
"required": [
"backupStorageLocation",
"operationTimeout",
"snapshotID",
"sourceNamespace",
"targetVolume"
],
"type": "object",
"additionalProperties": false
},
"status": {
"description": "DataDownloadStatus is the current status of a DataDownload.",
"properties": {
"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",
"nullable": true,
"type": "string"
},
"message": {
"description": "Message is a message about the DataDownload's status.",
"type": "string"
},
"node": {
"description": "Node is name of the node where the DataDownload is processed.",
"type": "string"
},
"phase": {
"description": "Phase is the current state of the DataDownload.",
"enum": [
"New",
"Accepted",
"Prepared",
"InProgress",
"Canceling",
"Canceled",
"Completed",
"Failed"
],
"type": "string"
},
"progress": {
"description": "Progress holds the total number of bytes of the snapshot and the current\nnumber of restored bytes. This can be used to display progress information\nabout the restore operation.",
"properties": {
"bytesDone": {
"format": "int64",
"type": "integer"
},
"totalBytes": {
"format": "int64",
"type": "integer"
}
},
"type": "object",
"additionalProperties": false
},
"startTimestamp": {
"description": "StartTimestamp records the time a restore was started.\nThe server's time is used for StartTimestamps",
"format": "date-time",
"nullable": true,
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object"
}
Loading

0 comments on commit ef42041

Please sign in to comment.