Anshul Ahuja
8c3ddf0f73
Publish backup results extracted from backup logs
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-02-16 09:57:53 +05:30
Wenkai Yin(尹文开)
c186a7d193
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(尹文开) <yinw@vmware.com >
2022-11-03 10:53:32 +08:00
Xun Jiang
41fc641298
Add credential file store in the backup deletion controller.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-10-31 16:59:26 +08:00
Kira Boyle
b146a880c6
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 <kira@replicated.com >
2022-10-21 11:16:21 +08:00
Daniel Jiang
fc038041fb
Merge pull request #5294 from cleverhu/change-CSISnapshotTimeout-to-normal-var
...
change CSISnapshotTimeout from pointer to normal variable
2022-10-19 15:31:47 +08:00
lyndon
162680b39c
Merge branch 'main' into velero-docker-image-go-1.18
...
Signed-off-by: lyndon <98304688+Lyndon-Li@users.noreply.github.com >
2022-10-19 09:29:36 +08:00
Lyndon-Li
c92f06ef17
fix lint loop iterator problem
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-18 22:40:48 +08:00
Lyndon-Li
d7b4583b2b
fix lint errors
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-18 21:53:47 +08:00
Xun Jiang/Bruce Jiang
9cb46deb73
Add CSI VolumeSnapshot client back. ( #5449 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-10-18 14:58:03 +08:00
lyndon
ad7e3ab8d5
Merge pull request #5446 from allenxu404/i5098
...
Change subcommand `velero restic` to `velero repo`
2022-10-17 18:28:51 +08:00
Xun Jiang/Bruce Jiang
d658f6564d
Merge pull request #5444 from Lyndon-Li/remove-restic
...
Pod Volume Backup/Restore Refactor: Remove Restic in code
2022-10-17 15:32:17 +08:00
lyndon
d52ec8c079
Pod Volume Backup/Restore Refactor: Rename Init Helper ( #5432 )
...
* restore helper refactor
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* resolve codespell
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-17 13:42:09 +08:00
danfengl
cf32cabddd
fix-ctx-issue
...
1. Fix issue of kubectl client and server mismatch version in GitAction E2E job, refer to https://github.com/elastic/cloud-on-k8s/issues/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 <danfengl@vmware.com >
2022-10-16 13:18:39 +00:00
allenxu404
154f5551c6
Change subcommand restic to repo
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2022-10-13 19:45:52 +08:00
Lyndon-Li
5f7f69366c
remove restic from code
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-13 13:45:32 +08:00
lyndon
83ea1cc58b
rename daemonset ( #5390 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-11 14:18:21 +08:00
Xun Jiang/Bruce Jiang
f3e3cfcdaf
Merge pull request #5412 from allenxu404/i5085
...
Change B/R describe CLI to support kopia
2022-10-03 14:32:04 +08:00
allenxu404
47f8eb5f9b
Change B/R describe cli to support kopia
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2022-09-30 17:30:18 +08:00
Xun Jiang/Bruce Jiang
a80c96c8f8
update velero using klog to version v2.9.0 ( #5396 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Co-authored-by: Xun Jiang <blackpiglet@gmail.com >
2022-09-30 14:08:43 +08:00
Xun Jiang/Bruce Jiang
ce247a3d90
Remove snapshot related lister, informer and client from backup controller. ( #5299 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-09-23 15:44:39 +08:00
lyndon
c81f0db886
rename pvbr param ( #5370 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-23 09:13:36 +08:00
qiuming
07da9b9cf8
Merge pull request #5279 from ywk253100/220829_pause
...
Support pause/unpause schedules
2022-09-20 16:06:17 +08:00
qiuming
648311a0f5
Merge pull request #5350 from blackpiglet/5019-snapshot-volumes-help-message-modification
...
Modify help message of parameter --snapshot-volumes
2022-09-20 14:18:00 +08:00
lyndon
429e204992
Merge pull request #5329 from kaovilai/veleroDownloadRequestReturnSomething-veleromain
...
Cancel downloadRequest when timeout without downloadURL
2022-09-19 14:20:18 +08:00
lyndon
ede7b197ae
Merge pull request #5297 from blackpiglet/remove_apex_log
...
Remove github.com/apex/log logger.
2022-09-16 16:47:36 +08:00
Xun Jiang
d134783282
Clarify the help message for the default value of parameter --snapshot-volumes, when it's not set.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-09-16 16:03:05 +08:00
Scott Seago
e3e2a8dfa0
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 <sseago@redhat.com >
2022-09-15 11:15:30 -04:00
Scott Seago
4262b47536
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 <sseago@redhat.com >
2022-09-15 11:15:30 -04:00
Xun Jiang/Bruce Jiang
a05fc498b1
Merge pull request #5291 from cleverhu/add-shorthand-for-labels-columns
...
Add shorthand for labels columns
2022-09-15 11:24:06 +08:00
Wenkai Yin(尹文开)
4b9dbfa416
Support pause/unpause schedules
...
Support pause/unpause schedule
Fixes #2363
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-09-15 10:42:48 +08:00
Tiger Kaovilai
2c759f395a
cancel downloadRequest checkFunc if timeout passed
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2022-09-14 14:13:09 -04:00
lyndon
100d6b4430
Merge pull request #5319 from Lyndon-Li/issue-fix-4874
...
Issue fix 4874 and 4752
2022-09-14 11:04:56 +08:00
Lyndon-Li
fbb2606102
issue fix 4874 update
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-13 11:15:52 +08:00
Shubham Pampattiwar
be40d7eb19
Merge pull request #4864 from sseago/vsl-creds-main
...
Add credentials to volume snapshot locations.
2022-09-12 09:56:49 -04:00
lyndon
30a70cbd0d
Merge branch 'vmware-tanzu:main' into issue-fix-4874
2022-09-09 09:20:38 +08:00
Scott Seago
596114b427
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 <sseago@redhat.com >
2022-09-08 08:59:17 -04:00
Lyndon-Li
8496b43e37
refactor repo ensurer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-08 16:10:51 +08:00
Lyndon-Li
a12024887f
fix issue 4874
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-07 21:44:45 +08:00
Xun Jiang
b49e39c021
Remove github.com/apex/log logger.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-09-07 08:52:16 +08:00
cleverhu
067a3ec03a
change CSISnapshotTimeout from point to normal var
...
Signed-off-by: cleverhu <shouping.hu@daocloud.io >
2022-09-07 01:30:47 +08:00
cleverhu
5e6111e6c0
add shorthand for labels columns
...
Signed-off-by: cleverhu <shouping.hu@daocloud.io >
2022-09-06 20:14:13 +08:00
Daniel Jiang
c7bd2b9c02
Merge pull request #5252 from cleverhu/add-csiSnapshotTimeout-for-describe
...
add CSISnapshotTimeout for describe backup
2022-09-05 14:44:36 +08:00
lyndon
0282e65221
Kopia Pod Volume Backup/Restore ( #5259 )
...
* kopia pvbr
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-05 10:29:30 +08:00
lyndon
5f1bf9eb35
Merge pull request #5214 from qiuming-best/uploader-restic
...
Uploader Implementation: Restic backup and restore
2022-09-02 11:11:38 +08:00
Xun Jiang/Bruce Jiang
6fea973c57
Migrate backup sync controller from code-generator to kubebuilder ( #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 <blackpiglet@gmail.com >
* Add Option for PeriodicalEnqueueSource.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Co-authored-by: Xun Jiang <blackpiglet@gmail.com >
2022-08-30 16:55:39 +08:00
Xun Jiang/Bruce Jiang
4bc3a3a784
Merge pull request #5248 from allenxu404/gc-freq
...
equip gc controller with configurable frequency
2022-08-30 11:12:12 +08:00
allenxu404
a8ba4875f0
equip gc controller with configurable frequency
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2022-08-30 10:13:06 +08:00
Xun Jiang/Bruce Jiang
eaf9fab711
Merge branch 'main' into update_enabled_runtime_controllers
2022-08-29 20:06:31 +08:00
Ming
ed71e65486
Merge branch 'main' of https://github.com/qiuming-best/velero into uploader-restic
2022-08-29 11:33:59 +00:00
Ming
f15757a3d8
Uploader Implementation: Restic backup and restore
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-08-29 09:33:37 +00:00