Lyndon-Li
cb651d0436
issue 7068: add a finalizer to protect retained VSC
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-14 10:18:07 +08:00
Wenkai Yin(尹文开)
84c96047b9
Skip syncing the backup which doesn't contain backup metadata
...
Skip syncing the backup which doesn't contain backup metadata
Fixes #6849
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-11-10 10:22:27 +08:00
Lyndon-Li
2841be7681
Merge branch 'main' into issue-fix-6693
2023-11-10 10:04:27 +08:00
Xun Jiang/Bruce Jiang
cb5ffe2753
Merge pull request #7061 from blackpiglet/6595_backward_compatability
...
Add DataUpload Result and CSI VolumeSnapshot check for restore PV.
2023-11-10 09:37:19 +08:00
Lyndon-Li
873197ff50
issue 6693: partially fail restore if CSI snapshot is involved but CSI feature is not ready
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-09 17:37:23 +08:00
qiuming
76e89f7dc5
Merge pull request #7059 from Lyndon-Li/issue-fix-6663
...
Issue 6663: changes for configurable data path concurrency
2023-11-09 14:37:28 +08:00
Lyndon-Li
c638ca557e
Merge branch 'main' into issue-fix-6663
2023-11-08 10:45:40 +08:00
Wenkai Yin(尹文开)
5a10f9090a
Truncate the credential file to avoid the change of secret content messing it up
...
Truncate the credential file to avoid the change of secret content messing it up
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-11-08 09:33:56 +08:00
Wenkai Yin(尹文开)
866fbb5cdb
Merge pull request #6950 from Lyndon-Li/issue-fix-6663-design
...
Design for node-agent concurrency
2023-11-08 09:04:05 +08:00
lou
ebb21303ab
add changelog
...
Signed-off-by: lou <alex1988@outlook.com >
2023-11-07 19:50:35 +08:00
Xun Jiang
1fb0529d98
Add DataUpload Result and CSI VolumeSnapshot check for restore PV.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-06 22:40:03 +08:00
Lyndon-Li
262f10ff49
Merge branch 'main' into issue-fix-6663
2023-11-06 16:52:41 +08:00
Lyndon-Li
04a9851ee9
configurable data path concurrency: all in cm
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-06 16:46:13 +08:00
Anshul Ahuja
6b7ce6655d
Merge pull request #7022 from allenxu404/i6721
...
Fix inconsistent behavior of Backup and Restore hook execution
2023-11-06 14:01:30 +05:30
Xun Jiang
56b5e982d9
Remove dependency of generated client part 3
...
Replace generated discovery client with client-go client.
Remove generated client from PVR action.
Remove generated client from pkg/cmd directory.
Delete velero generate client from client factory.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-06 11:34:39 +08:00
lyndon
d6146ecff4
Merge pull request #7041 from blackpiglet/6190_part_2
...
Remove dependency of generated client part 2
2023-11-03 17:43:10 +08:00
Xun Jiang
a221a88945
Remove dependency of generated client part 2
...
Remove dependecy of generate client from pkg/cmd/cli/snapshotLocation.
Remove the Velero generated informer from PVB and PVR.
Remove dependency of generated client from pkg/podvolume directory.
Replace generated codec with runtime codec.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-03 17:11:36 +08:00
Tiger Kaovilai
6896a1ffe4
update changelog to reflect removed waits
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-02 16:22:30 -04:00
Tiger Kaovilai
10245b05de
restore: Use warning when Create IsAlreadyExist and Get error ( #7004 )
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-02 15:53:47 -04:00
Tiger Kaovilai
9311a4269b
refactor backup snapshot status updates into UpdateBackupSnapshotsStatus() and run in backup_finalizer_controller
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-02 15:30:35 -04:00
allenxu404
3a3527553a
Fix inconsistent behavior of Backup and Restore hook execution
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-11-02 12:31:53 +08:00
lyndon
166a58bddc
Merge pull request #6962 from blackpiglet/6595_design
...
Add the PV backup information design document.
2023-11-02 10:50:56 +08:00
Wenkai Yin(尹文开)
73c948d6bd
Merge pull request #6917 from 27149chen/rm-improvement
...
support JSON Merge Patch and Strategic Merge Patch in Resource Modifiers
2023-11-02 10:36:40 +08:00
Xun Jiang
23b9484370
Add the PV backup information design document.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-02 10:14:16 +08:00
Lyndon-Li
a0edad94db
design for node-agent concurrency
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-01 11:35:06 +08:00
qiuming
38e1ae0405
Merge pull request #7034 from ywk253100/231030_cred
...
Read information from the credential specified by BSL
2023-11-01 09:41:25 +08:00
Lyndon-Li
8e442407c3
issue 7027: backup exposer -- don't assume first volume as the backup volume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-31 12:11:34 +08:00
Shubham Pampattiwar
03e582cb6c
Merge pull request #6995 from kaovilai/kopias3profilecred
...
kopia/repository/config/aws.go: Set session.Options profile from config
2023-10-30 09:11:15 -07:00
Wenkai Yin(尹文开)
49a85e1636
Read information from the credential specified by BSL
...
Read information from the credential specified by BSL
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-10-30 17:28:10 +08:00
Jeffrey Koehler
929af4f734
Add check for owner reference in backup sync, removing if missing
...
Signed-off-by: Jeffrey Koehler <koehler@streem.tech >
2023-10-29 22:06:14 -05:00
Shubham Pampattiwar
23921e5d29
add description markers for dataupload and datadownload CRDs ( #7028 )
...
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2023-10-27 11:05:10 -04:00
Xun Jiang/Bruce Jiang
9ff4b1e079
Merge pull request #7026 from blackpiglet/6376_fix
...
Add HealthCheckNodePort deletion logic in Serivce restore
2023-10-27 16:40:04 +08:00
Xun Jiang
a94918026c
Add HealthCheckNodePort deletion logic in Service restore.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-27 14:13:52 +08:00
Shubham Pampattiwar
1e0fc77e4d
Fix issue 6913 ( #6914 )
...
add changelog file
keep canceling phase const
fix data download as well
address PR feedback
minor fixes
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2023-10-26 09:39:38 -04:00
Ming
481cb60493
Make Kopia file parallelism configurable
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-10-26 02:28:36 +00:00
Xun Jiang/Bruce Jiang
45ed3bf613
Record platform limitation of the Kopia block mode uploader in docs. ( #7013 )
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-25 19:43:46 +05:30
lyndon
30bf6bd28c
Merge pull request #7011 from Lyndon-Li/issue-fix-6964-2
...
Issue 6964: use preparingTimeout for snapshot readiness wait
2023-10-25 11:11:27 +08:00
Lyndon-Li
0eade6c615
issue 6964: use preparingTimeout for snapshot readiness wait
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-25 10:51:08 +08:00
Tiger Kaovilai
d5f238c83c
kopia/repository/config/aws.go: Set session.Options profile from config
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-10-24 14:05:47 -04:00
Daniel Jiang
941dd0039f
Merge pull request #6968 from blackpiglet/6585_fix
...
Check whether the action is a CSI action and whether CSI feature is
2023-10-25 00:39:58 +08:00
Daniel Jiang
317db25d20
Merge pull request #6923 from reasonerjt/aws-sdk-v2
...
Bump up aws sdk to aws-sdk-go-v2
2023-10-24 23:53:16 +08:00
Daniel Jiang
b71d2b3898
Bump up aws sdk to aws-sdk-go-v2
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-10-24 17:01:26 +08:00
Wenkai Yin(尹文开)
61d333a31a
Merge pull request #6989 from blackpiglet/support_windows_build_main
...
[cherry-pick][main]Make Windows build skip BlockMode code.
2023-10-24 16:58:03 +08:00
Xun Jiang
908e2c63ba
Check whether the action is a CSI action and whether CSI feature is
...
enabled, before executing the action.
The DeleteItemAction is not checked, because the DIA doesn't have a
method to get the action's plugin name.
This should be OK, because the CSI will check whether the VS and VSC
have a backup name annotation. If the VS and VSC is not handled by
the CSI plugin, then they don't have the annotation.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-24 16:54:38 +08:00
Lyndon-Li
d3a1a83c6d
bump to kopia 0.15.0
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-23 12:03:21 +08:00
Lyndon-Li
3d841dd8f1
udmrepo use region specified in BSL when s3URL is empty
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-20 19:58:54 +08:00
Xun Jiang
ecc6e1621e
Make Windows build skip BlockMode code.
...
PVC block mode backup and restore introduced some OS specific
system calls. Those calls are not available for Windows, so
add both non Windows version and Windows version code, and
return error for block mode on the Windows platform.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-20 19:39:44 +08:00
Xun Jiang
79c75718ca
Change controller-runtime List option from MatchingFields to ListOptions.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-19 17:09:12 +08:00
qiuming
fd8350f919
Merge pull request #6976 from Lyndon-Li/issue-fix-6964
...
Issue 6964: get volume size from source PVC if it is invalid in VS
2023-10-19 13:53:57 +08:00
Lyndon-Li
329c128279
issue 6964: get volume size from source PVC if it is invalid in VS
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-19 11:50:28 +08:00