Lyndon-Li
b00633976b
Merge branch 'main' into issue-fix-6341
2023-06-15 10:11:47 +08:00
lyndon
6bbdc846ff
Merge pull request #6357 from Lyndon-Li/data-mover-restore-expose-03
...
Data mover restore expose
2023-06-15 09:48:17 +08:00
Shubham Pampattiwar
57bcd8c8dc
Merge pull request #6298 from shubham-pampattiwar/add-default-values
...
Add default values for defaultItemOperationTimeout and itemOperationSyncFrequency in velero CLI
2023-06-13 23:14:14 -07:00
qiuming
78025a09b6
Add UT for uploader ( #6374 )
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-06-13 16:58:47 +08:00
lyndon
8cd55d1826
Merge pull request #6383 from Lyndon-Li/data-mover-backup-smoke-testing
...
Data mover backup smoke testing
2023-06-13 11:13:14 +08:00
Shubham Pampattiwar
c86018a0f8
Merge pull request #6377 from blackpiglet/add_warning_in_volume_snapshotter_for_data_mover
...
Add warning message for volume snapshotter in data mover case.
2023-06-12 06:12:45 -07:00
Xun Jiang
a5c28ad423
Add warning message for volume snapshotter in data mover case.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-06-12 17:57:01 +08:00
Lyndon-Li
f781e255c6
data mover smoke testing
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-12 15:30:06 +08:00
lyndon
7fe4dfe17a
Merge pull request #6367 from Harshad112/patch-1
...
Improve README.md
2023-06-12 14:32:58 +08:00
Efim Smykov
aed8c8ec1b
Fix typos related to Delete Item Action plugin type ( #6333 )
...
Signed-off-by: Nutrymaco <efim7299@icloud.com>
2023-06-09 15:44:03 +08:00
Nir Soffer
d90ca5928c
examples: Label the deployment to get it backed up ( #6348 )
...
Following the examples instructions[1], the nginx-deployment is not
backed up or restored. Add a label to the deployment so it will be
backed up and restored.
Similar change is needed for `examples/nginx-app/with-pv.yaml` but I did
not try that example.
[1] https://velero.io/docs/v1.11/contributions/minio/
Fixes #6347
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
2023-06-09 15:42:04 +08:00
Wenkai Yin(尹文开)
89c10ddcc0
Update metrics when backup failed with validation error ( #6318 )
...
Update metrics when backup failed with validation error
Fixes #6265
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-06-09 11:19:26 +08:00
danfengliu
114193ae3b
add ut for pkg client factory ( #6371 )
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-06-09 09:59:19 +08:00
lyndon
5a4f2abd4f
Merge pull request #6330 from wawa0210/enhance-change-image-log
...
[triviy] Enhanced log output when image replace action
2023-06-09 09:58:49 +08:00
Xun Jiang/Bruce Jiang
9743a7ce56
Fix #6118 : Do not persist VolumeSnapshot and VolumeSnapshotContent for snapshot DataMover case. ( #6366 )
...
1. Because VolumeSnapshot and VolumeSnapshotContent CRs are not kept after backup completed,
don't persist them in the backup metadata.
2. Add some builder methods needed by CSI plugin.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-06-08 17:05:17 +08:00
danfengliu
d7181fba55
Merge pull request #6323 from blackpiglet/psa_violation_fix_release_main
...
[main]Make the E2E testing pods obey the restricted pod security standard.
2023-06-08 15:16:11 +08:00
danfengliu
d2852a2bc2
Merge pull request #6370 from Lyndon-Li/issue-fix-6144
...
Change kopia as the default path of PVB
2023-06-08 14:34:40 +08:00
Lyndon-Li
217b1dd066
add UT for pkg/util
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-08 14:00:58 +08:00
Lyndon-Li
7175283b19
change kopia as the default path of PVB
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-08 13:57:24 +08:00
lyndon
b2f2ba0d0a
Merge pull request #6365 from ywk253100/230607_cli
...
Add data mover related options in CLI
2023-06-08 09:28:34 +08:00
Harshad Yelpale
151b9aab26
Improve README.md
...
just added words to the new line so we get suboptions as fast
Signed-off-by: Harshad Yelpale <94516714+Harshad112@users.noreply.github.com>
2023-06-08 00:02:12 +05:30
danfengliu
99513583df
Add ut for pkg/client/config ( #6364 )
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-06-07 17:36:45 +08:00
Wenkai Yin(尹文开)
9f2f563568
Add data mover related options in CLI
...
Add data mover related options in CLI
Fixes #6128
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-06-07 16:34:40 +08:00
Xun Jiang/Bruce Jiang
4227a824cd
Merge pull request #6327 from blackpiglet/6099_fix
...
Remove Wait VolumeSnapshot to ReadyToUse logic.
2023-06-07 14:56:26 +08:00
Xun Jiang/Bruce Jiang
ad8f69bcb1
Merge pull request #6337 from qiuming-best/data-upload-controller
...
Data upload controller
2023-06-07 11:32:23 +08:00
danfengliu
d1a935e3b1
Merge pull request #6363 from danfengliu/add-ut-for-pkg-client
...
add ut for pkg/client
2023-06-07 11:04:36 +08:00
danfengl
98ee5add04
add ut for pkg/client
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-06-07 02:36:32 +00:00
Lyndon-Li
2ea6ffb63f
data mover restore expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-06 16:14:58 +08:00
Shubham Pampattiwar
2aaa85bc58
add default values for defaultItemOperationTimeout and itemOperationSyncFrequency in velero CLI
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
add changelog
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
update default value for itemOperationsSyncFrequency
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2023-06-06 00:25:08 -07:00
Ming
b3e99a7eb2
Add Dataupload controller
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-06-06 05:46:38 +00:00
qiuming
a015caced9
Merge pull request #6351 from ywk253100/230602_ut_install
...
Improve the unit test coverage for pkg/install
2023-06-06 13:28:32 +08:00
lyndon
243dd05ced
Merge pull request #6356 from Lyndon-Li/fix-main-CI-failure
...
Fix main CI failure
2023-06-06 10:36:49 +08:00
Lyndon-Li
8bfd6359f5
fix main CI failure
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-06 09:58:58 +08:00
Wenkai Yin(尹文开)
914ccdf4c6
Improve the unit test coverage of pkg/cmd/server package ( #6342 )
...
Improve the unit test coverage of pkg/cmd/server package
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-06-05 23:15:24 +08:00
lyndon
ebe064f693
Merge pull request #6336 from Lyndon-Li/issue-fix-6255
...
Fix issue 6255
2023-06-05 21:44:17 +08:00
Daniel Jiang
358f388030
Merge pull request #6331 from ywk253100/230531_ut_flag
...
Add unit test cases for pkg/cmd/util/flag package
2023-06-05 14:20:07 +08:00
lyndon
c8071986b3
Merge pull request #6332 from danfengliu/prepare-for-dm-test
...
Prepare E2E test of data movement feature and other fixes
2023-06-05 11:19:31 +08:00
Wenkai Yin(尹文开)
2d6f4e5462
Improve the unit test coverage for pkg/install
...
Improve the unit test coverage for pkg/install
Fixes #6339
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-06-05 10:57:43 +08:00
danfengl
028e784eb6
Prepare E2E test of data movement feature
...
1. Bumpup velero version to the latest 2 versions in upgrade script;
2. Bumpup velero verioin to the latest 1 vesion in migration script;
3. Bring B/R with restic test back in vSphere pipeline since vSphere plugin issue fix was included
in v1.5;
4. Disable nodeport test in AWS pipeline since AWS k8s version bumpup;
5. Prepare for data mover test, allow object store provider diffrent from cloud provider.
Signed-off-by: danfengl <danfengl@vmware.com>
2023-06-05 01:49:08 +00:00
Lyndon-Li
45d7cc9783
fix issue 6255
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-02 16:11:23 +08:00
Xun Jiang
7491ab1ec5
Remove Wait VolumeSnapshot to ReadyToUse logic.
...
Due to the logic moving to plugin, and the plugin cannot read the
Velero server's resourceTimeout setting, add the resourceTimeout
in the backup annotation to pass to plugin.
Remove VolumeSnapshotContent reset code from Velero server.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-06-02 14:43:43 +08:00
lyndon
8427a9fdb3
Merge pull request #6308 from Lyndon-Li/data-mover-backup-expose-02
...
Data mover backup expose
2023-06-02 12:07:37 +08:00
Lyndon-Li
25624d3030
data mover backup expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-02 11:51:36 +08:00
Xun Jiang/Bruce Jiang
80db04e08b
Merge pull request #6320 from blackpiglet/6302-fix
...
Include namespace resource needed by namespaced-scope resource in backup
2023-06-02 09:46:59 +08:00
Xun Jiang
8766a4dbd4
Make namespace resource doesn't honor label selector filters anymore.
...
For some use cases, namespaced-scope resources are inluded into backup,
but the namespaces are not included due to filters setting.
To do this, removing label selector filter from namespace resource.
Namespace resource only honor namespace exclude/include filters.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-06-01 16:59:18 +08:00
lyndon
59965af775
Merge pull request #6296 from Lyndon-Li/issue-fix-6258
...
Fix issue 6258
2023-06-01 16:03:52 +08:00
danfengliu
f689dc13e9
Merge pull request #6287 from qiuming-best/e2e-velero-installation
...
E2E velero installation optimization
2023-06-01 15:42:11 +08:00
Ming
2f6899e5a7
Optimize Velero install
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-06-01 07:09:38 +00:00
Lyndon-Li
7243efdb7c
fix issue 6258
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-01 14:27:10 +08:00
Wenkai Yin(尹文开)
e92047c43e
Add unit test cases for pkg/cmd/util/flag package
...
Add unit test cases for pkg/cmd/util/flag package
Fixes #6253
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-06-01 10:29:11 +08:00