Daniel Jiang
bed10c7fe6
Fix the problems found by codespell
...
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-05-24 13:32:54 +08:00
Xun Jiang
a91d2cb036
Modify the volume helper logic.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-05-23 09:57:21 +08:00
piny940
8b6c89cd4e
Fix backup log to show error string, not index
...
Signed-off-by: piny940 <83708535+piny940@users.noreply.github.com >
2024-05-18 11:00:47 +09:00
Tiger Kaovilai
3c937d42dd
ignore .git dir when formatting
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-05-10 14:12:29 -04:00
Tiger Kaovilai
e1bef5b6c2
Add existingResourcePolicy restore CR validation to controller.
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-05-01 11:39:03 -04:00
Ming Qiu
5eae542762
Fix maintenance job launched immediately after prune error
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-04-26 09:50:59 +00:00
Daniel Jiang
f04fbbcc41
Merge pull request #7687 from reasonerjt/restore-desc-vol-info
...
Display CSI snapshot restores in restore describe
2024-04-17 15:39:55 +08:00
Daniel Jiang
2197cab3db
Display CSI snapshot restores in restore describe
...
This commit makes change to CLI so `velero restore describe` will
download restore volume info and render the CSI snapshot restores based
on its content.
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-04-16 17:08:05 +08:00
allenxu404
28552258ae
Wait for results of restore exec hook executions in Finalizing phase instead of InProgress phase
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2024-04-15 17:49:36 +08:00
Wenkai Yin(尹文开)
3c377bc3ec
Merge pull request #7630 from reasonerjt/restore-vol-info
...
Track and persist restore volume info
2024-04-12 11:24:05 +08:00
Xun Jiang/Bruce Jiang
f25c154709
Merge pull request #7569 from ywk253100/240326_namespace
...
Check the existence of the namespaces provided in the "--include-namespaces" option
2024-04-11 19:00:33 +08:00
Daniel Jiang
0a280e5786
Track and persist restore volume info
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2024-04-11 17:32:18 +08:00
Xun Jiang/Bruce Jiang
8df4e6aded
Merge branch 'main' into merge_csi
...
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
2024-04-10 18:54:16 +08:00
Xun Jiang/Bruce Jiang
7935236db0
Merge pull request #7584 from mmorel-35/json-patch/v5
...
build(deps): bump json-patch to v5.8.0
2024-04-10 18:40:16 +08:00
Xun Jiang
31e140919a
Merge CSI plugin code.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-10 14:53:29 +08:00
Ming Qiu
a2c1a5a113
Fix cancel bug && adjust StartTimestamp for data mover
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-04-03 02:21:26 +00:00
qiuming
3465e8cddf
Merge pull request #7558 from qiuming-best/uploader-fast-fail
...
Fix snapshot leak for backup
2024-04-01 15:24:34 +08:00
Xun Jiang/Bruce Jiang
75962653c5
Merge pull request #7554 from blackpiglet/7357_fix
...
Support update the backup VolumeInfos by the Async ops result.
2024-04-01 11:05:33 +08:00
Ming Qiu
3d5282e12b
Fix snapshot leak for backup
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-04-01 03:02:24 +00:00
Matthieu MOREL
a9085033b2
build(deps): bump json-patch to v5.8.0
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-29 14:08:33 +00:00
Matthieu MOREL
3d6dab0708
lint(ginkgolinter): expect (not)to HaveOccurred ( #7565 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-29 10:05:48 -04:00
lyndon-li
67bd694d1b
Merge pull request #7437 from Lyndon-Li/issue-fix-7036
...
Issue 7036: node selection for data mover backup
2024-03-29 17:04:40 +08:00
Xun Jiang
5462035469
Delete the unneeded pvRestorer action in
...
handleSkippedPVHasRetainPolicy
According to comment, calling executePVAction aims to reset PV's
claimRef, but the reset logic was moved into resetVolumeBindingInfo
since release-1.4.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-29 14:12:12 +08:00
Xun Jiang
b06d7a467f
Support update the backup VolumeInfos by the Async ops result.
...
1. Add PutBackupVolumeInfos method.
2. Add CompletionTimestamp in VolumeInfo.
3. Add Size in SnapshotDataMovementInfo.
4. Update CompletionTimpstmap, SnapshotHandle, RetainedSnapshot
and Size in VolumeInfo on DataUpload Operation completes.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-28 19:52:44 +08:00
Xun Jiang/Bruce Jiang
d640cc16ab
Merge pull request #7573 from mmorel-35/golangci-lint-exclude-rules
...
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
2024-03-28 16:39:40 +08:00
qiuming
e80bdcf2e2
Merge pull request #7451 from qiuming-best/maintenance-job
...
Add repository maintenance job
2024-03-28 14:47:15 +08:00
Ming Qiu
8d63c76c92
Add maintenance job
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-03-28 03:22:06 +00:00
Matthieu MOREL
ef04ef6361
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 20:17:34 +00:00
Matthieu MOREL
3c704ba1b1
linter(testifylint): use Len or Empty for arrays testing ( #7555 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 14:16:58 -04:00
Wenkai Yin(尹文开)
35d2534e19
Check the existence of the namespaces provided in the "--include-namespaces" option
...
Check the existence of the namespaces provided in the "--include-namespaces" opt
ion and reports validation error if not found
Fixes #7431
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-27 18:37:03 +08:00
lyndon-li
a2c87fc8b2
Merge pull request #7438 from Lyndon-Li/batch-delete-snapshot
...
Issue 7281: batch delete snapshot
2024-03-27 13:31:07 +08:00
Lyndon-Li
d538fc87ad
batch delete snapshot
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-03-27 11:21:51 +08:00
Xun Jiang
efb94ae610
Refactor the native snapshot definition code.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-20 15:38:07 +08:00
allenxu404
67b5e82d49
Patch newly dynamically provisioned PV with volume info to restore custom setting of PV
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2024-03-18 17:32:35 +08:00
Wenkai Yin(尹文开)
79e9e31d8d
Merge pull request #7489 from ywk253100/240229_lib
...
Bump up the versions of several Kubernetes-related libs
2024-03-12 16:12:56 +08:00
Wenkai Yin(尹文开)
8752c3a820
Bump up the versions of severel Kubernetes-related libs
...
Bump up the versions of severel Kubernetes-related libs
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-05 13:09:38 +08:00
allenxu404
2b8bb871d3
Add the finalization phase to the restore workflow
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2024-02-29 13:51:45 +08:00
Lyndon-Li
e1bcdf0f63
issue 7308: change the data path requeue time to 5 second
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-22 10:10:33 +08:00
Lyndon-Li
57879357fc
Merge branch 'main' into batch-delete-snapshot
2024-02-18 14:54:01 +08:00
Lyndon-Li
32d92ca964
batch delete snapshot
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-18 14:49:21 +08:00
Lyndon-Li
7bf7fb9fc1
issue 7036: fail early by peek expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-18 14:34:35 +08:00
Tiger Kaovilai
a5c72a4866
BackupRepositories associated with a BSL are invalidated when BSL is (re-)created. ( #7380 )
...
* Add BackupRepositories invalidation on BSL Create
Simplify comments
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
* Simplify
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
---------
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-06 10:13:30 -05:00
Lyndon-Li
9a907a21f2
issue-7036:data mover load affinties
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-05 14:13:10 +08:00
Karthick Udayakumar
198fbf6873
fix typo maintenance of log message
...
Signed-off-by: Karthick Udayakumar <kudayakumar@vmware.com >
2024-01-17 22:30:41 -05:00
Xun Jiang/Bruce Jiang
cbe5a36a3c
Merge pull request #7254 from learner0810/reduce-backup-deepCopy
...
Returns directly when backup status is BackupPhaseFailedValidation No need for DeepCopy
2024-01-17 21:41:24 +08:00
Lyndon-Li
200fd80448
isue 6928: remove snapshot deletion timeout for PVB
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-01-08 11:28:23 +08:00
zhongjun.li
8e4cefbb0d
Reduce backup DeepCopy
...
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io >
2024-01-02 11:34:40 +08:00
Ming Qiu
7d2be128ae
Move velero server side default backup location setting logic to server startup
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-12-19 05:43:29 +00:00
Shubham Pampattiwar
ea6c8ca127
fix finalizer typo in logs ( #7204 )
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2023-12-13 11:46:21 -05:00
Shubham Pampattiwar
2bd9bf2903
Merge pull request #7076 from shubham-pampattiwar/update-backup-log
...
Update backup log to reflect appropriate backup phase
2023-12-11 12:49:06 -08:00