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

Pod Volume Backup/Restore Refactor: Rename Init Helper #5432

Merged
merged 3 commits into from
Oct 17, 2022

Conversation

Lyndon-Li
Copy link
Contributor

Rename Velero pod volume restore init helper from "velero-restic-restore-helper" to "velero-restore-helper"

@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2022

Codecov Report

Merging #5432 (537e9fe) into main (c0430b8) will decrease coverage by 0.02%.
The diff coverage is 85.29%.

@@            Coverage Diff             @@
##             main    #5432      +/-   ##
==========================================
- Coverage   40.62%   40.60%   -0.03%     
==========================================
  Files         236      236              
  Lines       20449    20449              
==========================================
- Hits         8308     8303       -5     
- Misses      11532    11537       +5     
  Partials      609      609              
Impacted Files Coverage Δ
pkg/uploader/provider/provider.go 0.00% <ø> (ø)
pkg/controller/pod_volume_restore_controller.go 25.39% <72.72%> (ø)
pkg/restore/pod_volume_restore_action.go 75.24% <88.23%> (ø)
internal/hook/item_hook_handler.go 87.92% <100.00%> (ø)
internal/velero/images.go 100.00% <100.00%> (ø)
pkg/podvolume/util.go 82.96% <100.00%> (ø)
pkg/uploader/provider/kopia.go 52.84% <0.00%> (-4.07%) ⬇️

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

sseago
sseago previously approved these changes Oct 11, 2022
Signed-off-by: Lyndon-Li <[email protected]>
sseago
sseago previously approved these changes Oct 12, 2022
qiuming-best
qiuming-best previously approved these changes Oct 17, 2022
Signed-off-by: Lyndon-Li <[email protected]>
@Lyndon-Li Lyndon-Li dismissed stale reviews from qiuming-best and sseago via 154f8de October 17, 2022 02:09
@Lyndon-Li Lyndon-Li requested a review from blackpiglet October 17, 2022 03:23
@Lyndon-Li Lyndon-Li force-pushed the rename-restore-helper branch from 7ce9a2d to 5c877b4 Compare October 17, 2022 03:31
blackpiglet
blackpiglet previously approved these changes Oct 17, 2022
@Lyndon-Li Lyndon-Li force-pushed the rename-restore-helper branch 3 times, most recently from e5b3db3 to 2b22d50 Compare October 17, 2022 03:48
Signed-off-by: Lyndon-Li <[email protected]>
@Lyndon-Li Lyndon-Li force-pushed the rename-restore-helper branch from 2b22d50 to 537e9fe Compare October 17, 2022 03:49
@qiuming-best qiuming-best merged commit d52ec8c into vmware-tanzu:main Oct 17, 2022
@Lyndon-Li Lyndon-Li deleted the rename-restore-helper branch October 17, 2022 07:34
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