From 38d6ec50dd0cabd3c5f5427697d44a9db3d18c5b Mon Sep 17 00:00:00 2001 From: Piotr Rutkowski Date: Tue, 18 Jun 2024 14:22:59 +0200 Subject: [PATCH 1/5] [velero] Bump up Velero 1.14.0 Signed-off-by: Piotr Rutkowski --- charts/velero/Chart.yaml | 4 ++-- charts/velero/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index 86e1c787..c9b49b63 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v2 -appVersion: 1.13.2 +appVersion: 1.14.0 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 6.7.0 +version: 7.0.0 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index 1cd77f19..469c5c68 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -33,7 +33,7 @@ namespace: # enabling node-agent). Required. image: repository: velero/velero - tag: v1.13.2 + tag: v1.14.0 # Digest value example: sha256:d238835e151cec91c6a811fe3a89a66d3231d9f64d09e5f3c49552672d271f38. # If used, it will take precedence over the image.tag. # digest: From 1ad057b9dfab93dba142f6386b1f7c3d838e59d6 Mon Sep 17 00:00:00 2001 From: Piotr Rutkowski Date: Tue, 18 Jun 2024 15:51:05 +0200 Subject: [PATCH 2/5] [velero] Bump up Velero 1.14.0 - bump CRDs Signed-off-by: Piotr Rutkowski --- charts/velero/README.md | 10 ++++++---- charts/velero/crds/backuprepositories.yaml | 2 +- charts/velero/crds/backups.yaml | 2 +- charts/velero/crds/backupstoragelocations.yaml | 2 +- charts/velero/crds/datadownloads.yaml | 2 +- charts/velero/crds/datauploads.yaml | 2 +- charts/velero/crds/deletebackuprequests.yaml | 2 +- charts/velero/crds/downloadrequests.yaml | 2 +- charts/velero/crds/podvolumebackups.yaml | 2 +- charts/velero/crds/podvolumerestores.yaml | 2 +- charts/velero/crds/restores.yaml | 2 +- charts/velero/crds/schedules.yaml | 2 +- charts/velero/crds/serverstatusrequests.yaml | 2 +- charts/velero/crds/volumesnapshotlocations.yaml | 2 +- charts/velero/values.yaml | 2 +- 15 files changed, 20 insertions(+), 18 deletions(-) diff --git a/charts/velero/README.md b/charts/velero/README.md index b5c9a8ba..bf896d6a 100644 --- a/charts/velero/README.md +++ b/charts/velero/README.md @@ -16,7 +16,7 @@ Kubernetes v1.16+, because this helm chart uses CustomResourceDefinition `apiext ### Velero version -This helm chart installs Velero version v1.13 https://velero.io/docs/v1.13/. See the [#Upgrading](#upgrading) section for information on how to upgrade from other versions. +This helm chart installs Velero version v1.14 https://velero.io/docs/v1.14/. See the [#Upgrading](#upgrading) section for information on how to upgrade from other versions. ### Provider credentials @@ -93,12 +93,14 @@ helm upgrade vmware-tanzu/velero --reuse-values --set configurati ``` ## Upgrading Chart -### Upgrading to 6.0.0 - -This version removes the `nodeAgent.privileged` field, you should use `nodeAgent.containerSecurityContext.privileged` instead +### Upgrading to 7.0.0 ## Upgrading Velero +### Upgrading to v1.14 + +The [instructions found here](https://velero.io/docs/v1.14/upgrade-to-1.14/) will assist you in upgrading from version v1.13.x to v1.14. + ### Upgrading to v1.13 The [instructions found here](https://velero.io/docs/v1.13/upgrade-to-1.13/) will assist you in upgrading from version v1.12.x to v1.13. diff --git a/charts/velero/crds/backuprepositories.yaml b/charts/velero/crds/backuprepositories.yaml index 2ac499be..46244a2f 100644 --- a/charts/velero/crds/backuprepositories.yaml +++ b/charts/velero/crds/backuprepositories.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: backuprepositories.velero.io spec: group: velero.io diff --git a/charts/velero/crds/backups.yaml b/charts/velero/crds/backups.yaml index d66826b0..98d670a9 100644 --- a/charts/velero/crds/backups.yaml +++ b/charts/velero/crds/backups.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: backups.velero.io spec: group: velero.io diff --git a/charts/velero/crds/backupstoragelocations.yaml b/charts/velero/crds/backupstoragelocations.yaml index a4a27e1c..285e8bbf 100644 --- a/charts/velero/crds/backupstoragelocations.yaml +++ b/charts/velero/crds/backupstoragelocations.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: backupstoragelocations.velero.io spec: group: velero.io diff --git a/charts/velero/crds/datadownloads.yaml b/charts/velero/crds/datadownloads.yaml index cc157aa3..4037935e 100644 --- a/charts/velero/crds/datadownloads.yaml +++ b/charts/velero/crds/datadownloads.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: datadownloads.velero.io spec: group: velero.io diff --git a/charts/velero/crds/datauploads.yaml b/charts/velero/crds/datauploads.yaml index 2226d62b..c601d662 100644 --- a/charts/velero/crds/datauploads.yaml +++ b/charts/velero/crds/datauploads.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: datauploads.velero.io spec: group: velero.io diff --git a/charts/velero/crds/deletebackuprequests.yaml b/charts/velero/crds/deletebackuprequests.yaml index c7be9121..14d9684e 100644 --- a/charts/velero/crds/deletebackuprequests.yaml +++ b/charts/velero/crds/deletebackuprequests.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: deletebackuprequests.velero.io spec: group: velero.io diff --git a/charts/velero/crds/downloadrequests.yaml b/charts/velero/crds/downloadrequests.yaml index 51809b98..7eea8219 100644 --- a/charts/velero/crds/downloadrequests.yaml +++ b/charts/velero/crds/downloadrequests.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: downloadrequests.velero.io spec: group: velero.io diff --git a/charts/velero/crds/podvolumebackups.yaml b/charts/velero/crds/podvolumebackups.yaml index 2830c5a4..928a3da6 100644 --- a/charts/velero/crds/podvolumebackups.yaml +++ b/charts/velero/crds/podvolumebackups.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: podvolumebackups.velero.io spec: group: velero.io diff --git a/charts/velero/crds/podvolumerestores.yaml b/charts/velero/crds/podvolumerestores.yaml index 4b74e72e..6eef9ffe 100644 --- a/charts/velero/crds/podvolumerestores.yaml +++ b/charts/velero/crds/podvolumerestores.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: podvolumerestores.velero.io spec: group: velero.io diff --git a/charts/velero/crds/restores.yaml b/charts/velero/crds/restores.yaml index beb3f4c1..10b16119 100644 --- a/charts/velero/crds/restores.yaml +++ b/charts/velero/crds/restores.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: restores.velero.io spec: group: velero.io diff --git a/charts/velero/crds/schedules.yaml b/charts/velero/crds/schedules.yaml index 5bfa8a65..92155873 100644 --- a/charts/velero/crds/schedules.yaml +++ b/charts/velero/crds/schedules.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: schedules.velero.io spec: group: velero.io diff --git a/charts/velero/crds/serverstatusrequests.yaml b/charts/velero/crds/serverstatusrequests.yaml index 167494b7..14960a9e 100644 --- a/charts/velero/crds/serverstatusrequests.yaml +++ b/charts/velero/crds/serverstatusrequests.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: serverstatusrequests.velero.io spec: group: velero.io diff --git a/charts/velero/crds/volumesnapshotlocations.yaml b/charts/velero/crds/volumesnapshotlocations.yaml index 70a8c6aa..ad874ce6 100644 --- a/charts/velero/crds/volumesnapshotlocations.yaml +++ b/charts/velero/crds/volumesnapshotlocations.yaml @@ -5,7 +5,7 @@ metadata: labels: component: velero annotations: - controller-gen.kubebuilder.io/version: v0.12.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: volumesnapshotlocations.velero.io spec: group: velero.io diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index 469c5c68..cb4b9001 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -112,7 +112,7 @@ initContainers: # - mountPath: /target # name: plugins # - name: velero-plugin-for-aws - # image: velero/velero-plugin-for-aws:v1.9.0 + # image: velero/velero-plugin-for-aws:v1.10.0 # imagePullPolicy: IfNotPresent # volumeMounts: # - mountPath: /target From cb5775dce1a2fe7737ab02418929f5272e0024b1 Mon Sep 17 00:00:00 2001 From: Piotr Rutkowski Date: Wed, 19 Jun 2024 07:33:31 +0200 Subject: [PATCH 3/5] [velero] Bump up Velero 1.14.0 - update CRDs description Signed-off-by: Piotr Rutkowski --- charts/velero/README.md | 4 + charts/velero/crds/backuprepositories.yaml | 32 +- charts/velero/crds/backups.yaml | 408 ++++++++++-------- .../velero/crds/backupstoragelocations.yaml | 56 ++- charts/velero/crds/datadownloads.yaml | 63 +-- charts/velero/crds/datauploads.yaml | 68 +-- charts/velero/crds/deletebackuprequests.yaml | 19 +- charts/velero/crds/downloadrequests.yaml | 25 +- charts/velero/crds/podvolumebackups.yaml | 102 +++-- charts/velero/crds/podvolumerestores.yaml | 85 ++-- charts/velero/crds/restores.yaml | 322 +++++++------- charts/velero/crds/schedules.yaml | 357 +++++++-------- charts/velero/crds/serverstatusrequests.yaml | 27 +- .../velero/crds/volumesnapshotlocations.yaml | 25 +- 14 files changed, 886 insertions(+), 707 deletions(-) diff --git a/charts/velero/README.md b/charts/velero/README.md index bf896d6a..d900d95b 100644 --- a/charts/velero/README.md +++ b/charts/velero/README.md @@ -95,6 +95,10 @@ helm upgrade vmware-tanzu/velero --reuse-values --set configurati ### Upgrading to 7.0.0 +### Upgrading to 6.0.0 + +This version removes the `nodeAgent.privileged` field, you should use `nodeAgent.containerSecurityContext.privileged` instead + ## Upgrading Velero ### Upgrading to v1.14 diff --git a/charts/velero/crds/backuprepositories.yaml b/charts/velero/crds/backuprepositories.yaml index 46244a2f..4453dca3 100644 --- a/charts/velero/crds/backuprepositories.yaml +++ b/charts/velero/crds/backuprepositories.yaml @@ -28,14 +28,19 @@ spec: openAPIV3Schema: 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. + 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 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. + 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 type: string metadata: type: object @@ -43,7 +48,8 @@ spec: description: BackupRepositorySpec is the specification for a BackupRepository. properties: backupStorageLocation: - description: BackupStorageLocation is the name of the BackupStorageLocation + description: |- + BackupStorageLocation is the name of the BackupStorageLocation that should contain this repository. type: string maintenanceFrequency: @@ -58,12 +64,14 @@ spec: - "" 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 + this 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 + pod volume backups for. type: string required: - backupStorageLocation @@ -95,4 +103,4 @@ spec: type: object served: true storage: true - subresources: {} + subresources: {} \ No newline at end of file diff --git a/charts/velero/crds/backups.yaml b/charts/velero/crds/backups.yaml index 98d670a9..fd080859 100644 --- a/charts/velero/crds/backups.yaml +++ b/charts/velero/crds/backups.yaml @@ -19,18 +19,24 @@ spec: - name: v1 schema: openAPIV3Schema: - description: Backup is a Velero resource that represents the capture of Kubernetes + 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). 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. + 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 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. + 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 type: string metadata: type: object @@ -38,55 +44,63 @@ spec: 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 + ReadyToUse during creation, before returning error as timeout. + The default value is 10 minute. type: string datamover: - description: DataMover specifies the data mover to be used by the - backup. If DataMover is "" or "velero", the built-in data mover - will be used. + description: |- + DataMover specifies the data mover to be used by the backup. + If 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 + for 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 + backup of all pod volumes by default. + + + Deprecated: 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 + resource type names to exclude from the backup. + If set to "*", all cluster-scoped resource types are excluded. + The default value is empty. items: type: string nullable: true 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 + resource type names to exclude from the backup. + If set to "*", all namespace-scoped resource types are excluded. + The default value is empty. items: type: string nullable: true 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 + included in the backup. items: type: string nullable: true 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 + included in the backup. items: type: string nullable: true @@ -99,9 +113,9 @@ spec: 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 + the rules defined for namespaces, resources, and label selector. properties: excludedNamespaces: description: ExcludedNamespaces specifies the namespaces @@ -118,17 +132,17 @@ spec: nullable: true type: array includedNamespaces: - description: IncludedNamespaces specifies the namespaces - to which this hook spec applies. If empty, it applies + description: |- + IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies to all namespaces. items: type: string nullable: true 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 + to all resources. items: type: string nullable: true @@ -142,8 +156,8 @@ spec: 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 + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. properties: key: @@ -151,17 +165,16 @@ spec: 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. + Valid 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, + 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. items: type: string type: array @@ -173,11 +186,10 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic @@ -185,10 +197,9 @@ spec: description: Name is the name of this hook. 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. + These are executed after all "additional items" from item actions are processed. items: description: BackupResourceHook defines a hook for a resource. properties: @@ -203,10 +214,9 @@ spec: minItems: 1 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, + the pod's first container is used. type: string onError: description: OnError specifies how Velero should @@ -217,9 +227,9 @@ spec: - Fail 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 + considering the execution a failure. type: string required: - command @@ -229,10 +239,9 @@ spec: type: object 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. + These are executed before any "additional items" from item actions are processed. items: description: BackupResourceHook defines a hook for a resource. properties: @@ -247,10 +256,9 @@ spec: minItems: 1 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, + the pod's first container is used. type: string onError: description: OnError specifies how Velero should @@ -261,9 +269,9 @@ spec: - Fail 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 + considering the execution a failure. type: string required: - command @@ -279,74 +287,81 @@ spec: type: array type: object includeClusterResources: - description: IncludeClusterResources specifies whether cluster-scoped - resources should be included for consideration in the backup. + description: |- + IncludeClusterResources specifies whether cluster-scoped resources + should 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 + 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. items: type: string nullable: true 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 + resource type names to include in the backup. + The default value is "*". items: type: string nullable: true 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 + from. If empty, all namespaces are included. items: type: string nullable: true type: array includedResources: - description: IncludedResources is a slice of resource names to include + description: |- + IncludedResources is a slice of resource names to include in the backup. If empty, all resources are included. items: type: string nullable: true 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 + The 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 + when adding individual objects to the backup. If empty + or 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 + relates 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. + Valid 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 + 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. items: type: string @@ -359,11 +374,10 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic @@ -375,40 +389,41 @@ spec: type: object type: object orLabelSelectors: - description: OrLabelSelectors is list of metav1.LabelSelector to filter - with when adding individual objects to the backup. If multiple provided + 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. + OrLabelSelectors cannot co-exist in backup request, only one of them + can 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 + matchExpressions are ANDed. An empty label selector matches all objects. A null + label 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 + relates 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. + Valid 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, + 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. items: type: string type: array @@ -420,11 +435,10 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic @@ -433,11 +447,10 @@ spec: orderedResources: 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. + 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". nullable: true type: object resourcePolicy: @@ -445,10 +458,10 @@ spec: 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. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: description: Kind is the type of resource being referenced @@ -467,8 +480,10 @@ spec: 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 + of any PV's referenced in the set of objects included + in the Backup. nullable: true type: boolean storageLocation: @@ -476,8 +491,9 @@ spec: BackupStorageLocation where the backup should be stored. 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 + the Backup should be retained for. type: string uploaderConfig: description: UploaderConfig specifies the configuration for the uploader. @@ -499,39 +515,44 @@ spec: 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 + async 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 + async 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 + BackupItemAction 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. + 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 format: date-time nullable: true type: string csiVolumeSnapshotsAttempted: - description: CSIVolumeSnapshotsAttempted is the total number of attempted + description: |- + CSIVolumeSnapshotsAttempted is the total number of attempted CSI VolumeSnapshots for this backup. type: integer csiVolumeSnapshotsCompleted: - description: CSIVolumeSnapshotsCompleted is the total number of successfully + description: |- + CSIVolumeSnapshotsCompleted is the total number of successfully completed 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 + execution of the backup. The actual errors are in the backup's log + file in object storage. type: integer expiration: description: Expiration is when this Backup is eligible for garbage-collection. @@ -552,10 +573,10 @@ spec: nullable: true properties: hooksAttempted: - description: HooksAttempted is the total number of attempted hooks - Specifically, HooksAttempted represents the number of hooks - that failed to execute and the number of hooks that executed - successfully. + description: |- + HooksAttempted is the total number of attempted hooks + Specifically, HooksAttempted represents the number of hooks that failed to execute + and the number of hooks that executed successfully. type: integer hooksFailed: description: HooksFailed is the total number of hooks which ended @@ -578,55 +599,64 @@ spec: - Deleting 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 + that this information is best-effort only -- if Velero fails to update it + during 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 + backup 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 + 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. type: integer type: object startTimestamp: - description: StartTimestamp records the time a backup was started. - Separate from CreationTimestamp, since that value changes on restores. + 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 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 + applicable). items: type: string nullable: true type: array version: - description: 'Version is the backup format major version. Deprecated: - Please see FormatVersion' + description: |- + Version is the backup format major version. + Deprecated: Please see FormatVersion type: integer volumeSnapshotsAttempted: - description: VolumeSnapshotsAttempted is the total number of attempted + description: |- + VolumeSnapshotsAttempted is the total number of attempted volume snapshots for this backup. type: integer volumeSnapshotsCompleted: - description: VolumeSnapshotsCompleted is the total number of successfully + description: |- + VolumeSnapshotsCompleted is the total number of successfully completed 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 + execution of the backup. The actual warnings are in the backup's log + file in object storage. type: integer type: object type: object served: true - storage: true + storage: true \ No newline at end of file diff --git a/charts/velero/crds/backupstoragelocations.yaml b/charts/velero/crds/backupstoragelocations.yaml index 285e8bbf..05251b59 100644 --- a/charts/velero/crds/backupstoragelocations.yaml +++ b/charts/velero/crds/backupstoragelocations.yaml @@ -42,14 +42,19 @@ spec: 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. + 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 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. + 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 type: string metadata: type: object @@ -83,8 +88,10 @@ spec: valid secret key. 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. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: description: Specify whether the Secret or its key must be defined @@ -133,29 +140,36 @@ spec: 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. + + + Deprecated: there is now an AccessMode field on the Spec and this field + will be removed entirely as of v2.0. enum: - ReadOnly - ReadWrite type: string lastSyncedRevision: - description: "LastSyncedRevision is the value of the `metadata/revision` - file in the backup storage location the last time the BSL's contents - were synced into the cluster. \n Deprecated: this field is no longer - updated or used for detecting changes to the location's contents - and will be removed entirely in v2.0." + description: |- + LastSyncedRevision is the value of the `metadata/revision` file in the backup + storage location the last time the BSL's contents were synced into the cluster. + + + 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. 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 + the 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 + the cluster. format: date-time nullable: true type: string @@ -173,4 +187,4 @@ spec: type: object served: true storage: true - subresources: {} + subresources: {} \ No newline at end of file diff --git a/charts/velero/crds/datadownloads.yaml b/charts/velero/crds/datadownloads.yaml index 4037935e..ecbca2cd 100644 --- a/charts/velero/crds/datadownloads.yaml +++ b/charts/velero/crds/datadownloads.yaml @@ -54,14 +54,19 @@ spec: and data mover controller for the datamover restore operation 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. + 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 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. + 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 type: string metadata: type: object @@ -69,12 +74,14 @@ spec: description: DataDownloadSpec is the specification for a DataDownload. 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 + where the backup repository is stored. type: string cancel: - description: Cancel indicates request to cancel the ongoing DataDownload. - It can be set when the DataDownload is in InProgress phase + description: |- + Cancel indicates request to cancel the ongoing DataDownload. It can be set + when the DataDownload is in InProgress phase type: boolean dataMoverConfig: additionalProperties: @@ -83,22 +90,23 @@ spec: fields. type: object datamover: - description: DataMover specifies the data mover to be used by the - backup. If DataMover is "" or "velero", the built-in data mover - will be used. + description: |- + DataMover specifies the data mover to be used by the backup. + If 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, before returning error as timeout. + description: |- + OperationTimeout specifies the time used to wait internal operations, + before 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. It may be different from SourcePVC's namespace - if namespace is remapped during restore. + description: |- + SourceNamespace is the original namespace where the volume is backed up from. + It 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 @@ -131,9 +139,10 @@ spec: description: DataDownloadStatus is the current status of a DataDownload. 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. + Completion time is recorded even on failed restores. + The server's time is used for CompletionTimestamps format: date-time nullable: true type: string @@ -156,9 +165,10 @@ spec: - Failed 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 + number of restored bytes. This can be used to display progress information + about the restore operation. properties: bytesDone: format: int64 @@ -168,7 +178,8 @@ spec: type: integer type: object startTimestamp: - description: StartTimestamp records the time a restore was started. + description: |- + StartTimestamp records the time a restore was started. The server's time is used for StartTimestamps format: date-time nullable: true @@ -177,4 +188,4 @@ spec: type: object served: true storage: true - subresources: {} + subresources: {} \ No newline at end of file diff --git a/charts/velero/crds/datauploads.yaml b/charts/velero/crds/datauploads.yaml index c601d662..f0dd8cf4 100644 --- a/charts/velero/crds/datauploads.yaml +++ b/charts/velero/crds/datauploads.yaml @@ -55,14 +55,19 @@ spec: data mover controller for the datamover backup operation 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. + 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 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. + 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 type: string metadata: type: object @@ -70,12 +75,14 @@ spec: description: DataUploadSpec is the specification for a DataUpload. 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 + where the backup repository is stored. type: string cancel: - description: Cancel indicates request to cancel the ongoing DataUpload. - It can be set when the DataUpload is in InProgress phase + description: |- + Cancel indicates request to cancel the ongoing DataUpload. It can be set + when the DataUpload is in InProgress phase type: boolean csiSnapshot: description: If SnapshotType is CSI, CSISnapshot provides the information @@ -106,22 +113,23 @@ spec: nullable: true type: object datamover: - description: DataMover specifies the data mover to be used by the - backup. If DataMover is "" or "velero", the built-in data mover - will be used. + description: |- + DataMover specifies the data mover to be used by the backup. + If 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, before returning error as timeout. + description: |- + OperationTimeout specifies the time used to wait internal operations, + before 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. It is the same namespace for SourcePVC and CSI - namespaced objects. + description: |- + SourceNamespace is the original namespace where the volume is backed up from. + It 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 @@ -138,10 +146,11 @@ spec: description: DataUploadStatus is the current status of a DataUpload. 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. + 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 format: date-time nullable: true type: string @@ -175,9 +184,10 @@ spec: - Failed 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 + number of backed up bytes. This can be used to display progress information + about the backup operation. properties: bytesDone: format: int64 @@ -191,8 +201,10 @@ spec: backup repository. type: string startTimestamp: - description: StartTimestamp records the time a backup was started. - Separate from CreationTimestamp, since that value changes on restores. + 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 format: date-time nullable: true @@ -201,4 +213,4 @@ spec: type: object served: true storage: true - subresources: {} + subresources: {} \ No newline at end of file diff --git a/charts/velero/crds/deletebackuprequests.yaml b/charts/velero/crds/deletebackuprequests.yaml index 14d9684e..62c84311 100644 --- a/charts/velero/crds/deletebackuprequests.yaml +++ b/charts/velero/crds/deletebackuprequests.yaml @@ -31,14 +31,19 @@ spec: 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. + 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 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. + 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 type: string metadata: type: object @@ -72,4 +77,4 @@ spec: type: object served: true storage: true - subresources: {} + subresources: {} \ No newline at end of file diff --git a/charts/velero/crds/downloadrequests.yaml b/charts/velero/crds/downloadrequests.yaml index 7eea8219..65823791 100644 --- a/charts/velero/crds/downloadrequests.yaml +++ b/charts/velero/crds/downloadrequests.yaml @@ -19,18 +19,24 @@ spec: - name: v1 schema: openAPIV3Schema: - 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 + log 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. + 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 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. + 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 type: string metadata: type: object @@ -56,6 +62,7 @@ spec: - CSIBackupVolumeSnapshots - CSIBackupVolumeSnapshotContents - BackupVolumeInfos + - RestoreVolumeInfo type: string name: description: Name is the name of the Kubernetes resource with @@ -90,4 +97,4 @@ spec: type: object type: object served: true - storage: true + storage: true \ No newline at end of file diff --git a/charts/velero/crds/podvolumebackups.yaml b/charts/velero/crds/podvolumebackups.yaml index 928a3da6..7727b8c5 100644 --- a/charts/velero/crds/podvolumebackups.yaml +++ b/charts/velero/crds/podvolumebackups.yaml @@ -54,14 +54,19 @@ spec: openAPIV3Schema: 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. + 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 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. + 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 type: string metadata: type: object @@ -69,8 +74,9 @@ spec: 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 + where the backup repository is stored. type: string node: description: Node is the name of the node that the Pod is running @@ -84,33 +90,40 @@ spec: description: API version of the referent. 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 + 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. 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. + More 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. + More 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. + More 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. + More 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. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids type: string type: object x-kubernetes-map-type: atomic @@ -120,14 +133,16 @@ spec: tags: 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 + volume backup as tags. type: object uploaderSettings: additionalProperties: type: string - description: UploaderSettings are a map of key-value pairs that should - be applied to the uploader configuration. + description: |- + UploaderSettings are a map of key-value pairs that should be applied to the + uploader configuration. nullable: true type: object uploaderType: @@ -139,8 +154,9 @@ spec: - "" 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 + up. type: string required: - backupStorageLocation @@ -153,10 +169,11 @@ spec: 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. + 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 format: date-time nullable: true type: string @@ -176,9 +193,10 @@ spec: - Failed 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 + number of backed up bytes. This can be used to display progress information + about the backup operation. properties: bytesDone: format: int64 @@ -192,8 +210,10 @@ spec: pod volume. type: string startTimestamp: - description: StartTimestamp records the time a backup was started. - Separate from CreationTimestamp, since that value changes on restores. + 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 format: date-time nullable: true @@ -202,4 +222,4 @@ spec: type: object served: true storage: true - subresources: {} + subresources: {} \ No newline at end of file diff --git a/charts/velero/crds/podvolumerestores.yaml b/charts/velero/crds/podvolumerestores.yaml index 6eef9ffe..48296ac7 100644 --- a/charts/velero/crds/podvolumerestores.yaml +++ b/charts/velero/crds/podvolumerestores.yaml @@ -55,14 +55,19 @@ spec: openAPIV3Schema: 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. + 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 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. + 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 type: string metadata: type: object @@ -70,8 +75,9 @@ spec: 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 + where the backup repository is stored. type: string pod: description: Pod is a reference to the pod containing the volume to @@ -81,33 +87,40 @@ spec: description: API version of the referent. 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 + 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. 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. + More 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. + More 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. + More 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. + More 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. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids type: string type: object x-kubernetes-map-type: atomic @@ -124,8 +137,9 @@ spec: uploaderSettings: additionalProperties: type: string - description: UploaderSettings are a map of key-value pairs that should - be applied to the uploader configuration. + description: |- + UploaderSettings are a map of key-value pairs that should be applied to the + uploader configuration. nullable: true type: object uploaderType: @@ -152,9 +166,10 @@ spec: 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. + Completion time is recorded even on failed restores. + The server's time is used for CompletionTimestamps format: date-time nullable: true type: string @@ -170,9 +185,10 @@ spec: - Failed 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 + number of restored bytes. This can be used to display progress information + about the restore operation. properties: bytesDone: format: int64 @@ -182,7 +198,8 @@ spec: type: integer type: object startTimestamp: - description: StartTimestamp records the time a restore was started. + description: |- + StartTimestamp records the time a restore was started. The server's time is used for StartTimestamps format: date-time nullable: true diff --git a/charts/velero/crds/restores.yaml b/charts/velero/crds/restores.yaml index 10b16119..43b52b78 100644 --- a/charts/velero/crds/restores.yaml +++ b/charts/velero/crds/restores.yaml @@ -19,18 +19,24 @@ spec: - name: v1 schema: openAPIV3Schema: - 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 + resources 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. + 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 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. + 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 type: string metadata: type: object @@ -38,19 +44,22 @@ spec: 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 + from. 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 + included in the restore. items: type: string nullable: true 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 + included in the restore. items: type: string nullable: true @@ -66,9 +75,9 @@ spec: 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 + the rules defined for namespaces, resources, and label selector. properties: excludedNamespaces: description: ExcludedNamespaces specifies the namespaces @@ -85,17 +94,17 @@ spec: nullable: true type: array includedNamespaces: - description: IncludedNamespaces specifies the namespaces - to which this hook spec applies. If empty, it applies + description: |- + IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies to all namespaces. items: type: string nullable: true 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 + to all resources. items: type: string nullable: true @@ -109,8 +118,8 @@ spec: 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 + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. properties: key: @@ -118,17 +127,16 @@ spec: 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. + Valid 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, + 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. items: type: string type: array @@ -140,11 +148,10 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic @@ -170,15 +177,14 @@ spec: minItems: 1 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, + the 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 + considering the execution a failure. type: string onError: description: OnError specifies how Velero should @@ -195,9 +201,9 @@ spec: 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 + before attempting to run the command. type: string required: - command @@ -227,57 +233,62 @@ spec: type: array type: object 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 + should be included for consideration in the restore. If null, defaults + to 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 + from. If empty, all namespaces are included. items: type: string nullable: true type: array includedResources: - description: IncludedResources is a slice of resource names to include + description: |- + IncludedResources is a slice of resource names to include in the restore. If empty, all resources in the backup are included. items: type: string nullable: true 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 + The 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 + when restoring individual objects from the backup. If empty + or 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 + relates 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. + Valid 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 + 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. items: type: string @@ -290,57 +301,58 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic 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 + to target namespace names to restore into. Any source + namespaces not included in the map will be restored into + namespaces 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 + 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 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 + matchExpressions are ANDed. An empty label selector matches all objects. A null + label 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 + relates 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. + Valid 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, + 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. items: type: string type: array @@ -352,11 +364,10 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic @@ -373,10 +384,10 @@ spec: nullable: true 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. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: description: Kind is the type of resource being referenced @@ -390,13 +401,15 @@ spec: type: object x-kubernetes-map-type: atomic restorePVs: - description: RestorePVs specifies whether to restore all included + description: |- + RestorePVs specifies whether to restore all included PVs 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 + field. If nil, no objects are included. Optional. nullable: true properties: excludedResources: @@ -407,46 +420,50 @@ spec: nullable: true 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. + If empty, it applies to all resources. items: type: string nullable: true type: array type: object 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 + from. If specified, and BackupName is empty, Velero will restore + from 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 - required: - - backupName type: object status: 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. + 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 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 + execution of the restore. The actual errors are stored in object storage. type: integer failureReason: description: FailureReason is an error that caused the entire restore @@ -458,10 +475,10 @@ spec: nullable: true properties: hooksAttempted: - description: HooksAttempted is the total number of attempted hooks - Specifically, HooksAttempted represents the number of hooks - that failed to execute and the number of hooks that executed - successfully. + description: |- + HooksAttempted is the total number of attempted hooks + Specifically, HooksAttempted represents the number of hooks that failed to execute + and the number of hooks that executed successfully. type: integer hooksFailed: description: HooksFailed is the total number of hooks which ended @@ -479,11 +496,14 @@ spec: - Completed - PartiallyFailed - 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 + that this information is best-effort only -- if Velero fails to update it + during a restore for any reason, it may be inaccurate/stale. nullable: true properties: itemsRestored: @@ -491,44 +511,48 @@ spec: been restored so far 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 + throughout the execution of the restore due to plugins that return additional related + items to restore type: integer type: object restoreItemOperationsAttempted: - description: RestoreItemOperationsAttempted is the total number of - attempted async RestoreItemAction operations for this restore. + description: |- + RestoreItemOperationsAttempted is the total number of attempted + async 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 + async 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 + RestoreItemAction 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. + The 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 + applicable) items: type: string nullable: true 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 + execution of the restore. The actual warnings are stored in object storage. type: integer type: object type: object served: true - storage: true + storage: true \ No newline at end of file diff --git a/charts/velero/crds/schedules.yaml b/charts/velero/crds/schedules.yaml index 92155873..4d6889d8 100644 --- a/charts/velero/crds/schedules.yaml +++ b/charts/velero/crds/schedules.yaml @@ -38,18 +38,24 @@ spec: name: v1 schema: openAPIV3Schema: - 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 + periodic 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. + 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 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. + 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 type: string metadata: type: object @@ -60,73 +66,80 @@ spec: description: Paused specifies whether the schedule is paused or not 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 + the 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. If 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. If false, backup will not be skipped - immediately when schedule is unpaused, but will run at next schedule - time. If empty, will follow server configuration (default: false).' + 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. + If 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. + If false, backup will not be skipped immediately when schedule is unpaused, but will run at next schedule time. + If 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 + on 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 + ReadyToUse during creation, before returning error as timeout. + The default value is 10 minute. type: string datamover: - description: DataMover specifies the data mover to be used by - the backup. If DataMover is "" or "velero", the built-in data - mover will be used. + description: |- + DataMover specifies the data mover to be used by the backup. + If 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 + for 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 + backup of all pod volumes by default. + + + Deprecated: 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 + resource type names to exclude from the backup. + If set to "*", all cluster-scoped resource types are excluded. + The default value is empty. items: type: string nullable: true 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 + resource type names to exclude from the backup. + If set to "*", all namespace-scoped resource types are excluded. + The default value is empty. items: type: string nullable: true 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 + included in the backup. items: type: string nullable: true 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 + included in the backup. items: type: string nullable: true @@ -139,9 +152,9 @@ spec: 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 + the rules defined for namespaces, resources, and label selector. properties: excludedNamespaces: description: ExcludedNamespaces specifies the namespaces @@ -158,16 +171,16 @@ spec: nullable: true type: array includedNamespaces: - description: IncludedNamespaces specifies the namespaces - to which this hook spec applies. If empty, it applies + description: |- + IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies to all namespaces. items: type: string nullable: true type: array includedResources: - description: IncludedResources specifies the resources - to which this hook spec applies. If empty, it applies + description: |- + IncludedResources specifies the resources to which this hook spec applies. If empty, it applies to all resources. items: type: string @@ -182,26 +195,25 @@ spec: 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 + relates 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. + Valid 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, + 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. items: type: string type: array @@ -213,12 +225,10 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic @@ -226,10 +236,9 @@ spec: description: Name is the name of this hook. 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. + These are executed after all "additional items" from item actions are processed. items: description: BackupResourceHook defines a hook for a resource. @@ -245,10 +254,9 @@ spec: minItems: 1 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, + the pod's first container is used. type: string onError: description: OnError specifies how Velero @@ -259,10 +267,9 @@ spec: - Fail 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 + considering the execution a failure. type: string required: - command @@ -272,10 +279,9 @@ spec: type: object 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. + These are executed before any "additional items" from item actions are processed. items: description: BackupResourceHook defines a hook for a resource. @@ -291,10 +297,9 @@ spec: minItems: 1 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, + the pod's first container is used. type: string onError: description: OnError specifies how Velero @@ -305,10 +310,9 @@ spec: - Fail 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 + considering the execution a failure. type: string required: - command @@ -324,50 +328,56 @@ spec: type: array type: object includeClusterResources: - description: IncludeClusterResources specifies whether cluster-scoped - resources should be included for consideration in the backup. + description: |- + IncludeClusterResources specifies whether cluster-scoped resources + should 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 + 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. items: type: string nullable: true 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 + resource type names to include in the backup. + The default value is "*". items: type: string nullable: true 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 + from. If empty, all namespaces are included. items: type: string nullable: true 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 + in the backup. If empty, all resources are included. items: type: string nullable: true 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 + The 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 + 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. nullable: true properties: @@ -375,25 +385,25 @@ spec: 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 + relates 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. + Valid 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, + 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. items: type: string type: array @@ -405,11 +415,10 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic @@ -421,40 +430,41 @@ spec: type: object type: object 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 + 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. 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 + matchExpressions are ANDed. An empty label selector matches all objects. A null + label 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 + relates 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. + Valid 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, + 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. items: type: string type: array @@ -466,11 +476,10 @@ spec: matchLabels: 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 + 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. type: object type: object x-kubernetes-map-type: atomic @@ -479,11 +488,10 @@ spec: orderedResources: 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. + 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". nullable: true type: object resourcePolicy: @@ -491,10 +499,10 @@ spec: 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. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: description: Kind is the type of resource being referenced @@ -513,9 +521,10 @@ spec: 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 + of any PV's referenced in the set of objects included + in the Backup. nullable: true type: boolean storageLocation: @@ -523,8 +532,9 @@ spec: a BackupStorageLocation where the backup should be stored. 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 + the Backup should be retained for. type: string uploaderConfig: description: UploaderConfig specifies the configuration for the @@ -544,8 +554,9 @@ spec: type: array type: object useOwnerReferencesInBackup: - description: UseOwnerReferencesBackup specifies whether to use OwnerReferences - on backups created by this Schedule. + description: |- + UseOwnerReferencesBackup specifies whether to use + OwnerReferences on backups created by this Schedule. nullable: true type: boolean required: @@ -556,7 +567,8 @@ spec: description: ScheduleStatus captures the current state of a Velero schedule properties: lastBackup: - description: LastBackup is the last time a Backup was run for this + description: |- + LastBackup is the last time a Backup was run for this Schedule schedule format: date-time nullable: true @@ -574,8 +586,9 @@ spec: - FailedValidation type: string validationErrors: - description: ValidationErrors is a slice of all validation errors - (if applicable) + description: |- + ValidationErrors is a slice of all validation errors (if + applicable) items: type: string type: array diff --git a/charts/velero/crds/serverstatusrequests.yaml b/charts/velero/crds/serverstatusrequests.yaml index 14960a9e..234d40c9 100644 --- a/charts/velero/crds/serverstatusrequests.yaml +++ b/charts/velero/crds/serverstatusrequests.yaml @@ -21,18 +21,24 @@ spec: - name: v1 schema: openAPIV3Schema: - 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 + the 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. + 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 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. + 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 type: string metadata: type: object @@ -65,8 +71,9 @@ spec: nullable: true type: array processedTimestamp: - description: ProcessedTimestamp is when the ServerStatusRequest was - processed by the ServerStatusRequestController. + description: |- + ProcessedTimestamp is when the ServerStatusRequest was processed + by the ServerStatusRequestController. format: date-time nullable: true type: string diff --git a/charts/velero/crds/volumesnapshotlocations.yaml b/charts/velero/crds/volumesnapshotlocations.yaml index ad874ce6..cb349fea 100644 --- a/charts/velero/crds/volumesnapshotlocations.yaml +++ b/charts/velero/crds/volumesnapshotlocations.yaml @@ -25,14 +25,19 @@ spec: 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. + 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 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. + 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 type: string metadata: type: object @@ -54,8 +59,10 @@ spec: valid secret key. 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. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: description: Specify whether the Secret or its key must be defined @@ -84,4 +91,4 @@ spec: type: object type: object served: true - storage: true + storage: true \ No newline at end of file From 4194149e658008483ae07fa614524b091bc3a214 Mon Sep 17 00:00:00 2001 From: Piotr Rutkowski Date: Thu, 20 Jun 2024 08:17:38 +0200 Subject: [PATCH 4/5] [velero] Bump up Velero 1.14.0 - add upgrade notes Signed-off-by: Piotr Rutkowski --- .idea/.gitignore | 8 ++++++++ charts/velero/README.md | 3 +++ charts/velero/values.yaml | 6 ------ 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .idea/.gitignore diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..13566b81 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/charts/velero/README.md b/charts/velero/README.md index d900d95b..e6176d84 100644 --- a/charts/velero/README.md +++ b/charts/velero/README.md @@ -95,6 +95,9 @@ helm upgrade vmware-tanzu/velero --reuse-values --set configurati ### Upgrading to 7.0.0 +Delete the CSI plugin. Because the Velero CSI plugin is already merged into the Velero, need to remove the existing CSI plugin InitContainer. Otherwise, the Velero server plugin would fail to start due to same plugin registered twice. +CSI plugin has been merged into velero repo in v1.14 release. It will be installed by default as an internal plugin. + ### Upgrading to 6.0.0 This version removes the `nodeAgent.privileged` field, you should use `nodeAgent.containerSecurityContext.privileged` instead diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index cb4b9001..0f32df92 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -105,12 +105,6 @@ dnsPolicy: ClusterFirst # Init containers to add to the Velero deployment's pod spec. At least one plugin provider image is required. # If the value is a string then it is evaluated as a template. initContainers: - # - name: velero-plugin-for-csi - # image: velero/velero-plugin-for-csi:v0.7.0 - # imagePullPolicy: IfNotPresent - # volumeMounts: - # - mountPath: /target - # name: plugins # - name: velero-plugin-for-aws # image: velero/velero-plugin-for-aws:v1.10.0 # imagePullPolicy: IfNotPresent From 159bae10a4eabd5231a347c555c33a56daca27eb Mon Sep 17 00:00:00 2001 From: Piotr Rutkowski Date: Thu, 20 Jun 2024 13:22:45 +0200 Subject: [PATCH 5/5] [velero] Bump up Velero 1.14.0 - revert .gitignore Signed-off-by: Piotr Rutkowski --- .idea/.gitignore | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .idea/.gitignore diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b81..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml