Xun Jiang/Bruce Jiang and GitHub
68730cbe3a
Merge pull request #5122 from sseago/bsl-validation4
...
Modify BackupStoreGetter to avoid BSL spec changes
2022-07-19 11:27:57 +08:00
Scott Seago
64a8c44104
Modify BackupStoreGetter to avoid BSL spec changes
...
Pass in a new copy of the map of config values rather than
modifying the BSL Spec.Config and then pass in that field.
Signed-off-by: Scott Seago <sseago@redhat.com >
2022-07-18 10:31:35 -04:00
Daniel Jiang
9173ac117e
Let "make shell xxx" respect GOPROXY
...
This commit mitigates the issue for running "make update" locally when
the network is not friendly for accessing the default "proxy.golang.org"
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-07-18 19:22:50 +08:00
Xun Jiang/Bruce Jiang and GitHub
eaf97e7510
Merge pull request #5110 from reasonerjt/plugin-panic-trace
...
Dump stack trace when the plugin server handles panic
2022-07-11 22:47:17 +08:00
Daniel Jiang
9102f53131
Dump stack trace when the plugin server handles panic
...
Mitigate the issue mentioned in #4782
When there's a bug or misconfiguration that causes nil pointer there
will be more stack trace information to help us debug.
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-07-11 02:01:13 +08:00
Scott Seago and GitHub
77c1549d4d
Merge pull request #5101 from ywk253100/220628_bsl
...
Fix bsl validation bug
2022-07-08 15:32:51 -04:00
Wenkai Yin(尹文开)
f550f8e3cd
Fix bsl validation bug
...
Fix bsl validation bug: the BSL is validated continually and doesn't respect the validation period configured
Fixes #5056
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-07-06 14:20:03 +08:00
qiuming and GitHub
267db7a931
Merge pull request #5051 from niulechuan/fix-typo-in-doc
...
Fix typo in doc (https://velero.io/docs/main/restore-reference/ "Restore order" section)
2022-07-04 14:55:07 +08:00
niulechuan and GitHub
fb897471c0
Move 'velero.io/exclude-from-backup' label string to const ( #5053 )
...
* move 'velero.io/exclude-from-backup' label name to const
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io >
* add changelog file (in changelogs/unreleased) of this PR
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io >
2022-07-04 14:31:20 +08:00
Niu Lechuan
c6625d1424
add changelog file for this PR
...
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io >
2022-06-30 10:09:29 +08:00
Wenkai Yin(尹文开) and GitHub
2778d54e3f
Merge pull request #5052 from blackpiglet/modify-github-actions
...
Modify Github actions.
2022-06-28 14:02:23 +08:00
Xun Jiang
7b320e71c9
Modify Github actions.
...
1. remove go.sum file from code spell check action.
2. change go version to 1.17 in CRD verify action, and add k8s 1.23 and 1.24 in verification list.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-06-27 15:15:19 +08:00
Xun Jiang
cb273ae469
Delete opened issues triage action.
...
Because the column and project specified by this action do not exist anymore, and Velero team doesn't use this action to assign issue and triage anymore, remove this action.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-06-22 10:46:54 +08:00
Scott Seago and GitHub
6378c266c3
Merge pull request #4980 from anshulahuja98/main
...
Add support to download CSI json from object store
2022-06-16 10:37:55 -04:00
Scott Seago
79be75e183
When spec.RestoreStatus is empty, don't restore status
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2022-06-15 13:02:31 -04:00
Anshul Ahuja and GitHub
7b51bfe03d
Merge branch 'main' into main
2022-06-15 14:16:38 +05:30
Anshul Ahuja and GitHub
a30b61b3d7
Add changelog
...
Signed-off-by: GitHub <noreply@github.com >
2022-06-13 13:37:47 +00:00
Ming
423e7f9f63
Add Changelog and Docs for v1.9
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-06-13 09:25:59 +00:00
Xun Jiang
806234e043
Add more information for failing to get path or snapshot in restic backup and restore.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-06-13 11:32:55 +08:00
Wenkai Yin(尹文开)
34087fe5f4
Disable status as sub resource in CRDs
...
When enabling the status as sub resource in CRD, the status will be ignored when creating the CR with status, this will cause issues when syncing backups/pvbs
Fixes #4950
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-06-09 07:52:08 +08:00
Xun Jiang
febe79f334
Fix E2E test [Backups][Deletion][Restic] on GCP.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-06-08 09:23:58 +08:00
Scott Seago and GitHub
a79c1a5877
Merge pull request #4785 from RafaeLeal/restore-status
...
Add ability to restore status on selected resources
2022-05-24 09:41:18 -04:00
Rafael Leal
200769a077
Add changelog
...
Signed-off-by: Rafael Leal <rafaelealdias@gmail.com >
2022-05-24 00:14:02 -03:00
Scott Seago and GitHub
471e357952
Merge pull request #4914 from blackpiglet/4912-fix-completion-zsh
...
Make velero completion zsh command output can be used by `source` com…
2022-05-23 10:05:12 -04:00
Wenkai Yin(尹文开) and GitHub
51de990a8a
Merge pull request #4913 from qiuming-best/order-resources-test
...
Add schedule ordered resources E2E test
2022-05-18 16:32:35 +08:00
Ming
6b9b13790e
Add schedule ordered resources test
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-05-17 14:10:05 +00:00
Wenkai Yin(尹文开)
44199db79d
Enhance the map flag to support parsing input value contains entry delimiters
...
Enhance the map flag to support parsing input value contains entry delimiters
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-05-17 13:56:41 +08:00
Xun Jiang
3db40a58a4
Make velero completion zsh command output can be used by source command.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-05-17 10:01:46 +08:00
Daniel Jiang and GitHub
89907bd141
Merge pull request #4872 from big-appled/cleanup-restic
...
cleanup restic helper folder when done
2022-05-12 09:28:30 +08:00
Daniel Jiang and GitHub
9b5257663a
Merge pull request #4650 from shubham-pampattiwar/add-label-selectors
...
Add multiple label selector support to Velero Backup and Restore APIs
2022-05-11 23:16:28 +08:00
Shubham Pampattiwar
bfdb68a35a
add multiple label selector support to backup API
...
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
remove backup CLI bits
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
labelselectors spec option for velero restore
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
update spec name to OrLabelSelectors
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
minor fixes
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
add validations for labelSelector and orLabelSelectors
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
update crds.gp after fixing conflicts
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
fix CI and add unit tests
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
updated OrLabelSelector spec description and added validation failure unit tests
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
add comments and change log level
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
update site docs
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
wrap pager client calls in a function
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
resolve confilcts and update crds.go
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
rebase and update crds.go
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
combine listing items for a given label
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
2022-05-11 09:57:47 -04:00
Wenkai Yin(尹文开) and GitHub
879d03398b
Merge pull request #4894 from blackpiglet/bsl-refactor
...
Refactor BSL controller with periodical enqueue source
2022-05-11 19:23:51 +08:00
Xun Jiang
989a1e3ebb
Refactor BSL controller with periodical enqueue source.
...
Add filter functions for PeriodicalEnqueueSource.
Move BSL's valication frequency check test case to PeriodicalEnqueueSource's test.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-05-11 15:31:47 +08:00
qiuming and GitHub
d48e1d9db7
Merge pull request #4897 from ywk253100/220609_gc
...
Make garbage collection for expired backups configurable
2022-05-11 10:46:03 +08:00
Wenkai Yin(尹文开)
6a551e546e
Make garbage collection for expired backups configurable
...
Make garbage collection for expired backups configurable
Fixes #4875
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-05-11 10:33:59 +08:00
Daniel Jiang and GitHub
e51865eec1
Merge pull request #4628 from shubham-pampattiwar/add-restore-policy
...
Add `existingResourcePolicy` to Restore API
2022-05-10 20:28:25 +08:00
Xun Jiang/Bruce Jiang and GitHub
99e49c6936
Merge pull request #4898 from ywk253100/220509_distroless
...
Bump up the version of distroless to base-debian11
2022-05-10 14:48:53 +08:00
Shubham Pampattiwar
e3106f3e10
add existingResourcePolicy to Restore API
...
add updateall policy option
fix updating labels
dump updateAll policy option
remove updateAll policy refs
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
update docs
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
patch labels for sa if policy is update
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
fix existingResourcePolicy for serviceaccounts
modularize changes and add unit tests
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
fix conflicts and update crds.go
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
change log level from info to error
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
update crds.go
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
2022-05-09 13:36:24 -04:00
Xun Jiang/Bruce Jiang and GitHub
40a36d2941
Merge pull request #4859 from qiuming-best/restic-repo-tmp
...
Convert Restic Repository resource/controller to the Kubebuilder framework
2022-05-09 17:57:01 +08:00
Wenkai Yin(尹文开)
ed43e8de30
Bump up the version of distroless to base-debian11
...
Bump up the version of distroless to base-debian11
Fixes #4867
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-05-09 17:08:34 +08:00
Ning Ding
e09c31e559
changes according to review comments
...
Signed-off-by: Ning Ding <834652870@qq.com >
2022-05-09 15:55:14 +08:00
Wenkai Yin(尹文开) and GitHub
1d8d2bdb4f
Merge pull request #4890 from sseago/restoreitemaction-label-fix
...
continue rather than return for non-matching restore action label
2022-05-09 14:34:03 +08:00
Xun Jiang/Bruce Jiang and GitHub
62dde34f86
Merge pull request #4893 from ywk253100/220506_restart
...
Make in-progress PVB/PVR as failed when restic controller restarts to avoid hanging backup/restore
2022-05-07 17:32:40 +08:00
Wenkai Yin(尹文开)
034cda2571
Make in-progress PVB/PVR as failed when restic controller restarts to avoid hanging backup/restore
...
Make in-progress PVB/PVR as failed when restic controller restarts to avoid hanging backup/restore
Fixes #4772
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-05-07 16:51:06 +08:00
Ming
752b28166f
Merge branch 'main' of https://github.com/qiuming-best/velero into restic-repo-tmp
2022-05-06 14:43:00 +08:00
Scott Seago
da916846b1
continue rather than return for non-matching restore action label
...
When iterating over applicable restore actions, if a non-matching label
selector is found, velero should continue to the next action rather than
returning from the restoreItem func, which ends up preventing the item's
restore entirely.
Signed-off-by: Scott Seago <sseago@redhat.com >
2022-05-05 08:37:48 -04:00
Xun Jiang
a69bd8b1f3
Remove VolumeSnapshot created during backup, when the VolumeSnapshotClass's DeletionPolicy is set to Delete.
...
1. Delete VolumeSnapshot directly when DeletionPolicy set to Retain.
2. Change VolumeSnapshotContent's DeletionPolicy to Retain, then delete VolumeSnapshot. After that delete VolumeSnapshotContent and change VSC DeletionPolicy to Delete back, then re-create the VolumeSnapshotContent.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-05-05 18:30:59 +08:00
Xun Jiang
6421f8ad02
Make waiting VolumeSnapshot to ready process parallel.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-05-05 14:32:55 +08:00
Wenkai Yin(尹文开) and GitHub
aa71427576
Merge pull request #4887 from reasonerjt/delete-orphan-vs
...
Delete orphan CSI snapshots in backup sync controller
2022-05-05 11:27:44 +08:00
Daniel Jiang
89e90d9be4
Delete orphan CSI snapshots in backup sync controller
...
This commit makes backup sync controller delete the volumesnapshot and
volumesnapshotcontent created by the backup which is cleaned up as orphan
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-05-05 10:54:34 +08:00