diff --git a/velero.io/backup_v1.json b/velero.io/backup_v1.json index 5542a36d..0285fe44 100644 --- a/velero.io/backup_v1.json +++ b/velero.io/backup_v1.json @@ -1,12 +1,12 @@ { - "description": "Backup is a Velero resource that represents the capture of Kubernetes cluster state at a point in time (API objects and associated volume state).", + "description": "Backup is a Velero resource that represents the capture of Kubernetes\ncluster state at a point in time (API objects and associated volume state).", "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": { @@ -16,21 +16,25 @@ "description": "BackupSpec defines the specification for a Velero backup.", "properties": { "csiSnapshotTimeout": { - "description": "CSISnapshotTimeout specifies the time used to wait for CSI VolumeSnapshot status turns to ReadyToUse during creation, before returning error as timeout. The default value is 10 minute.", + "description": "CSISnapshotTimeout specifies the time used to wait for CSI VolumeSnapshot status turns to\nReadyToUse during creation, before returning error as timeout.\nThe default value is 10 minute.", + "type": "string" + }, + "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" }, "defaultVolumesToFsBackup": { - "description": "DefaultVolumesToFsBackup specifies whether pod volume file system backup should be used for all volumes by default.", + "description": "DefaultVolumesToFsBackup specifies whether pod volume file system backup should be used\nfor all volumes by default.", "nullable": true, "type": "boolean" }, "defaultVolumesToRestic": { - "description": "DefaultVolumesToRestic specifies whether restic should be used to take a backup of all pod volumes by default. \n Deprecated: 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\n\nDeprecated: this field is no longer used and will be removed entirely in future. Use DefaultVolumesToFsBackup instead.", "nullable": true, "type": "boolean" }, "excludedClusterScopedResources": { - "description": "ExcludedClusterScopedResources is a slice of cluster-scoped resource type names to exclude from the backup. If set to \"*\", all cluster-scoped resource types are excluded. The default value is empty.", + "description": "ExcludedClusterScopedResources is a slice of cluster-scoped\nresource type names to exclude from the backup.\nIf set to \"*\", all cluster-scoped resource types are excluded.\nThe default value is empty.", "items": { "type": "string" }, @@ -38,7 +42,7 @@ "type": "array" }, "excludedNamespaceScopedResources": { - "description": "ExcludedNamespaceScopedResources is a slice of namespace-scoped resource type names to exclude from the backup. If set to \"*\", all namespace-scoped resource types are excluded. The default value is empty.", + "description": "ExcludedNamespaceScopedResources is a slice of namespace-scoped\nresource type names to exclude from the backup.\nIf set to \"*\", all namespace-scoped resource types are excluded.\nThe default value is empty.", "items": { "type": "string" }, @@ -46,7 +50,7 @@ "type": "array" }, "excludedNamespaces": { - "description": "ExcludedNamespaces contains a list of namespaces that are not included in the backup.", + "description": "ExcludedNamespaces contains a list of namespaces that are not\nincluded in the backup.", "items": { "type": "string" }, @@ -54,7 +58,7 @@ "type": "array" }, "excludedResources": { - "description": "ExcludedResources is a slice of resource names that are not included in the backup.", + "description": "ExcludedResources is a slice of resource names that are not\nincluded in the backup.", "items": { "type": "string" }, @@ -67,7 +71,7 @@ "resources": { "description": "Resources are hooks that should be executed when backing up individual instances of a resource.", "items": { - "description": "BackupResourceHookSpec defines one or more BackupResourceHooks that should be executed based on the rules defined for namespaces, resources, and label selector.", + "description": "BackupResourceHookSpec defines one or more BackupResourceHooks that should be executed based on\nthe rules defined for namespaces, resources, and label selector.", "properties": { "excludedNamespaces": { "description": "ExcludedNamespaces specifies the namespaces to which this hook spec does not apply.", @@ -86,7 +90,7 @@ "type": "array" }, "includedNamespaces": { - "description": "IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies to all namespaces.", + "description": "IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies\nto all namespaces.", "items": { "type": "string" }, @@ -94,7 +98,7 @@ "type": "array" }, "includedResources": { - "description": "IncludedResources specifies the resources to which this hook spec applies. If empty, it applies to all resources.", + "description": "IncludedResources specifies the resources to which this hook spec applies. If empty, it applies\nto all resources.", "items": { "type": "string" }, @@ -108,18 +112,18 @@ "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -139,11 +143,12 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "name": { @@ -151,7 +156,7 @@ "type": "string" }, "post": { - "description": "PostHooks is a list of BackupResourceHooks to execute after storing the item in the backup. These are executed after all \"additional items\" from item actions are processed.", + "description": "PostHooks is a list of BackupResourceHooks to execute after storing the item in the backup.\nThese are executed after all \"additional items\" from item actions are processed.", "items": { "description": "BackupResourceHook defines a hook for a resource.", "properties": { @@ -167,7 +172,7 @@ "type": "array" }, "container": { - "description": "Container is the container in the pod where the command should be executed. If not specified, the pod's first container is used.", + "description": "Container is the container in the pod where the command should be executed. If not specified,\nthe pod's first container is used.", "type": "string" }, "onError": { @@ -179,7 +184,7 @@ "type": "string" }, "timeout": { - "description": "Timeout defines the maximum amount of time Velero should wait for the hook to complete before considering the execution a failure.", + "description": "Timeout defines the maximum amount of time Velero should wait for the hook to complete before\nconsidering the execution a failure.", "type": "string" } }, @@ -199,7 +204,7 @@ "type": "array" }, "pre": { - "description": "PreHooks is a list of BackupResourceHooks to execute prior to storing the item in the backup. These are executed before any \"additional items\" from item actions are processed.", + "description": "PreHooks is a list of BackupResourceHooks to execute prior to storing the item in the backup.\nThese are executed before any \"additional items\" from item actions are processed.", "items": { "description": "BackupResourceHook defines a hook for a resource.", "properties": { @@ -215,7 +220,7 @@ "type": "array" }, "container": { - "description": "Container is the container in the pod where the command should be executed. If not specified, the pod's first container is used.", + "description": "Container is the container in the pod where the command should be executed. If not specified,\nthe pod's first container is used.", "type": "string" }, "onError": { @@ -227,7 +232,7 @@ "type": "string" }, "timeout": { - "description": "Timeout defines the maximum amount of time Velero should wait for the hook to complete before considering the execution a failure.", + "description": "Timeout defines the maximum amount of time Velero should wait for the hook to complete before\nconsidering the execution a failure.", "type": "string" } }, @@ -261,12 +266,12 @@ "additionalProperties": false }, "includeClusterResources": { - "description": "IncludeClusterResources specifies whether cluster-scoped resources should be included for consideration in the backup.", + "description": "IncludeClusterResources specifies whether cluster-scoped resources\nshould be included for consideration in the backup.", "nullable": true, "type": "boolean" }, "includedClusterScopedResources": { - "description": "IncludedClusterScopedResources is a slice of cluster-scoped resource type names to include in the backup. If set to \"*\", all cluster-scoped resource types are included. The default value is empty, which means only related cluster-scoped resources are included.", + "description": "IncludedClusterScopedResources is a slice of cluster-scoped\nresource type names to include in the backup.\nIf set to \"*\", all cluster-scoped resource types are included.\nThe default value is empty, which means only related\ncluster-scoped resources are included.", "items": { "type": "string" }, @@ -274,7 +279,7 @@ "type": "array" }, "includedNamespaceScopedResources": { - "description": "IncludedNamespaceScopedResources is a slice of namespace-scoped resource type names to include in the backup. The default value is \"*\".", + "description": "IncludedNamespaceScopedResources is a slice of namespace-scoped\nresource type names to include in the backup.\nThe default value is \"*\".", "items": { "type": "string" }, @@ -282,7 +287,7 @@ "type": "array" }, "includedNamespaces": { - "description": "IncludedNamespaces is a slice of namespace names to include objects from. If empty, all namespaces are included.", + "description": "IncludedNamespaces is a slice of namespace names to include objects\nfrom. If empty, all namespaces are included.", "items": { "type": "string" }, @@ -290,7 +295,7 @@ "type": "array" }, "includedResources": { - "description": "IncludedResources is a slice of resource names to include in the backup. If empty, all resources are included.", + "description": "IncludedResources is a slice of resource names to include\nin the backup. If empty, all resources are included.", "items": { "type": "string" }, @@ -298,28 +303,28 @@ "type": "array" }, "itemOperationTimeout": { - "description": "ItemOperationTimeout specifies the time used to wait for asynchronous BackupItemAction operations The default value is 1 hour.", + "description": "ItemOperationTimeout specifies the time used to wait for asynchronous BackupItemAction operations\nThe default value is 4 hour.", "type": "string" }, "labelSelector": { - "description": "LabelSelector is a metav1.LabelSelector to filter with when adding individual objects to the backup. If empty or nil, all objects are included. Optional.", + "description": "LabelSelector is a metav1.LabelSelector to filter with\nwhen adding individual objects to the backup. If empty\nor nil, all objects are included. Optional.", "nullable": true, "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -339,11 +344,12 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "metadata": { @@ -359,25 +365,25 @@ "additionalProperties": false }, "orLabelSelectors": { - "description": "OrLabelSelectors is list of metav1.LabelSelector to filter with when adding individual objects to the backup. If multiple provided they will be joined by the OR operator. LabelSelector as well as OrLabelSelectors cannot co-exist in backup request, only one of them can be used.", + "description": "OrLabelSelectors is list of metav1.LabelSelector to filter with\nwhen adding individual objects to the backup. If multiple provided\nthey will be joined by the OR operator. LabelSelector as well as\nOrLabelSelectors cannot co-exist in backup request, only one of them\ncan be used.", "items": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.", "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -397,11 +403,12 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "nullable": true, @@ -411,7 +418,7 @@ "additionalProperties": { "type": "string" }, - "description": "OrderedResources specifies the backup order of resources of specific Kind. The map key is the resource name and value is a list of object names separated by commas. Each resource name has format \"namespace/objectname\". For cluster resources, simply use \"objectname\".", + "description": "OrderedResources specifies the backup order of resources of specific Kind.\nThe map key is the resource name and value is a list of object names separated by commas.\nEach resource name has format \"namespace/objectname\". For cluster resources, simply use \"objectname\".", "nullable": true, "type": "object" }, @@ -419,7 +426,7 @@ "description": "ResourcePolicy specifies the referenced resource policies that backup should follow", "properties": { "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", "type": "string" }, "kind": { @@ -436,10 +443,16 @@ "name" ], "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, + "snapshotMoveData": { + "description": "SnapshotMoveData specifies whether snapshot data should be moved", + "nullable": true, + "type": "boolean" + }, "snapshotVolumes": { - "description": "SnapshotVolumes specifies whether to take snapshots of any PV's referenced in the set of objects included in the Backup.", + "description": "SnapshotVolumes specifies whether to take snapshots\nof any PV's referenced in the set of objects included\nin the Backup.", "nullable": true, "type": "boolean" }, @@ -448,9 +461,21 @@ "type": "string" }, "ttl": { - "description": "TTL is a time.Duration-parseable string describing how long the Backup should be retained for.", + "description": "TTL is a time.Duration-parseable string describing how long\nthe Backup should be retained for.", "type": "string" }, + "uploaderConfig": { + "description": "UploaderConfig specifies the configuration for the uploader.", + "nullable": true, + "properties": { + "parallelFilesUpload": { + "description": "ParallelFilesUpload is the number of files parallel uploads to perform when using the uploader.", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, "volumeSnapshotLocations": { "description": "VolumeSnapshotLocations is a list containing names of VolumeSnapshotLocations associated with this backup.", "items": { @@ -466,33 +491,33 @@ "description": "BackupStatus captures the current status of a Velero backup.", "properties": { "backupItemOperationsAttempted": { - "description": "BackupItemOperationsAttempted is the total number of attempted async BackupItemAction operations for this backup.", + "description": "BackupItemOperationsAttempted is the total number of attempted\nasync BackupItemAction operations for this backup.", "type": "integer" }, "backupItemOperationsCompleted": { - "description": "BackupItemOperationsCompleted is the total number of successfully completed async BackupItemAction operations for this backup.", + "description": "BackupItemOperationsCompleted is the total number of successfully completed\nasync BackupItemAction operations for this backup.", "type": "integer" }, "backupItemOperationsFailed": { - "description": "BackupItemOperationsFailed is the total number of async BackupItemAction operations for this backup which ended with an error.", + "description": "BackupItemOperationsFailed is the total number of async\nBackupItemAction operations for this backup which ended with an error.", "type": "integer" }, "completionTimestamp": { - "description": "CompletionTimestamp records the time a backup was completed. Completion time is recorded even on failed backups. Completion time is recorded before uploading the backup object. The server's time is used for CompletionTimestamps", + "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", "nullable": true, "type": "string" }, "csiVolumeSnapshotsAttempted": { - "description": "CSIVolumeSnapshotsAttempted is the total number of attempted CSI VolumeSnapshots for this backup.", + "description": "CSIVolumeSnapshotsAttempted is the total number of attempted\nCSI VolumeSnapshots for this backup.", "type": "integer" }, "csiVolumeSnapshotsCompleted": { - "description": "CSIVolumeSnapshotsCompleted is the total number of successfully completed CSI VolumeSnapshots for this backup.", + "description": "CSIVolumeSnapshotsCompleted is the total number of successfully\ncompleted CSI VolumeSnapshots for this backup.", "type": "integer" }, "errors": { - "description": "Errors is a count of all error messages that were generated during execution of the backup. The actual errors are in the backup's log file in object storage.", + "description": "Errors is a count of all error messages that were generated during\nexecution of the backup. The actual errors are in the backup's log\nfile in object storage.", "type": "integer" }, "expiration": { @@ -509,6 +534,22 @@ "description": "FormatVersion is the backup format version, including major, minor, and patch version.", "type": "string" }, + "hookStatus": { + "description": "HookStatus contains information about the status of the hooks.", + "nullable": true, + "properties": { + "hooksAttempted": { + "description": "HooksAttempted is the total number of attempted hooks\nSpecifically, HooksAttempted represents the number of hooks that failed to execute\nand the number of hooks that executed successfully.", + "type": "integer" + }, + "hooksFailed": { + "description": "HooksFailed is the total number of hooks which ended with an error", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, "phase": { "description": "Phase is the current state of the Backup.", "enum": [ @@ -527,15 +568,15 @@ "type": "string" }, "progress": { - "description": "Progress contains information about the backup's execution progress. Note that this information is best-effort only -- if Velero fails to update it during a backup for any reason, it may be inaccurate/stale.", + "description": "Progress contains information about the backup's execution progress. Note\nthat this information is best-effort only -- if Velero fails to update it\nduring a backup for any reason, it may be inaccurate/stale.", "nullable": true, "properties": { "itemsBackedUp": { - "description": "ItemsBackedUp is the number of items that have actually been written to the backup tarball so far.", + "description": "ItemsBackedUp is the number of items that have actually been written to the\nbackup tarball so far.", "type": "integer" }, "totalItems": { - "description": "TotalItems is the total number of items to be backed up. This number may change throughout the execution of the backup due to plugins that return additional related items to back up, the velero.io/exclude-from-backup label, and various other filters that happen as items are processed.", + "description": "TotalItems is the total number of items to be backed up. This number may change\nthroughout the execution of the backup due to plugins that return additional related\nitems to back up, the velero.io/exclude-from-backup label, and various other\nfilters that happen as items are processed.", "type": "integer" } }, @@ -543,13 +584,13 @@ "additionalProperties": false }, "startTimestamp": { - "description": "StartTimestamp records the time a backup was started. Separate from CreationTimestamp, since that value changes on restores. The server's time is used for StartTimestamps", + "description": "StartTimestamp records the time a backup was started.\nSeparate from CreationTimestamp, since that value changes\non restores.\nThe server's time is used for StartTimestamps", "format": "date-time", "nullable": true, "type": "string" }, "validationErrors": { - "description": "ValidationErrors is a slice of all validation errors (if applicable).", + "description": "ValidationErrors is a slice of all validation errors (if\napplicable).", "items": { "type": "string" }, @@ -557,19 +598,19 @@ "type": "array" }, "version": { - "description": "Version is the backup format major version. Deprecated: Please see FormatVersion", + "description": "Version is the backup format major version.\nDeprecated: Please see FormatVersion", "type": "integer" }, "volumeSnapshotsAttempted": { - "description": "VolumeSnapshotsAttempted is the total number of attempted volume snapshots for this backup.", + "description": "VolumeSnapshotsAttempted is the total number of attempted\nvolume snapshots for this backup.", "type": "integer" }, "volumeSnapshotsCompleted": { - "description": "VolumeSnapshotsCompleted is the total number of successfully completed volume snapshots for this backup.", + "description": "VolumeSnapshotsCompleted is the total number of successfully\ncompleted volume snapshots for this backup.", "type": "integer" }, "warnings": { - "description": "Warnings is a count of all warning messages that were generated during execution of the backup. The actual warnings are in the backup's log file in object storage.", + "description": "Warnings is a count of all warning messages that were generated during\nexecution of the backup. The actual warnings are in the backup's log\nfile in object storage.", "type": "integer" } }, diff --git a/velero.io/backuprepository_v1.json b/velero.io/backuprepository_v1.json index 75cd94e6..d874103a 100644 --- a/velero.io/backuprepository_v1.json +++ b/velero.io/backuprepository_v1.json @@ -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": { @@ -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": { @@ -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" } }, diff --git a/velero.io/backupstoragelocation_v1.json b/velero.io/backupstoragelocation_v1.json index 4212c6c1..0bf9e95c 100644 --- a/velero.io/backupstoragelocation_v1.json +++ b/velero.io/backupstoragelocation_v1.json @@ -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": { @@ -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": { @@ -55,6 +55,7 @@ "key" ], "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "default": { @@ -105,7 +106,7 @@ "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" @@ -113,17 +114,17 @@ "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" diff --git a/velero.io/datadownload_v2alpha1.json b/velero.io/datadownload_v2alpha1.json new file mode 100644 index 00000000..9d190abd --- /dev/null +++ b/velero.io/datadownload_v2alpha1.json @@ -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" +} diff --git a/velero.io/dataupload_v2alpha1.json b/velero.io/dataupload_v2alpha1.json new file mode 100644 index 00000000..2c109288 --- /dev/null +++ b/velero.io/dataupload_v2alpha1.json @@ -0,0 +1,163 @@ +{ + "description": "DataUpload acts as the protocol between data mover plugins and data mover controller for the datamover backup 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": "DataUploadSpec is the specification for a DataUpload.", + "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 DataUpload. It can be set\nwhen the DataUpload is in InProgress phase", + "type": "boolean" + }, + "csiSnapshot": { + "description": "If SnapshotType is CSI, CSISnapshot provides the information of the CSI snapshot.", + "nullable": true, + "properties": { + "snapshotClass": { + "description": "SnapshotClass is the name of the snapshot class that the volume snapshot is created with", + "type": "string" + }, + "storageClass": { + "description": "StorageClass is the name of the storage class of the PVC that the volume snapshot is created from", + "type": "string" + }, + "volumeSnapshot": { + "description": "VolumeSnapshot is the name of the volume snapshot to be backed up", + "type": "string" + } + }, + "required": [ + "storageClass", + "volumeSnapshot" + ], + "type": "object", + "additionalProperties": false + }, + "dataMoverConfig": { + "additionalProperties": { + "type": "string" + }, + "description": "DataMoverConfig is for data-mover-specific configuration fields.", + "nullable": true, + "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" + }, + "snapshotType": { + "description": "SnapshotType is the type of the snapshot to be backed up.", + "type": "string" + }, + "sourceNamespace": { + "description": "SourceNamespace is the original namespace where the volume is backed up from.\nIt is the same namespace for SourcePVC and CSI namespaced objects.", + "type": "string" + }, + "sourcePVC": { + "description": "SourcePVC is the name of the PVC which the snapshot is taken for.", + "type": "string" + } + }, + "required": [ + "backupStorageLocation", + "operationTimeout", + "snapshotType", + "sourceNamespace", + "sourcePVC" + ], + "type": "object", + "additionalProperties": false + }, + "status": { + "description": "DataUploadStatus is the current status of a DataUpload.", + "properties": { + "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", + "nullable": true, + "type": "string" + }, + "dataMoverResult": { + "additionalProperties": { + "type": "string" + }, + "description": "DataMoverResult stores data-mover-specific information as a result of the DataUpload.", + "nullable": true, + "type": "object" + }, + "message": { + "description": "Message is a message about the DataUpload's status.", + "type": "string" + }, + "node": { + "description": "Node is name of the node where the DataUpload is processed.", + "type": "string" + }, + "path": { + "description": "Path is the full path of the snapshot volume being backed up.", + "type": "string" + }, + "phase": { + "description": "Phase is the current state of the DataUpload.", + "enum": [ + "New", + "Accepted", + "Prepared", + "InProgress", + "Canceling", + "Canceled", + "Completed", + "Failed" + ], + "type": "string" + }, + "progress": { + "description": "Progress holds the total number of bytes of the volume and the current\nnumber of backed up bytes. This can be used to display progress information\nabout the backup operation.", + "properties": { + "bytesDone": { + "format": "int64", + "type": "integer" + }, + "totalBytes": { + "format": "int64", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "snapshotID": { + "description": "SnapshotID is the identifier for the snapshot in the backup repository.", + "type": "string" + }, + "startTimestamp": { + "description": "StartTimestamp records the time a backup was started.\nSeparate from CreationTimestamp, since that value changes\non restores.\nThe server's time is used for StartTimestamps", + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object" +} diff --git a/velero.io/deletebackuprequest_v1.json b/velero.io/deletebackuprequest_v1.json index fdbb20eb..703d7d86 100644 --- a/velero.io/deletebackuprequest_v1.json +++ b/velero.io/deletebackuprequest_v1.json @@ -2,11 +2,11 @@ "description": "DeleteBackupRequest is a request to delete one or more backups.", "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": { diff --git a/velero.io/downloadrequest_v1.json b/velero.io/downloadrequest_v1.json index e2813fbe..17286ca2 100644 --- a/velero.io/downloadrequest_v1.json +++ b/velero.io/downloadrequest_v1.json @@ -1,12 +1,12 @@ { - "description": "DownloadRequest is a request to download an artifact from backup object storage, such as a backup log file.", + "description": "DownloadRequest is a request to download an artifact from backup object storage, such as a backup\nlog file.", "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": { @@ -32,12 +32,14 @@ "RestoreResourceList", "RestoreItemOperations", "CSIBackupVolumeSnapshots", - "CSIBackupVolumeSnapshotContents" + "CSIBackupVolumeSnapshotContents", + "BackupVolumeInfos", + "RestoreVolumeInfo" ], "type": "string" }, "name": { - "description": "Name is the name of the kubernetes resource with which the file is associated.", + "description": "Name is the name of the Kubernetes resource with which the file is associated.", "type": "string" } }, diff --git a/velero.io/podvolumebackup_v1.json b/velero.io/podvolumebackup_v1.json index 59f19783..00074829 100644 --- a/velero.io/podvolumebackup_v1.json +++ b/velero.io/podvolumebackup_v1.json @@ -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": { @@ -15,7 +15,7 @@ "description": "PodVolumeBackupSpec is the specification for a PodVolumeBackup.", "properties": { "backupStorageLocation": { - "description": "BackupStorageLocation is the name of the backup storage location where the backup repository is stored.", + "description": "BackupStorageLocation is the name of the backup storage location\nwhere the backup repository is stored.", "type": "string" }, "node": { @@ -30,31 +30,32 @@ "type": "string" }, "fieldPath": { - "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: 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.\nTODO: this design is not final and this field is subject to change in the future.", "type": "string" }, "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "description": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "namespace": { - "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", "type": "string" }, "resourceVersion": { - "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "description": "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "description": "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", "type": "string" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "repoIdentifier": { @@ -65,7 +66,15 @@ "additionalProperties": { "type": "string" }, - "description": "Tags are a map of key-value pairs that should be applied to the volume backup as tags.", + "description": "Tags are a map of key-value pairs that should be applied to the\nvolume backup as tags.", + "type": "object" + }, + "uploaderSettings": { + "additionalProperties": { + "type": "string" + }, + "description": "UploaderSettings are a map of key-value pairs that should be applied to the\nuploader configuration.", + "nullable": true, "type": "object" }, "uploaderType": { @@ -78,7 +87,7 @@ "type": "string" }, "volume": { - "description": "Volume is the name of the volume within the Pod to be backed up.", + "description": "Volume is the name of the volume within the Pod to be backed\nup.", "type": "string" } }, @@ -96,7 +105,7 @@ "description": "PodVolumeBackupStatus is the current status of a PodVolumeBackup.", "properties": { "completionTimestamp": { - "description": "CompletionTimestamp records the time a backup was completed. Completion time is recorded even on failed backups. Completion time is recorded before uploading the backup object. The server's time is used for CompletionTimestamps", + "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", "nullable": true, "type": "string" @@ -120,7 +129,7 @@ "type": "string" }, "progress": { - "description": "Progress holds the total number of bytes of the volume and the current number of backed up bytes. This can be used to display progress information about the backup operation.", + "description": "Progress holds the total number of bytes of the volume and the current\nnumber of backed up bytes. This can be used to display progress information\nabout the backup operation.", "properties": { "bytesDone": { "format": "int64", @@ -139,7 +148,7 @@ "type": "string" }, "startTimestamp": { - "description": "StartTimestamp records the time a backup was started. Separate from CreationTimestamp, since that value changes on restores. The server's time is used for StartTimestamps", + "description": "StartTimestamp records the time a backup was started.\nSeparate from CreationTimestamp, since that value changes\non restores.\nThe server's time is used for StartTimestamps", "format": "date-time", "nullable": true, "type": "string" diff --git a/velero.io/podvolumerestore_v1.json b/velero.io/podvolumerestore_v1.json index 78f4593d..31a6540f 100644 --- a/velero.io/podvolumerestore_v1.json +++ b/velero.io/podvolumerestore_v1.json @@ -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": { @@ -15,7 +15,7 @@ "description": "PodVolumeRestoreSpec is the specification for a PodVolumeRestore.", "properties": { "backupStorageLocation": { - "description": "BackupStorageLocation is the name of the backup storage location where the backup repository is stored.", + "description": "BackupStorageLocation is the name of the backup storage location\nwhere the backup repository is stored.", "type": "string" }, "pod": { @@ -26,31 +26,32 @@ "type": "string" }, "fieldPath": { - "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: 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.\nTODO: this design is not final and this field is subject to change in the future.", "type": "string" }, "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "description": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "namespace": { - "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", "type": "string" }, "resourceVersion": { - "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "description": "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "description": "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", "type": "string" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "repoIdentifier": { @@ -65,6 +66,14 @@ "description": "SourceNamespace is the original namespace for namaspace mapping.", "type": "string" }, + "uploaderSettings": { + "additionalProperties": { + "type": "string" + }, + "description": "UploaderSettings are a map of key-value pairs that should be applied to the\nuploader configuration.", + "nullable": true, + "type": "object" + }, "uploaderType": { "description": "UploaderType is the type of the uploader to handle the data transfer.", "enum": [ @@ -94,7 +103,7 @@ "description": "PodVolumeRestoreStatus is the current status of a PodVolumeRestore.", "properties": { "completionTimestamp": { - "description": "CompletionTimestamp records the time a restore was completed. Completion time is recorded even on failed restores. The server's time is used for CompletionTimestamps", + "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" @@ -114,7 +123,7 @@ "type": "string" }, "progress": { - "description": "Progress holds the total number of bytes of the snapshot and the current number of restored bytes. This can be used to display progress information about the restore operation.", + "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", @@ -129,7 +138,7 @@ "additionalProperties": false }, "startTimestamp": { - "description": "StartTimestamp records the time a restore was started. The server's time is used for StartTimestamps", + "description": "StartTimestamp records the time a restore was started.\nThe server's time is used for StartTimestamps", "format": "date-time", "nullable": true, "type": "string" diff --git a/velero.io/restore_v1.json b/velero.io/restore_v1.json index c4d89091..996bfd43 100644 --- a/velero.io/restore_v1.json +++ b/velero.io/restore_v1.json @@ -1,12 +1,12 @@ { - "description": "Restore is a Velero resource that represents the application of resources from a Velero backup to a target Kubernetes cluster.", + "description": "Restore is a Velero resource that represents the application of\nresources from a Velero backup to a target Kubernetes cluster.", "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": { @@ -16,11 +16,11 @@ "description": "RestoreSpec defines the specification for a Velero restore.", "properties": { "backupName": { - "description": "BackupName is the unique name of the Velero backup to restore from.", + "description": "BackupName is the unique name of the Velero backup to restore\nfrom.", "type": "string" }, "excludedNamespaces": { - "description": "ExcludedNamespaces contains a list of namespaces that are not included in the restore.", + "description": "ExcludedNamespaces contains a list of namespaces that are not\nincluded in the restore.", "items": { "type": "string" }, @@ -28,7 +28,7 @@ "type": "array" }, "excludedResources": { - "description": "ExcludedResources is a slice of resource names that are not included in the restore.", + "description": "ExcludedResources is a slice of resource names that are not\nincluded in the restore.", "items": { "type": "string" }, @@ -36,7 +36,7 @@ "type": "array" }, "existingResourcePolicy": { - "description": "ExistingResourcePolicy specifies the restore behavior for the kubernetes resource to be restored", + "description": "ExistingResourcePolicy specifies the restore behavior for the Kubernetes resource to be restored", "nullable": true, "type": "string" }, @@ -45,7 +45,7 @@ "properties": { "resources": { "items": { - "description": "RestoreResourceHookSpec defines one or more RestoreResrouceHooks that should be executed based on the rules defined for namespaces, resources, and label selector.", + "description": "RestoreResourceHookSpec defines one or more RestoreResrouceHooks that should be executed based on\nthe rules defined for namespaces, resources, and label selector.", "properties": { "excludedNamespaces": { "description": "ExcludedNamespaces specifies the namespaces to which this hook spec does not apply.", @@ -64,7 +64,7 @@ "type": "array" }, "includedNamespaces": { - "description": "IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies to all namespaces.", + "description": "IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies\nto all namespaces.", "items": { "type": "string" }, @@ -72,7 +72,7 @@ "type": "array" }, "includedResources": { - "description": "IncludedResources specifies the resources to which this hook spec applies. If empty, it applies to all resources.", + "description": "IncludedResources specifies the resources to which this hook spec applies. If empty, it applies\nto all resources.", "items": { "type": "string" }, @@ -86,18 +86,18 @@ "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -117,11 +117,12 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "name": { @@ -145,11 +146,11 @@ "type": "array" }, "container": { - "description": "Container is the container in the pod where the command should be executed. If not specified, the pod's first container is used.", + "description": "Container is the container in the pod where the command should be executed. If not specified,\nthe pod's first container is used.", "type": "string" }, "execTimeout": { - "description": "ExecTimeout defines the maximum amount of time Velero should wait for the hook to complete before considering the execution a failure.", + "description": "ExecTimeout defines the maximum amount of time Velero should wait for the hook to complete before\nconsidering the execution a failure.", "type": "string" }, "onError": { @@ -160,8 +161,13 @@ ], "type": "string" }, + "waitForReady": { + "description": "WaitForReady ensures command will be launched when container is Ready instead of Running.", + "nullable": true, + "type": "boolean" + }, "waitTimeout": { - "description": "WaitTimeout defines the maximum amount of time Velero should wait for the container to be Ready before attempting to run the command.", + "description": "WaitTimeout defines the maximum amount of time Velero should wait for the container to be Ready\nbefore attempting to run the command.", "type": "string" } }, @@ -177,7 +183,8 @@ "initContainers": { "description": "InitContainers is list of init containers to be added to a pod during its restore.", "items": { - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, "type": "array", "x-kubernetes-preserve-unknown-fields": true @@ -210,12 +217,12 @@ "additionalProperties": false }, "includeClusterResources": { - "description": "IncludeClusterResources specifies whether cluster-scoped resources should be included for consideration in the restore. If null, defaults to true.", + "description": "IncludeClusterResources specifies whether cluster-scoped resources\nshould be included for consideration in the restore. If null, defaults\nto true.", "nullable": true, "type": "boolean" }, "includedNamespaces": { - "description": "IncludedNamespaces is a slice of namespace names to include objects from. If empty, all namespaces are included.", + "description": "IncludedNamespaces is a slice of namespace names to include objects\nfrom. If empty, all namespaces are included.", "items": { "type": "string" }, @@ -223,7 +230,7 @@ "type": "array" }, "includedResources": { - "description": "IncludedResources is a slice of resource names to include in the restore. If empty, all resources in the backup are included.", + "description": "IncludedResources is a slice of resource names to include\nin the restore. If empty, all resources in the backup are included.", "items": { "type": "string" }, @@ -231,28 +238,28 @@ "type": "array" }, "itemOperationTimeout": { - "description": "ItemOperationTimeout specifies the time used to wait for RestoreItemAction operations The default value is 1 hour.", + "description": "ItemOperationTimeout specifies the time used to wait for RestoreItemAction operations\nThe default value is 4 hour.", "type": "string" }, "labelSelector": { - "description": "LabelSelector is a metav1.LabelSelector to filter with when restoring individual objects from the backup. If empty or nil, all objects are included. Optional.", + "description": "LabelSelector is a metav1.LabelSelector to filter with\nwhen restoring individual objects from the backup. If empty\nor nil, all objects are included. Optional.", "nullable": true, "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -272,40 +279,41 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "namespaceMapping": { "additionalProperties": { "type": "string" }, - "description": "NamespaceMapping is a map of source namespace names to target namespace names to restore into. Any source namespaces not included in the map will be restored into namespaces of the same name.", + "description": "NamespaceMapping is a map of source namespace names\nto target namespace names to restore into. Any source\nnamespaces not included in the map will be restored into\nnamespaces of the same name.", "type": "object" }, "orLabelSelectors": { - "description": "OrLabelSelectors is list of metav1.LabelSelector to filter with when restoring individual objects from the backup. If multiple provided they will be joined by the OR operator. LabelSelector as well as OrLabelSelectors cannot co-exist in restore request, only one of them can be used", + "description": "OrLabelSelectors is list of metav1.LabelSelector to filter with\nwhen restoring individual objects from the backup. If multiple provided\nthey will be joined by the OR operator. LabelSelector as well as\nOrLabelSelectors cannot co-exist in restore request, only one of them\ncan be used", "items": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.", "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -325,11 +333,12 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "nullable": true, @@ -340,13 +349,38 @@ "nullable": true, "type": "boolean" }, + "resourceModifier": { + "description": "ResourceModifier specifies the reference to JSON resource patches that should be applied to resources before restoration.", + "nullable": true, + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic", + "additionalProperties": false + }, "restorePVs": { - "description": "RestorePVs specifies whether to restore all included PVs from snapshot", + "description": "RestorePVs specifies whether to restore all included\nPVs from snapshot", "nullable": true, "type": "boolean" }, "restoreStatus": { - "description": "RestoreStatus specifies which resources we should restore the status field. If nil, no objects are included. Optional.", + "description": "RestoreStatus specifies which resources we should restore the status\nfield. If nil, no objects are included. Optional.", "nullable": true, "properties": { "excludedResources": { @@ -358,7 +392,7 @@ "type": "array" }, "includedResources": { - "description": "IncludedResources specifies the resources to which will restore the status. If empty, it applies to all resources.", + "description": "IncludedResources specifies the resources to which will restore the status.\nIf empty, it applies to all resources.", "items": { "type": "string" }, @@ -370,13 +404,27 @@ "additionalProperties": false }, "scheduleName": { - "description": "ScheduleName is the unique name of the Velero schedule to restore from. If specified, and BackupName is empty, Velero will restore from the most recent successful backup created from this schedule.", + "description": "ScheduleName is the unique name of the Velero schedule to restore\nfrom. If specified, and BackupName is empty, Velero will restore\nfrom the most recent successful backup created from this schedule.", "type": "string" + }, + "uploaderConfig": { + "description": "UploaderConfig specifies the configuration for the restore.", + "nullable": true, + "properties": { + "parallelFilesDownload": { + "description": "ParallelFilesDownload is the concurrency number setting for restore.", + "type": "integer" + }, + "writeSparseFiles": { + "description": "WriteSparseFiles is a flag to indicate whether write files sparsely or not.", + "nullable": true, + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false } }, - "required": [ - "backupName" - ], "type": "object", "additionalProperties": false }, @@ -384,19 +432,35 @@ "description": "RestoreStatus captures the current status of a Velero restore", "properties": { "completionTimestamp": { - "description": "CompletionTimestamp records the time the restore operation was completed. Completion time is recorded even on failed restore. The server's time is used for StartTimestamps", + "description": "CompletionTimestamp records the time the restore operation was completed.\nCompletion time is recorded even on failed restore.\nThe server's time is used for StartTimestamps", "format": "date-time", "nullable": true, "type": "string" }, "errors": { - "description": "Errors is a count of all error messages that were generated during execution of the restore. The actual errors are stored in object storage.", + "description": "Errors is a count of all error messages that were generated during\nexecution of the restore. The actual errors are stored in object storage.", "type": "integer" }, "failureReason": { "description": "FailureReason is an error that caused the entire restore to fail.", "type": "string" }, + "hookStatus": { + "description": "HookStatus contains information about the status of the hooks.", + "nullable": true, + "properties": { + "hooksAttempted": { + "description": "HooksAttempted is the total number of attempted hooks\nSpecifically, HooksAttempted represents the number of hooks that failed to execute\nand the number of hooks that executed successfully.", + "type": "integer" + }, + "hooksFailed": { + "description": "HooksFailed is the total number of hooks which ended with an error", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, "phase": { "description": "Phase is the current state of the Restore", "enum": [ @@ -407,12 +471,14 @@ "WaitingForPluginOperationsPartiallyFailed", "Completed", "PartiallyFailed", - "Failed" + "Failed", + "Finalizing", + "FinalizingPartiallyFailed" ], "type": "string" }, "progress": { - "description": "Progress contains information about the restore's execution progress. Note that this information is best-effort only -- if Velero fails to update it during a restore for any reason, it may be inaccurate/stale.", + "description": "Progress contains information about the restore's execution progress. Note\nthat this information is best-effort only -- if Velero fails to update it\nduring a restore for any reason, it may be inaccurate/stale.", "nullable": true, "properties": { "itemsRestored": { @@ -420,7 +486,7 @@ "type": "integer" }, "totalItems": { - "description": "TotalItems is the total number of items to be restored. This number may change throughout the execution of the restore due to plugins that return additional related items to restore", + "description": "TotalItems is the total number of items to be restored. This number may change\nthroughout the execution of the restore due to plugins that return additional related\nitems to restore", "type": "integer" } }, @@ -428,25 +494,25 @@ "additionalProperties": false }, "restoreItemOperationsAttempted": { - "description": "RestoreItemOperationsAttempted is the total number of attempted async RestoreItemAction operations for this restore.", + "description": "RestoreItemOperationsAttempted is the total number of attempted\nasync RestoreItemAction operations for this restore.", "type": "integer" }, "restoreItemOperationsCompleted": { - "description": "RestoreItemOperationsCompleted is the total number of successfully completed async RestoreItemAction operations for this restore.", + "description": "RestoreItemOperationsCompleted is the total number of successfully completed\nasync RestoreItemAction operations for this restore.", "type": "integer" }, "restoreItemOperationsFailed": { - "description": "RestoreItemOperationsFailed is the total number of async RestoreItemAction operations for this restore which ended with an error.", + "description": "RestoreItemOperationsFailed is the total number of async\nRestoreItemAction operations for this restore which ended with an error.", "type": "integer" }, "startTimestamp": { - "description": "StartTimestamp records the time the restore operation was started. The server's time is used for StartTimestamps", + "description": "StartTimestamp records the time the restore operation was started.\nThe server's time is used for StartTimestamps", "format": "date-time", "nullable": true, "type": "string" }, "validationErrors": { - "description": "ValidationErrors is a slice of all validation errors (if applicable)", + "description": "ValidationErrors is a slice of all validation errors (if\napplicable)", "items": { "type": "string" }, @@ -454,7 +520,7 @@ "type": "array" }, "warnings": { - "description": "Warnings is a count of all warning messages that were generated during execution of the restore. The actual warnings are stored in object storage.", + "description": "Warnings is a count of all warning messages that were generated during\nexecution of the restore. The actual warnings are stored in object storage.", "type": "integer" } }, diff --git a/velero.io/schedule_v1.json b/velero.io/schedule_v1.json index a021d7fe..c606a1f7 100644 --- a/velero.io/schedule_v1.json +++ b/velero.io/schedule_v1.json @@ -1,12 +1,12 @@ { - "description": "Schedule is a Velero resource that represents a pre-scheduled or periodic Backup that should be run.", + "description": "Schedule is a Velero resource that represents a pre-scheduled or\nperiodic Backup that should be run.", "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": { @@ -20,28 +20,36 @@ "type": "boolean" }, "schedule": { - "description": "Schedule is a Cron expression defining when to run the Backup.", + "description": "Schedule is a Cron expression defining when to run\nthe Backup.", "type": "string" }, + "skipImmediately": { + "description": "SkipImmediately specifies whether to skip backup if schedule is due immediately from `schedule.status.lastBackup` timestamp when schedule is unpaused or if schedule is new.\nIf true, backup will be skipped immediately when schedule is unpaused if it is due based on .Status.LastBackupTimestamp or schedule is new, and will run at next schedule time.\nIf false, backup will not be skipped immediately when schedule is unpaused, but will run at next schedule time.\nIf empty, will follow server configuration (default: false).", + "type": "boolean" + }, "template": { - "description": "Template is the definition of the Backup to be run on the provided schedule", + "description": "Template is the definition of the Backup to be run\non the provided schedule", "properties": { "csiSnapshotTimeout": { - "description": "CSISnapshotTimeout specifies the time used to wait for CSI VolumeSnapshot status turns to ReadyToUse during creation, before returning error as timeout. The default value is 10 minute.", + "description": "CSISnapshotTimeout specifies the time used to wait for CSI VolumeSnapshot status turns to\nReadyToUse during creation, before returning error as timeout.\nThe default value is 10 minute.", + "type": "string" + }, + "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" }, "defaultVolumesToFsBackup": { - "description": "DefaultVolumesToFsBackup specifies whether pod volume file system backup should be used for all volumes by default.", + "description": "DefaultVolumesToFsBackup specifies whether pod volume file system backup should be used\nfor all volumes by default.", "nullable": true, "type": "boolean" }, "defaultVolumesToRestic": { - "description": "DefaultVolumesToRestic specifies whether restic should be used to take a backup of all pod volumes by default. \n Deprecated: 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\n\nDeprecated: this field is no longer used and will be removed entirely in future. Use DefaultVolumesToFsBackup instead.", "nullable": true, "type": "boolean" }, "excludedClusterScopedResources": { - "description": "ExcludedClusterScopedResources is a slice of cluster-scoped resource type names to exclude from the backup. If set to \"*\", all cluster-scoped resource types are excluded. The default value is empty.", + "description": "ExcludedClusterScopedResources is a slice of cluster-scoped\nresource type names to exclude from the backup.\nIf set to \"*\", all cluster-scoped resource types are excluded.\nThe default value is empty.", "items": { "type": "string" }, @@ -49,7 +57,7 @@ "type": "array" }, "excludedNamespaceScopedResources": { - "description": "ExcludedNamespaceScopedResources is a slice of namespace-scoped resource type names to exclude from the backup. If set to \"*\", all namespace-scoped resource types are excluded. The default value is empty.", + "description": "ExcludedNamespaceScopedResources is a slice of namespace-scoped\nresource type names to exclude from the backup.\nIf set to \"*\", all namespace-scoped resource types are excluded.\nThe default value is empty.", "items": { "type": "string" }, @@ -57,7 +65,7 @@ "type": "array" }, "excludedNamespaces": { - "description": "ExcludedNamespaces contains a list of namespaces that are not included in the backup.", + "description": "ExcludedNamespaces contains a list of namespaces that are not\nincluded in the backup.", "items": { "type": "string" }, @@ -65,7 +73,7 @@ "type": "array" }, "excludedResources": { - "description": "ExcludedResources is a slice of resource names that are not included in the backup.", + "description": "ExcludedResources is a slice of resource names that are not\nincluded in the backup.", "items": { "type": "string" }, @@ -78,7 +86,7 @@ "resources": { "description": "Resources are hooks that should be executed when backing up individual instances of a resource.", "items": { - "description": "BackupResourceHookSpec defines one or more BackupResourceHooks that should be executed based on the rules defined for namespaces, resources, and label selector.", + "description": "BackupResourceHookSpec defines one or more BackupResourceHooks that should be executed based on\nthe rules defined for namespaces, resources, and label selector.", "properties": { "excludedNamespaces": { "description": "ExcludedNamespaces specifies the namespaces to which this hook spec does not apply.", @@ -97,7 +105,7 @@ "type": "array" }, "includedNamespaces": { - "description": "IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies to all namespaces.", + "description": "IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies\nto all namespaces.", "items": { "type": "string" }, @@ -105,7 +113,7 @@ "type": "array" }, "includedResources": { - "description": "IncludedResources specifies the resources to which this hook spec applies. If empty, it applies to all resources.", + "description": "IncludedResources specifies the resources to which this hook spec applies. If empty, it applies\nto all resources.", "items": { "type": "string" }, @@ -119,18 +127,18 @@ "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -150,11 +158,12 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "name": { @@ -162,7 +171,7 @@ "type": "string" }, "post": { - "description": "PostHooks is a list of BackupResourceHooks to execute after storing the item in the backup. These are executed after all \"additional items\" from item actions are processed.", + "description": "PostHooks is a list of BackupResourceHooks to execute after storing the item in the backup.\nThese are executed after all \"additional items\" from item actions are processed.", "items": { "description": "BackupResourceHook defines a hook for a resource.", "properties": { @@ -178,7 +187,7 @@ "type": "array" }, "container": { - "description": "Container is the container in the pod where the command should be executed. If not specified, the pod's first container is used.", + "description": "Container is the container in the pod where the command should be executed. If not specified,\nthe pod's first container is used.", "type": "string" }, "onError": { @@ -190,7 +199,7 @@ "type": "string" }, "timeout": { - "description": "Timeout defines the maximum amount of time Velero should wait for the hook to complete before considering the execution a failure.", + "description": "Timeout defines the maximum amount of time Velero should wait for the hook to complete before\nconsidering the execution a failure.", "type": "string" } }, @@ -210,7 +219,7 @@ "type": "array" }, "pre": { - "description": "PreHooks is a list of BackupResourceHooks to execute prior to storing the item in the backup. These are executed before any \"additional items\" from item actions are processed.", + "description": "PreHooks is a list of BackupResourceHooks to execute prior to storing the item in the backup.\nThese are executed before any \"additional items\" from item actions are processed.", "items": { "description": "BackupResourceHook defines a hook for a resource.", "properties": { @@ -226,7 +235,7 @@ "type": "array" }, "container": { - "description": "Container is the container in the pod where the command should be executed. If not specified, the pod's first container is used.", + "description": "Container is the container in the pod where the command should be executed. If not specified,\nthe pod's first container is used.", "type": "string" }, "onError": { @@ -238,7 +247,7 @@ "type": "string" }, "timeout": { - "description": "Timeout defines the maximum amount of time Velero should wait for the hook to complete before considering the execution a failure.", + "description": "Timeout defines the maximum amount of time Velero should wait for the hook to complete before\nconsidering the execution a failure.", "type": "string" } }, @@ -272,12 +281,12 @@ "additionalProperties": false }, "includeClusterResources": { - "description": "IncludeClusterResources specifies whether cluster-scoped resources should be included for consideration in the backup.", + "description": "IncludeClusterResources specifies whether cluster-scoped resources\nshould be included for consideration in the backup.", "nullable": true, "type": "boolean" }, "includedClusterScopedResources": { - "description": "IncludedClusterScopedResources is a slice of cluster-scoped resource type names to include in the backup. If set to \"*\", all cluster-scoped resource types are included. The default value is empty, which means only related cluster-scoped resources are included.", + "description": "IncludedClusterScopedResources is a slice of cluster-scoped\nresource type names to include in the backup.\nIf set to \"*\", all cluster-scoped resource types are included.\nThe default value is empty, which means only related\ncluster-scoped resources are included.", "items": { "type": "string" }, @@ -285,7 +294,7 @@ "type": "array" }, "includedNamespaceScopedResources": { - "description": "IncludedNamespaceScopedResources is a slice of namespace-scoped resource type names to include in the backup. The default value is \"*\".", + "description": "IncludedNamespaceScopedResources is a slice of namespace-scoped\nresource type names to include in the backup.\nThe default value is \"*\".", "items": { "type": "string" }, @@ -293,7 +302,7 @@ "type": "array" }, "includedNamespaces": { - "description": "IncludedNamespaces is a slice of namespace names to include objects from. If empty, all namespaces are included.", + "description": "IncludedNamespaces is a slice of namespace names to include objects\nfrom. If empty, all namespaces are included.", "items": { "type": "string" }, @@ -301,7 +310,7 @@ "type": "array" }, "includedResources": { - "description": "IncludedResources is a slice of resource names to include in the backup. If empty, all resources are included.", + "description": "IncludedResources is a slice of resource names to include\nin the backup. If empty, all resources are included.", "items": { "type": "string" }, @@ -309,28 +318,28 @@ "type": "array" }, "itemOperationTimeout": { - "description": "ItemOperationTimeout specifies the time used to wait for asynchronous BackupItemAction operations The default value is 1 hour.", + "description": "ItemOperationTimeout specifies the time used to wait for asynchronous BackupItemAction operations\nThe default value is 4 hour.", "type": "string" }, "labelSelector": { - "description": "LabelSelector is a metav1.LabelSelector to filter with when adding individual objects to the backup. If empty or nil, all objects are included. Optional.", + "description": "LabelSelector is a metav1.LabelSelector to filter with\nwhen adding individual objects to the backup. If empty\nor nil, all objects are included. Optional.", "nullable": true, "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -350,11 +359,12 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "metadata": { @@ -370,25 +380,25 @@ "additionalProperties": false }, "orLabelSelectors": { - "description": "OrLabelSelectors is list of metav1.LabelSelector to filter with when adding individual objects to the backup. If multiple provided they will be joined by the OR operator. LabelSelector as well as OrLabelSelectors cannot co-exist in backup request, only one of them can be used.", + "description": "OrLabelSelectors is list of metav1.LabelSelector to filter with\nwhen adding individual objects to the backup. If multiple provided\nthey will be joined by the OR operator. LabelSelector as well as\nOrLabelSelectors cannot co-exist in backup request, only one of them\ncan be used.", "items": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.", "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", "properties": { "key": { "description": "key is the label key that the selector applies to.", "type": "string" }, "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "items": { "type": "string" }, @@ -408,11 +418,12 @@ "additionalProperties": { "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "nullable": true, @@ -422,7 +433,7 @@ "additionalProperties": { "type": "string" }, - "description": "OrderedResources specifies the backup order of resources of specific Kind. The map key is the resource name and value is a list of object names separated by commas. Each resource name has format \"namespace/objectname\". For cluster resources, simply use \"objectname\".", + "description": "OrderedResources specifies the backup order of resources of specific Kind.\nThe map key is the resource name and value is a list of object names separated by commas.\nEach resource name has format \"namespace/objectname\". For cluster resources, simply use \"objectname\".", "nullable": true, "type": "object" }, @@ -430,7 +441,7 @@ "description": "ResourcePolicy specifies the referenced resource policies that backup should follow", "properties": { "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", "type": "string" }, "kind": { @@ -447,10 +458,16 @@ "name" ], "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, + "snapshotMoveData": { + "description": "SnapshotMoveData specifies whether snapshot data should be moved", + "nullable": true, + "type": "boolean" + }, "snapshotVolumes": { - "description": "SnapshotVolumes specifies whether to take snapshots of any PV's referenced in the set of objects included in the Backup.", + "description": "SnapshotVolumes specifies whether to take snapshots\nof any PV's referenced in the set of objects included\nin the Backup.", "nullable": true, "type": "boolean" }, @@ -459,9 +476,21 @@ "type": "string" }, "ttl": { - "description": "TTL is a time.Duration-parseable string describing how long the Backup should be retained for.", + "description": "TTL is a time.Duration-parseable string describing how long\nthe Backup should be retained for.", "type": "string" }, + "uploaderConfig": { + "description": "UploaderConfig specifies the configuration for the uploader.", + "nullable": true, + "properties": { + "parallelFilesUpload": { + "description": "ParallelFilesUpload is the number of files parallel uploads to perform when using the uploader.", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, "volumeSnapshotLocations": { "description": "VolumeSnapshotLocations is a list containing names of VolumeSnapshotLocations associated with this backup.", "items": { @@ -474,7 +503,7 @@ "additionalProperties": false }, "useOwnerReferencesInBackup": { - "description": "UseOwnerReferencesBackup specifies whether to use OwnerReferences on backups created by this Schedule.", + "description": "UseOwnerReferencesBackup specifies whether to use\nOwnerReferences on backups created by this Schedule.", "nullable": true, "type": "boolean" } @@ -490,7 +519,13 @@ "description": "ScheduleStatus captures the current state of a Velero schedule", "properties": { "lastBackup": { - "description": "LastBackup is the last time a Backup was run for this Schedule schedule", + "description": "LastBackup is the last time a Backup was run for this\nSchedule schedule", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "lastSkipped": { + "description": "LastSkipped is the last time a Schedule was skipped", "format": "date-time", "nullable": true, "type": "string" @@ -505,7 +540,7 @@ "type": "string" }, "validationErrors": { - "description": "ValidationErrors is a slice of all validation errors (if applicable)", + "description": "ValidationErrors is a slice of all validation errors (if\napplicable)", "items": { "type": "string" }, diff --git a/velero.io/serverstatusrequest_v1.json b/velero.io/serverstatusrequest_v1.json index c7e1e7b6..6bf7ce65 100644 --- a/velero.io/serverstatusrequest_v1.json +++ b/velero.io/serverstatusrequest_v1.json @@ -1,12 +1,12 @@ { - "description": "ServerStatusRequest is a request to access current status information about the Velero server.", + "description": "ServerStatusRequest is a request to access current status information about\nthe Velero server.", "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": { @@ -50,7 +50,7 @@ "type": "array" }, "processedTimestamp": { - "description": "ProcessedTimestamp is when the ServerStatusRequest was processed by the ServerStatusRequestController.", + "description": "ProcessedTimestamp is when the ServerStatusRequest was processed\nby the ServerStatusRequestController.", "format": "date-time", "nullable": true, "type": "string" diff --git a/velero.io/volumesnapshotlocation_v1.json b/velero.io/volumesnapshotlocation_v1.json index ae77b31b..87783bec 100644 --- a/velero.io/volumesnapshotlocation_v1.json +++ b/velero.io/volumesnapshotlocation_v1.json @@ -2,11 +2,11 @@ "description": "VolumeSnapshotLocation is a location where Velero stores volume snapshots.", "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": { @@ -30,7 +30,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": { @@ -42,6 +42,7 @@ "key" ], "type": "object", + "x-kubernetes-map-type": "atomic", "additionalProperties": false }, "provider": {