Lyndon-Li
bb4f9094fd
issue 7027: backup exposer -- don't assume first volume as the backup volume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-06 16:59:34 +08:00
Tiger Kaovilai
7e35fd3261
restore: Use warning when Create IsAlreadyExist and Get error ( #7004 )
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-02 16:05:50 -04:00
Wenkai Yin(尹文开)
dd825ef8bb
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:29:43 +08:00
lyndon
36ad5dafa9
Merge branch 'release-1.12' into cp-fix-ducr-cancel
...
Signed-off-by: lyndon <98304688+Lyndon-Li@users.noreply.github.com >
2023-10-27 10:47:38 +08:00
Anshul Ahuja
7b76047596
Make configmapref check case insensitive ( #6804 ) ( #7023 )
...
* Make configmapref check case insensitive
* update resourcemodfier test case to validate case
---------
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
Co-authored-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-10-26 16:40:43 -04:00
Shubham Pampattiwar
f1fcec3514
Fix issue 6913
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
keep canceling phase const
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix data download as well
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
address PR feedback
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
minor fixes
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
(cherry picked from commit ee271b7b69 )
update changelog filename
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2023-10-26 07:50:58 -07:00
Tiger Kaovilai
72b5e7aad6
kopia/repository/config/aws.go: Set session.Options profile from config
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-10-24 21:51:07 -04:00
Lyndon-Li
10744ec516
udmrepo use region specified in BSL when s3URL is empty
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-20 20:14:01 +08:00
Xun Jiang
3034cdb448
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 17:44:38 +08:00
Sebastian Glab
7a909d8ff5
Import auth provider plugins
...
Signed-off-by: Sebastian Glab <sglab@catalogicsoftware.com >
2023-10-18 16:06:18 +08:00
Scott Seago
457fcc6893
issue #6807 : Retry failed create when using generateName
...
When creating resources with generateName, apimachinery
does not guarantee uniqueness when it appends the random
suffix to the generateName stub, so if it fails with
already exists error, we need to retry.
Signed-off-by: Scott Seago <sseago@redhat.com >
2023-10-13 10:29:46 -04:00
Scott Seago
a3cb39d62e
Perf improvements for existing resource restore
...
Use informer cache with dynamic client for Get calls on restore
When enabled, also make the Get call before create.
Add server and install parameter to allow disabling this feature,
but enable by default
Signed-off-by: Scott Seago <sseago@redhat.com >
2023-10-12 15:07:55 -04:00
Lyndon-Li
8bf98e8895
fix issue 6647
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-11 17:43:38 +08:00
Lyndon-Li
877592194b
issue 6734: spread backup pod evenly
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-10 11:04:04 +08:00
qiuming
52878de077
Merge branch 'release-1.12' into target-v1.12.1
2023-10-08 11:08:07 +08:00
yanggang
432a5fe566
[Cherry-pick v1.12]Keep the logs info ns/name is the same with other modules.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-10-08 03:07:43 +00:00
Yang Gang
0eaf14ed19
Code clean for backup cmd client. ( #6750 )
...
Address some code spell check errors.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-03 23:55:25 +08:00
David Zaninovic
c415fd4bcc
Add support for block volumes ( #6680 ) ( #6897 )
...
(cherry picked from commit 8e01d1b9be )
Signed-off-by: David Zaninovic <dzaninovic@catalogicsoftware.com >
2023-09-29 15:28:35 -04:00
Tiger Kaovilai
aba64ba151
Remove legacy label version check, to be added back when version is known
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-09-29 12:27:29 -04:00
Tiger Kaovilai
2f92f78be5
Handle 1.27 k8s job label changes
...
per 0e86fa5115/CHANGELOG/CHANGELOG-1.27.md (L1768)
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-09-29 12:27:29 -04:00
yanggang
6103073551
Fix some wrong logs and code clean.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-09-28 13:27:51 -04:00
Yang Gang (成都)
27a89df34d
code clean for repository ( #6768 )
...
Signed-off-by: Yang Gang (成都) <gang.yang@daocloud.io >
2023-09-28 16:51:22 +08:00
Lyndon-Li
edefe7a63b
issue 6880: set ParallelUploadAboveSize as MaxInt64
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-28 14:26:46 +08:00
Nilesh Akhade
343e54f1b8
Add 'orLabelSelector' for backup, restore command
...
Signed-off-by: Nilesh Akhade <nakhade@catalogicsoftware.com >
2023-09-27 20:13:48 +08:00
Lyndon-Li
a8c76a4a00
issue: move plugin depdending podvolume functions to util pkg
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-27 11:29:02 +08:00
Lyndon-Li
1aea12a80c
issue 6786:always delete VSC regardless of the deletion policy
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-26 15:53:05 +08:00
Wenkai Yin(尹文开)
b035680ce6
Set data mover related properties for schedule ( #6823 )
...
Set data mover related properties for schedule
Fixes #6820
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-14 18:04:48 +08:00
qiuming
b70b01cde9
Merge branch 'release-1.12' into finalizer-optimize
2023-09-12 15:00:58 +08:00
Anshul Ahuja
8b8a5a2bcc
use old namespace in resource modifier ( #6724 ) ( #6794 )
...
* use old namespace in resource modifier
* add changelog
* update docs
* updated after review
---------
Signed-off-by: lou <alex1988@outlook.com >
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
Co-authored-by: Guang Jiong Lou <7991675+27149chen@users.noreply.github.com >
Co-authored-by: Daniel Jiang <jiangd@vmware.com >
2023-09-12 14:54:03 +08:00
qiuming
5b36cd7e83
Merge branch 'release-1.12' into finalizer-optimize
2023-09-12 11:57:07 +08:00
Ming Qiu
3240fb196c
Optimize of removing finalizer no matter the dataupload datadownload cr is been deleted or not
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-09-12 11:55:44 +08:00
Lyndon-Li
9468b8cfa9
fix issue 6785
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-08 15:18:02 +08:00
Lyndon-Li
3733a40637
fix issue 6748
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-08 09:53:00 +08:00
Xun Jiang
4d1617470f
Fix #6752 : add namespace exclude check.
...
Add PSA audit and warn labels.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-09-06 15:28:17 +08:00
Lyndon-Li
040060082a
fix issue 6748
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-06 10:37:47 +08:00
Wenkai Yin(尹文开)
fc653bdfbe
Update restore controller logic for restore deletion ( #6761 )
...
1. Skip deleting the restore files from storage if the backup/BSL is not found
2. Allow deleting the restore files from storage even though the BSL is readonly
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-06 08:38:45 +08:00
Lyndon-Li
93995bfd00
fix issue 6753
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-05 10:44:58 +08:00
lyndon
41d9b67945
Merge branch 'release-1.12' into release-1.12-1
2023-09-01 18:22:05 +08:00
lyndon
40a94e39ad
Merge branch 'release-1.12' into release-1.12-1
2023-09-01 18:07:13 +08:00
lyndon
7ea0d434d6
Merge branch 'release-1.12' into release-1.12
2023-09-01 17:53:16 +08:00
Lyndon-Li
183f7ac154
fix issue 6733
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-01 17:30:52 +08:00
lyndon
75bda412a1
fix issue 6709 ( #6741 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-01 17:12:31 +08:00
Ming Qiu
a2eb10df8f
Fix kopia snapshot policy not work
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-09-01 16:34:02 +08:00
Guang Jiong Lou
45165503ba
add label selector in Resource Modifiers ( #6704 )
...
* add label selector in resource modifier
Signed-off-by: lou <alex1988@outlook.com >
* add ut
Signed-off-by: lou <alex1988@outlook.com >
* update after review
Signed-off-by: lou <alex1988@outlook.com >
* update after review
Signed-off-by: lou <alex1988@outlook.com >
---------
Signed-off-by: lou <alex1988@outlook.com >
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-08-31 10:52:03 +05:30
qiuming
53530130a5
Fix velero uninstall bug ( #6720 )
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-08-30 17:54:30 +08:00
Ming
28074e3f37
make velero uninstall backward compatible
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-08-28 09:31:29 +00:00
Ming
5480acf0a0
[CherryPick v1.12] Fix delete dataupload datadownload failure when Velero uninstall
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-08-25 03:24:40 +00:00
Daniel Jiang
e2d3e84bab
skip subresource in resource discovery ( #6688 )
...
Signed-off-by: lou <alex1988@outlook.com >
Co-authored-by: lou <alex1988@outlook.com >
2023-08-23 15:13:34 +08:00
Lyndon-Li
dac28084a3
issue fix 6662
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-08-17 11:35:18 +08:00
Anshul Ahuja
e753a08f85
E2E test for Resource Modifier & Bug fixes ( #6483 )
...
* Add resource modifier e2e test and bug fixes
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-08-16 11:09:59 +08:00