Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kopia Pod Volume Backup/Restore #5259

Merged
merged 3 commits into from
Sep 5, 2022

Conversation

Lyndon-Li
Copy link
Contributor

@Lyndon-Li Lyndon-Li commented Aug 30, 2022

Fill gaps for Kopia path of PVBR:

  • Repo Manager with Unified Repo
  • Uploader type to PVBR backupper/restorer
  • Repository Type to BackupRepository controller
  • Repository Type to Repo Ensurer

Related issues: #5095 #5096

Signed-off-by: Lyndon-Li <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #5259 (21d87c0) into main (6fea973) will increase coverage by 0.10%.
The diff coverage is 43.15%.

@@            Coverage Diff             @@
##             main    #5259      +/-   ##
==========================================
+ Coverage   40.69%   40.79%   +0.10%     
==========================================
  Files         233      233              
  Lines       20093    20184      +91     
==========================================
+ Hits         8177     8235      +58     
- Misses      11319    11353      +34     
+ Partials      597      596       -1     
Impacted Files Coverage Δ
pkg/cmd/server/server.go 6.62% <0.00%> (-0.04%) ⬇️
pkg/podvolume/backupper.go 4.81% <0.00%> (-0.16%) ⬇️
pkg/podvolume/backupper_factory.go 0.00% <0.00%> (ø)
pkg/repository/ensurer.go 0.00% <0.00%> (ø)
pkg/repository/manager.go 21.05% <23.52%> (+0.64%) ⬆️
pkg/backup/backup.go 79.24% <50.00%> (-0.25%) ⬇️
pkg/podvolume/restorer.go 10.48% <62.50%> (+10.48%) ⬆️
pkg/podvolume/util.go 96.46% <87.09%> (-3.54%) ⬇️
pkg/controller/restic_repository_controller.go 59.49% <88.23%> (+5.13%) ⬆️
pkg/controller/backup_deletion_controller.go 58.73% <100.00%> (+0.11%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Lyndon-Li Lyndon-Li force-pushed the kopia-pvbr-dev-02 branch 2 times, most recently from 83cf9d4 to b90798f Compare August 31, 2022 12:30
@Lyndon-Li Lyndon-Li force-pushed the kopia-pvbr-dev-02 branch 4 times, most recently from 2139c7d to be7d046 Compare August 31, 2022 15:11
@@ -130,14 +136,14 @@ func (r *RepositoryEnsurer) EnsureRepo(ctx context.Context, namespace, volumeNam

log.Debug("Acquired lock")

selector := labels.SelectorFromSet(repoLabels(volumeNamespace, backupLocation))
selector := labels.SelectorFromSet(repoLabels(volumeNamespace, backupLocation, repositoryType))
Copy link
Contributor

@qiuming-best qiuming-best Sep 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the existing BackupRepository for the older velero version, If the user didn't reinstall the velero 1.10, just update the image, we cannot list BackupRepository by the new selector. because the new label is not added to the older BackupRepository.

So for users who upgrade from an older version to 1.10, do they need to delete all crds and reinstall velero?

Copy link
Contributor Author

@Lyndon-Li Lyndon-Li Sep 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The legacy repos are not called BackupRepository but ResticRepository, therefore, we cannot list the legacy repos anyway.
And after the upgrade, the legacy repos named as ResticRepository will not be used anymore, for the old PVB/PVR, a new BackupRepository will be created; and the controller doesn't handle the old ones in its reconciler either.

Therefore it is safe to leave them there and we need users to delete them manually.

pkg/repository/ensurer.go Outdated Show resolved Hide resolved
ywk253100
ywk253100 previously approved these changes Sep 2, 2022
pkg/podvolume/util.go Outdated Show resolved Hide resolved
Signed-off-by: Lyndon-Li <[email protected]>
@ywk253100 ywk253100 merged commit 0282e65 into vmware-tanzu:main Sep 5, 2022
@Lyndon-Li Lyndon-Li deleted the kopia-pvbr-dev-02 branch September 5, 2022 02:29
wenterjoy pushed a commit to wenterjoy/velero that referenced this pull request Dec 21, 2022
Signed-off-by: Lyndon-Li <[email protected]>

Clean backups after each test and fix exlude label test issue

1. Clean backups after each test to avoid exceeding limitation of storage capability during E2E test;
2. Fix exlude label test issue that namespace should not be included and excluded at the same time no matter by which way to config.

Signed-off-by: danfengl <[email protected]>

Remove reference to non-existent doc

fixes vmware-tanzu#4923

Signed-off-by: Daniel Jiang <[email protected]>

Uploader Implementation: Kopia backup and restore

Signed-off-by: Ming <[email protected]>

update upstream codes

Signed-off-by: Ming <[email protected]>

refactor gc controller with kubebuilder

Signed-off-by: allenxu404 <[email protected]>

add OADP to adopters list

Signed-off-by: Shubham Pampattiwar <[email protected]>

fix typo

Signed-off-by: Shubham Pampattiwar <[email protected]>

check vsc null pointer

Signed-off-by: 李龙峰 <[email protected]>

kopia lib

Signed-off-by: Lyndon-Li <[email protected]>

Move the code in pkg/restic/common.go to the proper package

Move the code in pkg/restic/common.go to the proper package

Fixes vmware-tanzu#5243

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>

Don't panic when storageClassName is not set in stateful sets

Signed-off-by: divolgin <[email protected]>

Controller refactor code modifications.

1. Add some refactored controllers initiation code into enabledRuntimeControllers.
2. Add reconciler struct initiation function for DownloadRequest and ServerStatusRequest controllers.

Signed-off-by: Xun Jiang <[email protected]>

equip gc controller with configurable frequency

Signed-off-by: allenxu404 <[email protected]>

Update the website of velero to refelct the change of PM (vmware-tanzu#5260)

Signed-off-by: Daniel Jiang <[email protected]>

Signed-off-by: Daniel Jiang <[email protected]>

Migrate backup sync controller from code-generator to kubebuilder (vmware-tanzu#5218)

* Migrate backup sync controller from code-generator to kubebuilder

1. use kubebuilder's reconcile logic to replace controller's old logic.
2. use ginkgo and gomega to replace testing.
3. modify BSL reconciler registration method.

Signed-off-by: Xun Jiang <[email protected]>

* Add Option for PeriodicalEnqueueSource.

Signed-off-by: Xun Jiang <[email protected]>

Signed-off-by: Xun Jiang <[email protected]>
Co-authored-by: Xun Jiang <[email protected]>

Refactor BackupItemAction to backupitemaction/v1

Signed-off-by: Hoang, Phuong <[email protected]>

Add changelog

Signed-off-by: Hoang, Phuong <[email protected]>

Add missing file

Signed-off-by: Hoang, Phuong <[email protected]>

renamed update files so that protoc is run before CRD update.

If generating protoc go files from scratch, `make update` fails if
CRD generation happens first, since the protoc-generated
files are imported by the api go files.
protoc generation needs to happen earlier.

Signed-off-by: Scott Seago <[email protected]>

updated to newer protoc/protoc-gen-go

Signed-off-by: Scott Seago <[email protected]>

Updated plugin/framework server files to cope with protoc changes

Signed-off-by: Scott Seago <[email protected]>

some additional debug logs

Signed-off-by: Scott Seago <[email protected]>

fix edge cases for already exists resources

Signed-off-by: Shubham Pampattiwar <[email protected]>

add changelog file

Signed-off-by: Shubham Pampattiwar <[email protected]>

update changelog filename

Signed-off-by: Shubham Pampattiwar <[email protected]>

change log level and error type

Signed-off-by: Shubham Pampattiwar <[email protected]>

Uploader Implementation: Restic backup and restore

Signed-off-by: Ming <[email protected]>

merge upstream code

Signed-off-by: Ming <[email protected]>

Add enable API group on k8s resources E2E test upon issue vmware-tanzu#5146

Signed-off-by: danfengl <[email protected]>

Check for empty ns list before checking nslist[0]

In determining whether a backup includes all namespaces, item_collector
checks for an empty string in the first element of the ns list. If processing
includes+excludes results in an empty list, treat this as another case
of a not-all-namespaces backup rather than crashing velero.

Signed-off-by: Scott Seago <[email protected]>

Kopia Pod Volume Backup/Restore (vmware-tanzu#5259)

* kopia pvbr

Signed-off-by: Lyndon-Li <[email protected]>

chore: remove duplicate word in comments

Signed-off-by: Abirdcfly <[email protected]>

add CSISnapshotTimeout for describe backup

Signed-off-by: cleverhu <[email protected]>

kopia pvbr smoking test changes

Signed-off-by: Lyndon-Li <[email protected]>

trim isAlreadyExistsError for restore

Signed-off-by: cleverhu <[email protected]>

refactor repo ensurer

Signed-off-by: Lyndon-Li <[email protected]>

Add credentials to volume snapshot locations.

This is analogous to the BSL creds work that was done previously, but for VSLs instead.

Signed-off-by: Scott Seago <[email protected]>

fix issue 4874

Signed-off-by: Lyndon-Li <[email protected]>

issue fix 4874 update

Signed-off-by: Lyndon-Li <[email protected]>

add shorthand for labels columns

Signed-off-by: cleverhu <[email protected]>

Fix PVB finds wrong parent snapshot

Signed-off-by: Ming <[email protected]>

Fix restore cmd extraflag overwrite bug

Signed-off-by: Ming <[email protected]>

Don't move velero v1 plugins to new proto dir

To preserve backwards compatibility, don't move velero
v1 plugins to new proto dir.

Signed-off-by: Scott Seago <[email protected]>

Change the status of restore to completed from partially failed when restore empty backup

Signed-off-by: allenxu404 <[email protected]>

plugin/clientmgmt refactoring for BackupItemAction v1

Refactors the clientmgmt package to implement the plugin versioning changes
needed for BIA v1 and overall package refactoring to support plugin versions
in different packages. This should be all that's needed to move on to
v2 for BackupItemAction. The remaining plugin types still need similar
refactoring to what's being done here for BIA before attempting a
v2 implementation.

Signed-off-by: Scott Seago <[email protected]>

plugin/framework refactoring for BackupItemAction v1

Refactors the framework  package to implement the plugin versioning changes
needed for BIA v1 and overall package refactoring to support plugin versions
in different packages. This should be all that's needed to move on to
v2 for BackupItemAction. The remaining plugin types still need similar
refactoring to what's being done here for BIA before attempting a
v2 implementation.

Signed-off-by: Scott Seago <[email protected]>

Remove github.com/apex/log logger.

Signed-off-by: Xun Jiang <[email protected]>

cancel downloadRequest checkFunc if timeout passed

Signed-off-by: Tiger Kaovilai <[email protected]>

fix issue 5352

Signed-off-by: Lyndon-Li <[email protected]>

fix issue 5358

Signed-off-by: Lyndon-Li <[email protected]>

Clarify the help message for the default value of parameter --snapshot-volumes, when it's not set.

Signed-off-by: Xun Jiang <[email protected]>

Support pause/unpause schedules

Support pause/unpause schedule

Fixes vmware-tanzu#2363

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>

RestoreItemAction v1 refactoring for plugin api versioning

Signed-off-by: Scott Seago <[email protected]>

add useOwnerReferencesInBackup field doc

Signed-off-by: cleverhu <[email protected]>

Fix issue of fail to get command output for test verification

When running velero backup/restore command, if the command result is "PartiallyFailed", it won't reture error as design, but we do need to know the debug information to figure out the reason, so the command output is needed to get the command result, then further action will be taken.

Signed-off-by: danfengl <[email protected]>

rename pvbr param (vmware-tanzu#5370)

Signed-off-by: Lyndon-Li <[email protected]>

plugin versioning v1 refactor for VolumeSnapshotter

Signed-off-by: Scott Seago <[email protected]>

Remove snapshot related lister, informer and client from backup controller. (vmware-tanzu#5299)

Signed-off-by: Xun Jiang <[email protected]>

 Add schedule backup timing E2E test

Signed-off-by: danfengl <[email protected]>

fix issue 5386

Signed-off-by: Lyndon-Li <[email protected]>

Added backupController's UT to test the prepareBackupRequest() method BackupStorageLocation processing logic

Signed-off-by: Niu Lechuan <[email protected]>

add change log

Signed-off-by: Niu Lechuan <[email protected]>

Add Kopia support for Velero installation in E2E test

Signed-off-by: danfengl <[email protected]>

Add backup opt-in/opt-out E2E test

Signed-off-by: danfengl <[email protected]>

Fix Test_prepareBackupRequest_BackupStorageLocation UT failure.

Signed-off-by: Xun Jiang <[email protected]>

Fix restore error with flag namespace-mappings (vmware-tanzu#5377)

Signed-off-by: Ming <[email protected]>

A little note about TTL expiration

I think is necessary this little comment about TTL expiration, because it can be confusing when the expiration time has passed and the data allocated and the snapshots are not erased at that time.

Signed-off-by: Aaron Arias <[email protected]>

Add backup status checking schedule controller. (vmware-tanzu#5283)

Signed-off-by: Xun Jiang <[email protected]>

Signed-off-by: Xun Jiang <[email protected]>
Signed-off-by: Xun Jiang/Bruce Jiang <[email protected]>
Co-authored-by: Xun Jiang <[email protected]>

Exclude "csinodes.storage.k8s.io" and "volumeattachments.storage.k8s.io" from backup and restore by default. (vmware-tanzu#5064)

Signed-off-by: Xun Jiang <[email protected]>

Signed-off-by: Xun Jiang <[email protected]>
Signed-off-by: Xun Jiang/Bruce Jiang <[email protected]>

Fix issues of E2E test for API group, migration and pv opt-out backup

1. One of API group test failed due to other PR with fix for treat PartiallyFailed as failure to collect debugbundle without wrap the origin error;
2. Fix migration test issue of wrong velero cli for backup commmand;
3. Fix wrong pararmeter name issue for pv opt-out backup test.

Signed-off-by: danfengl <[email protected]>

update velero using klog to version v2.9.0 (vmware-tanzu#5396)

Signed-off-by: Xun Jiang <[email protected]>

Signed-off-by: Xun Jiang <[email protected]>
Co-authored-by: Xun Jiang <[email protected]>

Change B/R describe cli to support kopia

Signed-off-by: allenxu404 <[email protected]>

Update Maintainers with the new PM pradeepkchaturvedi

Signed-off-by: OrlinVasilev <[email protected]>

Update Maintainers with the new PM pradeepkchaturvedi

Signed-off-by: OrlinVasilev <[email protected]>

rename daemonset (vmware-tanzu#5390)

Signed-off-by: Lyndon-Li <[email protected]>

Signed-off-by: Lyndon-Li <[email protected]>

Skip the exclusion check for additional resources returned by BIA

This commit provides a simple contract that if the BackupItemAction
plugin sets an annotation in a resource it has handled, the additional
items will considered "must include" i.e. each of them will skip the
"include-exclude" filter, such that the plugin developer can make sure
they are included in the backup disregarding the filter setting in the
bakcup CR.

Signed-off-by: Daniel Jiang <[email protected]>

moved RIA execute input/output structs back to velero package

The RIA refactoring moved velero.RestoreItemAction into a separate
(restoreitemaction) v1 package. Unfortunately, this change would require
plugins to make code changes to locate the RestoreItemActionExecuteInput
and RestoreItemActionExecuteOutput structs.

This commit restores those structs to the original velero package, leaving
just the RestoreItemAction interface in the new v1 package.

Signed-off-by: Scott Seago <[email protected]>

fix-ctx-issue

1. Fix issue of kubectl client and server mismatch version in GitAction E2E job, refer to elastic/cloud-on-k8s#4737;
2. Adapt to the changing of keyword for involing Kpoia as fs backupper, new installtion breaked upgrade and migration tests;
3. Accept multi-labels of Ginkgo focus as input of E2E make command;
4. Distinguish workload namespace from each tests;
5. Fix issues of not using Velero util to perform Velero commands;
6. Add snapshot test case for NamespaceMapping E2E test;
7. Collect debug bundle after catching error of Velero backup or restore command;
Signed-off-by: danfengl <[email protected]>

Pod Volume Backup/Restore Refactor: Rename Init Helper (vmware-tanzu#5432)

* restore helper refactor

Signed-off-by: Lyndon-Li <[email protected]>

* resolve codespell

Signed-off-by: Lyndon-Li <[email protected]>

Signed-off-by: Lyndon-Li <[email protected]>

remove restic from code

Signed-off-by: Lyndon-Li <[email protected]>

Change subcommand restic to repo

Signed-off-by: allenxu404 <[email protected]>

Bump Go to 1.18

Signed-off-by: Gábor Lipták <[email protected]>

upgrade velero docker image

Signed-off-by: Lyndon-Li <[email protected]>

fix lint errors

Signed-off-by: Lyndon-Li <[email protected]>

fix lint loop iterator problem

Signed-off-by: Lyndon-Li <[email protected]>

Add CSI VolumeSnapshot client back. (vmware-tanzu#5449)

Signed-off-by: Xun Jiang <[email protected]>

Add nil check before execution of csi snapshot delete

Signed-off-by: Shubham Pampattiwar <[email protected]>

add changelog

Signed-off-by: Shubham Pampattiwar <[email protected]>

change CSISnapshotTimeout from point to normal var

Signed-off-by: cleverhu <[email protected]>

Fix CVE-2022-27191

https://nvd.nist.gov/vuln/detail/CVE-2022-27191
updates to:
  * golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
adds:
  * golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2

Signed-off-by: Wesley Hayutin <[email protected]>

Resolve gopkg.in/yaml.v3 vulnerabilities

as shown from https://security.snyk.io/package/golang/gopkg.in%2Fyaml.v3

Signed-off-by: Tiger Kaovilai <[email protected]>

increase ensure restic repository timeout (vmware-tanzu#5335)

Signed-off-by: Shubham Pampattiwar <[email protected]>

Fix label naming  issue for restore helper (vmware-tanzu#5469)

Signed-off-by: danfengl <[email protected]>

Add more nil pointer check for CSI related code in backup controller. (vmware-tanzu#5388)

Add some corner cases checking for CSI snapshot in backup controller.

Signed-off-by: Xun Jiang <[email protected]>

update k8s.io dependencies to 0.24.0
* This also required an update to use github.com/bombsimon/logrusr/v3
* 'WithClusterName' removed as per the k8s doc reasoning:
* https://github.com/kubernetes/apimachinery/blob/release-1.24/pkg/apis/meta/v1/types.go\#L257-L259
* ('ClusterName was a legacy field that was always cleared by the system and never used')
* Test was updated accordingly

Signed-off-by: Kira Boyle <[email protected]>

Change name of changelog file

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>

Trivial correction to 1.7 upgrade instructions

The container name for the aws plugin is `velero-plugin-for-aws`. There was an extra `velero-` prefix in the doc.

Signed-off-by: Dave Pedu <[email protected]>

Remove redundancy code block left by vmware-tanzu#5388. (vmware-tanzu#5483)

Signed-off-by: Xun Jiang <[email protected]>

refactor pvbr doc

Signed-off-by: Lyndon-Li <[email protected]>

Add credential file store in the backup deletion controller.

Signed-off-by: Xun Jiang <[email protected]>

fix backup failure with self-signed certification

Signed-off-by: Ming <[email protected]>

remove restic in docs (vmware-tanzu#5499)

Signed-off-by: Lyndon-Li <[email protected]>

repo config for s3 compatible store

Signed-off-by: Lyndon-Li <[email protected]>

issue fix 5505

Signed-off-by: Lyndon-Li <[email protected]>

fix restic backup progress error

Signed-off-by: Ming <[email protected]>

Fix GCP StorageClass used for E2E testing's YAML syntax error. (vmware-tanzu#5536)

Signed-off-by: Xun Jiang <[email protected]>

Signed-off-by: Xun Jiang <[email protected]>
Co-authored-by: Xun Jiang <[email protected]>

Enhance the restore priorities list to support specifying the low prioritized resources that need to be restored in the last

Enhance the restore priorities list to support specifying the low prioritized resources that need to be r
estored in the last

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

feat: dependabot workflow automation for updating dependency

Signed-off-by: Pratik Raj <[email protected]>

Fix pointer deference to string in error message

Signed-off-by: Faizan Ahmad <[email protected]>

add VSL credentials documentation.

Signed-off-by: Scott Seago <[email protected]>

Add v1.10 velero upgrade doc

Signed-off-by: Ming <[email protected]>

fix main TOC for 1.10

Signed-off-by: OrlinVasilev <[email protected]>

add note for left over resources

Signed-off-by: Ming <[email protected]>

Modify dependabot rules by only fix security issues

Signed-off-by: Ming <[email protected]>

remove gofrs uuid

Signed-off-by: Lyndon-Li <[email protected]>

Upload Velero build package saved from build image to Google cloud storage

Signed-off-by: danfengl <[email protected]>

Fix controller problematic log output

Signed-off-by: Ming <[email protected]>

Add compile restic binary for CVE fix

Signed-off-by: Ming <[email protected]>

Rename secret for Google cloud storage

Signed-off-by: danfengl <[email protected]>

Fix restic cross platform compile

Signed-off-by: Ming <[email protected]>

debug opt in out

Signed-off-by: danfengl <[email protected]>

Update upgrade test for 1.10

Signed-off-by: danfengl <[email protected]>

Save vvelero image tarball only for velero namespace in docker registry (vmware-tanzu#5581)

Signed-off-by: danfengl <[email protected]>

1.10 changelog and doc (vmware-tanzu#5583)

Signed-off-by: Lyndon-Li <[email protected]>

update 1.10 readme

Signed-off-by: Lyndon-Li <[email protected]>

Add Velero behind proxy document.

Signed-off-by: Xun Jiang <[email protected]>

Add Velero File System Backup Performance Guide

Signed-off-by: Ming <[email protected]>

update 1.10 release notes

Signed-off-by: Lyndon-Li <[email protected]>

Update the Valero channel hash-name for Kubernetes Slack.

Signed-off-by: Nikhil Maheshwari <[email protected]>

[Main Cherry-Pick]Enhance upgrade velero bash script

Signed-off-by: Ming <[email protected]>

Add pause/unpause schedule e2e test (vmware-tanzu#5609)

Signed-off-by: danfengl <[email protected]>

Restore ClusterBootstrap before Cluster

Restore ClusterBootstrap before Cluster otherwise a new default ClusterBootstrap object is create for the cluster

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>

remove versions from kind matrix

Signed-off-by: Lyndon-Li <[email protected]>

Bump goreleaser to v1.12.3

Signed-off-by: JenTing Hsiao <[email protected]>

Fix git action issue for setup-gcloud

Signed-off-by: danfengl <[email protected]>

Add verification for CRD installation

Signed-off-by: danfengl <[email protected]>

Update the api-types doc

This commit makes update to the update api-types docs to add missing
fields.
It also includes misc changes to the inline comment, and a change to
Dockerfile to make sure the build-image works on mac

Signed-off-by: Daniel Jiang <[email protected]>

cut v1.10 docs on main

Signed-off-by: Lyndon-Li <[email protected]>

Add sleep before backing up new born CRD

Signed-off-by: danfengl <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

correct plugin name

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

correct plugin name

Signed-off-by: wenterjoy <[email protected]>

try to fix link check error

Signed-off-by: wenterjoy <[email protected]>

reversed the order of name and kind

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

correct plugin name

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

correct plugin name

Signed-off-by: wenterjoy <[email protected]>

try to fix link check error

Signed-off-by: wenterjoy <[email protected]>

Fix CVEs scanned by trivy

Signed-off-by: Ming <[email protected]>

Fix links to compatibility matrix

Signed-off-by: Lukas Hass <[email protected]>

Update Velero and k8s version compatibility matrix.

Due to CSIDriver is checked for Restic volume mounting path, and CSIDriver is GA and moved to storage v1 group in k8s v1.18, so update Velero v1.8, v1.9 and v1.10 compatible k8s version to 1.18-latest.

Signed-off-by: Xun Jiang <[email protected]>

Item action progress monitoring design

This design combines the requirements for the previously-merged
Upload Progress Monitoring design with the requirements for the
(not submitted but discussed in meetings and slack) proposed asynchronous
item action plugins into one integrated proposal.

Signed-off-by: Scott Seago <[email protected]>

BackupItemAction v2 design

This includes necessary changes to support async item action monitoring.

Signed-off-by: Scott Seago <[email protected]>

reversethe order of name and kind

Signed-off-by: wenterjoy <[email protected]>

RestoreItemAction v2 design

Signed-off-by: Scott Seago <[email protected]>

VolumeSnapshotter v2 API design

Signed-off-by: Scott Seago <[email protected]>

Prevent nil panic on exec restore hooks (vmware-tanzu#5675)

* Prevent nil panic on exec restore hooks

Signed-off-by: Dylan Murray <[email protected]>

refactor pvbr doc

Signed-off-by: Lyndon-Li <[email protected]>

Add credential file store in the backup deletion controller.

Signed-off-by: Xun Jiang <[email protected]>

fix backup failure with self-signed certification

Signed-off-by: Ming <[email protected]>

remove restic in docs (vmware-tanzu#5499)

Signed-off-by: Lyndon-Li <[email protected]>

repo config for s3 compatible store

Signed-off-by: Lyndon-Li <[email protected]>

issue fix 5505

Signed-off-by: Lyndon-Li <[email protected]>

fix restic backup progress error

Signed-off-by: Ming <[email protected]>

Fix GCP StorageClass used for E2E testing's YAML syntax error. (vmware-tanzu#5536)

Signed-off-by: Xun Jiang <[email protected]>

Signed-off-by: Xun Jiang <[email protected]>
Co-authored-by: Xun Jiang <[email protected]>

Enhance the restore priorities list to support specifying the low prioritized resources that need to be restored in the last

Enhance the restore priorities list to support specifying the low prioritized resources that need to be r
estored in the last

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

Update Community meetings times

vmware-tanzu#5091

Signed-off-by: OrlinVasilev <[email protected]>

feat: dependabot workflow automation for updating dependency

Signed-off-by: Pratik Raj <[email protected]>

Fix pointer deference to string in error message

Signed-off-by: Faizan Ahmad <[email protected]>

add VSL credentials documentation.

Signed-off-by: Scott Seago <[email protected]>

Add v1.10 velero upgrade doc

Signed-off-by: Ming <[email protected]>

fix main TOC for 1.10

Signed-off-by: OrlinVasilev <[email protected]>

add note for left over resources

Signed-off-by: Ming <[email protected]>

Modify dependabot rules by only fix security issues

Signed-off-by: Ming <[email protected]>

remove gofrs uuid

Signed-off-by: Lyndon-Li <[email protected]>

Upload Velero build package saved from build image to Google cloud storage

Signed-off-by: danfengl <[email protected]>

Fix controller problematic log output

Signed-off-by: Ming <[email protected]>

Add compile restic binary for CVE fix

Signed-off-by: Ming <[email protected]>

Rename secret for Google cloud storage

Signed-off-by: danfengl <[email protected]>

Fix restic cross platform compile

Signed-off-by: Ming <[email protected]>

debug opt in out

Signed-off-by: danfengl <[email protected]>

Update upgrade test for 1.10

Signed-off-by: danfengl <[email protected]>

Save vvelero image tarball only for velero namespace in docker registry (vmware-tanzu#5581)

Signed-off-by: danfengl <[email protected]>

1.10 changelog and doc (vmware-tanzu#5583)

Signed-off-by: Lyndon-Li <[email protected]>

update 1.10 readme

Signed-off-by: Lyndon-Li <[email protected]>

Add Velero behind proxy document.

Signed-off-by: Xun Jiang <[email protected]>

Add Velero File System Backup Performance Guide

Signed-off-by: Ming <[email protected]>

update 1.10 release notes

Signed-off-by: Lyndon-Li <[email protected]>

Update the Valero channel hash-name for Kubernetes Slack.

Signed-off-by: Nikhil Maheshwari <[email protected]>

[Main Cherry-Pick]Enhance upgrade velero bash script

Signed-off-by: Ming <[email protected]>

Add pause/unpause schedule e2e test (vmware-tanzu#5609)

Signed-off-by: danfengl <[email protected]>

Restore ClusterBootstrap before Cluster

Restore ClusterBootstrap before Cluster otherwise a new default ClusterBootstrap object is create for the cluster

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>

remove versions from kind matrix

Signed-off-by: Lyndon-Li <[email protected]>

Bump goreleaser to v1.12.3

Signed-off-by: JenTing Hsiao <[email protected]>

Fix git action issue for setup-gcloud

Signed-off-by: danfengl <[email protected]>

Add verification for CRD installation

Signed-off-by: danfengl <[email protected]>

Update the api-types doc

This commit makes update to the update api-types docs to add missing
fields.
It also includes misc changes to the inline comment, and a change to
Dockerfile to make sure the build-image works on mac

Signed-off-by: Daniel Jiang <[email protected]>

cut v1.10 docs on main

Signed-off-by: Lyndon-Li <[email protected]>

Add sleep before backing up new born CRD

Signed-off-by: danfengl <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

correct plugin name

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

correct plugin name

Signed-off-by: wenterjoy <[email protected]>

try to fix link check error

Signed-off-by: wenterjoy <[email protected]>

reversed the order of name and kind

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

correct plugin name

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

change image repository by configmap

Signed-off-by: wenterjoy <[email protected]>

correct changelog name

Signed-off-by: wenterjoy <[email protected]>

modified according review comments

Signed-off-by: wenterjoy <[email protected]>

change image replace rule to match all the cases

Signed-off-by: wenterjoy <[email protected]>

use single bit "," as the delimiter

Signed-off-by: wenterjoy <[email protected]>

removed  section of juding DELIMITER_KEY

Signed-off-by: wenterjoy <[email protected]>

corrected code spell error

Signed-off-by: wenterjoy <[email protected]>

 remove "Job" from the conditional

Signed-off-by: wenterjoy <[email protected]>

correct plugin name

Signed-off-by: wenterjoy <[email protected]>

try to fix link check error

Signed-off-by: wenterjoy <[email protected]>

Fix CVEs scanned by trivy

Signed-off-by: Ming <[email protected]>

Fix links to compatibility matrix

Signed-off-by: Lukas Hass <[email protected]>

Update Velero and k8s version compatibility matrix.

Due to CSIDriver is checked for Restic volume mounting path, and CSIDriver is GA and moved to storage v1 group in k8s v1.18, so update Velero v1.8, v1.9 and v1.10 compatible k8s version to 1.18-latest.

Signed-off-by: Xun Jiang <[email protected]>

Item action progress monitoring design

This design combines the requirements for the previously-merged
Upload Progress Monitoring design with the requirements for the
(not submitted but discussed in meetings and slack) proposed asynchronous
item action plugins into one integrated proposal.

Signed-off-by: Scott Seago <[email protected]>

BackupItemAction v2 design

This includes necessary changes to support async item action monitoring.

Signed-off-by: Scott Seago <[email protected]>

reversethe order of name and kind

Signed-off-by: wenterjoy <[email protected]>

RestoreItemAction v2 design

Signed-off-by: Scott Seago <[email protected]>

VolumeSnapshotter v2 API design

Signed-off-by: Scott Seago <[email protected]>

Prevent nil panic on exec restore hooks (vmware-tanzu#5675)

* Prevent nil panic on exec restore hooks

Signed-off-by: Dylan Murray <[email protected]>

[Cherry-Pick]Fix error with Restic backup empty volumes

Signed-off-by: Ming <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants