Commit Graph

4105 Commits

Author SHA1 Message Date
lyndon
905cd43140 Merge pull request #6986 from blackpiglet/support_windows_build
Add both non-Windows version and Windows version code for PVC block mode logic
2023-10-20 19:37:05 +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
Xun Jiang/Bruce Jiang
353ff55e42 Merge pull request #6984 from allenxu404/release-1.12
Add v1.12.1 changelog
2023-10-20 12:00:11 +08:00
allenxu404
468017d7db Add v1.12.1 changelog
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-10-20 11:18:27 +08:00
lyndon
6bf705fd25 Merge pull request #6970 from ywk253100/231018_auth
[cherry-pick]Import auth provider plugins
2023-10-18 16:48:58 +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
lyndon
ef1b9816b2 Merge pull request #6943 from sseago/retry-generateName1.12
[release-1.12]: CP issue #6807: Retry failed create when using generateName
2023-10-16 11:09:21 +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
Wenkai Yin(尹文开)
b498847b5b Merge pull request #6951 from blackpiglet/fix_CVE-2023-39325
Fix CVE-2023-39325.
2023-10-13 18:22:45 +08:00
Xun Jiang
af9697814e Fix CVE-2023-39325.
Bump Velero and Restic golang.org/x/net to v0.17.0.
Bump golang version to v1.20.10.

Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-10-13 14:22:18 +08:00
lyndon
d92a051795 Merge pull request #6948 from sseago/restore-get-perf1.12
[release-1.120: CP Perf improvements for existing resource restore
2023-10-13 08:13:50 +08: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
Shubham Pampattiwar
c1ace31466 Merge pull request #6940 from Lyndon-Li/release-1.12
[1.12] Issue 6647: add default-snapshot-move-data parameter to Velero install
2023-10-11 08:54:35 -07:00
Lyndon-Li
8bf98e8895 fix issue 6647
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-10-11 17:43:38 +08:00
Xun Jiang/Bruce Jiang
e53cfdf85e Merge pull request #6887 from allenxu404/release-1.12
Add docs link for new features to release note
2023-10-10 16:55:30 +08:00
allenxu404
d93cc9094a Add doc links for new features to release note
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-10-10 16:05:11 +08:00
lyndon
15dd67e203 Merge pull request #6935 from Lyndon-Li/release-1.12
[1.12] Issue 6734: spread backup pod evenly
2023-10-10 11:41:37 +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
Wenkai Yin(尹文开)
17b495fcfd Merge pull request #6934 from ywk253100/231010_image
[cherry-pick]Replace the base image with paketobuildpacks image
2023-10-10 10:32:14 +08:00
Wenkai Yin(尹文开)
b99a59480d Replace the base image with paketobuildpacks image
Replace the base image with paketobuildpacks image

Fixes #6851

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-10-10 09:38:54 +08:00
qiuming
a789976a03 Merge pull request #6925 from qiuming-best/target-v1.12.1
[Cherry-pick v1.12]Keep the logs info ns/name same with other modules
2023-10-08 11:23:52 +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
Xun Jiang/Bruce Jiang
175047baa9 Merge pull request #6912 from blackpiglet/6750_cherry_pick
[cherry-pick][release-1.12]Code clean for backup cmd client. (#6750)
2023-10-08 11:05:06 +08: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
Shubham Pampattiwar
554403df5c Merge pull request #6713 from kaovilai/jobs-label-k8s1.27-velero1.12
release-1.12: On restore, delete Kubernetes 1.27 job controller uid label
2023-09-29 11:49:32 -07: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
3a410c9f04 changelog
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
Shubham Pampattiwar
9d5dd8e09d Merge pull request #6899 from sseago/pvb-start-logs
[release-1.12] cherry-pick Fix some wrong logs and code clean.
2023-09-29 09:27:01 -07: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
Xun Jiang/Bruce Jiang
83f892d81f Add go clean in Dockerfile and action. (#6896)
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-09-28 10:20:48 -04:00
Wenkai Yin(尹文开)
2cd15f1e4b Merge pull request #6892 from reasonerjt/cp-6768-1.12
[Cherry-pick v1.12] code clean for repository (#6768)
2023-09-28 17:56:59 +08: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
e4c2b2b157 Merge pull request #6886 from Lyndon-Li/release-1.12
[1.12] Issue 6880: set ParallelUploadAboveSize as MaxInt64
2023-09-28 15:15:53 +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
Wenkai Yin(尹文开)
a097094bcf Merge pull request #6881 from ywk253100/230927_cherry_pick
Add 'orLabelSelector' for backup, restore command
2023-09-28 07:21:13 +08:00
Wenkai Yin(尹文开)
bc4dc6c0c8 Rename the changelog
Rename the changelog

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-09-27 20:16:48 +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
08d44b02a8 Merge pull request #6877 from Lyndon-Li/release-1.12
[1.12] Issue: 6859 move plugin depdending podvolume functions to util pkg
2023-09-27 17:46: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
0623ac363a Merge pull request #6873 from Lyndon-Li/release-1.12
[1.12] Issue 6786:always delete VSC regardless of the deletion policy
2023-09-26 20:56:50 +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
Xun Jiang/Bruce Jiang
7112c62e49 Merge pull request #6842 from allenxu404/release-1.12
Modify changelogs for v1.12
v1.12.0-rc.2 v1.12.0
2023-09-19 17:53:28 +08:00
allenxu404
dcb891a307 Modify changelogs for v1.12
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-09-19 17:36:36 +08:00
lyndon
21353f00a8 Merge pull request #6841 from Lyndon-Li/release-1.12
[1.12] Doc for multiple snapshot class
2023-09-19 16:45:26 +08:00
Lyndon-Li
5e7114899b doc for multiple snapshot class
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-09-19 16:28:28 +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
lyndon
9eb133e635 Merge pull request #6821 from reasonerjt/update-kopia-repo-1.12
[cherrypick-1.12]Switch the kopia repo to new org
2023-09-14 11:53:12 +08:00