yanggang
1efd533d0d
Fix wrong logs in markDataDownloadsCancel() and add missiong license file.
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-10-19 14:04:41 +01: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
yanggang
069c280f03
Fix node-agent missing metrics-addr parms to define the server start.
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-10-13 03:33:18 +01:00
Shubham Pampattiwar
ad114f8f65
Merge pull request #6723 from sseago/restore-get-perf
2023-10-12 07:57:40 -07:00
Scott Seago
7750e12151
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-11 10:51:39 -04:00
Scott Seago
09be1f7995
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-09 17:38:37 -04:00
Yang Gang
fd67ecb688
Code clean for backup cmd client. ( #6750 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-09-29 12:23:12 -04:00
David Zaninovic
8e01d1b9be
Add support for block volumes ( #6680 )
...
Signed-off-by: David Zaninovic <dzaninovic@catalogicsoftware.com>
2023-09-28 09:44:46 -04:00
Wenkai Yin(尹文开)
563f1ccee1
Merge pull request #6475 from nilesh-akhade/main
...
Add `--or-selector` for backup and restore command
2023-09-27 20:09:07 +08:00
lyndon
b3df028e83
Merge pull request #6815 from AgustinRamiroDiaz/main
...
Typo: remove double space
2023-09-18 12:06:27 +08:00
Wenkai Yin(尹文开)
185a95585a
Set data mover related properties for schedule ( #6824 )
...
Set data mover related properties for schedule
Fixes #6820
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-09-14 18:14:06 +08:00
Agustín Díaz
ff45be6fdd
Typo: remove double space
...
Signed-off-by: Agustín Díaz <agustin.ramiro.diaz@gmail.com>
2023-09-13 10:46:28 -03:00
qiuming
8a366c6924
Merge pull request #6798 from yanggangtony/clean-some-code
...
Fix issue #6781 , and some code clean.
2023-09-12 14:56:27 +08:00
yanggang
c97b31363d
Fix some wrong logs and code clean.
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-09-11 13:38:32 +08:00
yanggang
76b6077683
Keep the logs info ns/name is the same with other modules.
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-09-06 18:40:10 +08:00
lyndon
8cb04d4f69
Merge pull request #6751 from Lyndon-Li/issue-fix-6647
...
Fix issue 6647
2023-09-06 09:03:00 +08:00
Lyndon-Li
778feba3ae
fix issue 6647
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-09-04 16:55:36 +08:00
Yang Gang (成都)
25898305ef
delete unused shcema package and parms. ( #6716 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-09-04 14:50:10 +08:00
qiuming
0e5022254f
[Cherry-pick Main] Fix velero uninstall bug ( #6729 )
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-08-31 16:15:24 +08:00
Ming
85d5785d68
[Cherry-Pick main] make velero uninstall backward compatible
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-08-29 01:07:41 +00:00
Ming
7f3b7fe853
Fix delete dataupload datadownload failure when Velero uninstall
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-08-24 03:30:28 +00: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
qiuming
411bd54920
Merge pull request #6616 from qiuming-best/add-accept-label
...
Fix data mover controller bugs
2023-08-15 12:04:31 +08:00
Ming Qiu
5485616abf
Fix data mover bugs #6550 #6563 #6600
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2023-08-14 08:37:19 +00:00
allenxu404
7a8a68d9e9
modify output for command of `restore delete`
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-08-09 15:58:31 +08:00
Qi Xu
5f463c59ec
add "Deleting" phase for restore display ( #6604 )
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-08-08 17:16:53 -04:00
Xun Jiang/Bruce Jiang
d027a1641d
Merge pull request #6591 from allenxu404/finalizer-enhance
...
Enhance uninstall and backup deletion for restore finalizer
2023-08-03 17:23:07 +08:00
allenxu404
846f0de178
enhance uninstall and backup deletion for restore finalizer
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-08-03 16:43:33 +08:00
lyndon
bb74c352fb
Merge pull request #6578 from Lyndon-Li/issue-fix-6560
...
Fix issue 6560
2023-08-03 14:55:09 +08:00
Lyndon-Li
7cf3559fab
fix issue 6560
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-08-01 21:37:51 +08:00
Yang Gang
16613f5fe1
Fix the velero crd define locations. ( #6554 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-07-31 15:58:07 +08:00
yanggang
2f20fac78b
Delete redundance checkNodeAgent code
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-07-28 16:16:26 +08:00
Xun Jiang/Bruce Jiang
f666667e5b
Merge pull request #6547 from reasonerjt/del-moved-snapshot
...
Delete moved snapshots when the backup is deleted
2023-07-27 15:10:33 +08:00
Daniel Jiang
b0a343cd48
Delete moved snapshots when the backup is deleted
...
This commit introduces a deleteItemAction which writes a temporary configmap to
record the snapshot info so that the controller can trigger repo manager
to remove the snapshot
This process is a bit chatty and we should consider to refactor the code
so it's easier to connect to the repo directly in the DIA
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-07-27 13:27:33 +08:00
allenxu404
6dbdc54dc7
check if restore crd exist before operating restore
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-07-25 18:54:42 +08:00
lyndon
9c8275eda7
Merge pull request #6533 from Lyndon-Li/data-mover-wrong-bsl-after-sync
...
Data mover wrong bsl after sync
2023-07-25 14:20:10 +08:00
Lyndon-Li
74bf03b272
data mover wrong bsl after sync
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-07-25 12:38:09 +08:00
Daniel Jiang
4379b9a025
Merge pull request #6532 from yanggangtony/fix-wrong-log-controller
...
Fix wrong log for server controller logs.
2023-07-24 14:32:48 +08:00
Mateus Oliveira
913b610196
fix: Typos and add more spell checking rules to CI ( #6415 )
...
* fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
---------
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
2023-07-21 17:25:24 -04:00
yanggang
970938c89a
Fix wrong log for server controller logs.
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-07-21 16:35:26 +08:00
qiuming
32262babc4
Merge pull request #6479 from allenxu404/i2697
...
add restore finalizer to clean up external resources
2023-07-20 19:07:02 +08:00
lyndon
b4181ef803
restict namespace to node-agent cache ( #6523 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-07-19 16:23:28 -04:00
allenxu404
0bb509ccdd
add restore finalizer to clean up external resources
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-07-19 18:56:35 +08:00
Nilesh Akhade
d9a7e2b6ca
Add 'orLabelSelector' for backup, restore command
...
Signed-off-by: Nilesh Akhade <nakhade@catalogicsoftware.com>
2023-07-19 16:16:35 +05:30
Anshul Ahuja
c8f970a4f1
Merge branch 'main' into resourcemodifier
...
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com>
2023-07-19 11:11:40 +05:30
Xun Jiang
4a222b76c6
Improve backup log command UT coverage.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-07-18 14:41:55 +08:00
Xun Jiang
9e515ac397
Remove dependency of the legacy client code from pkg/cmd directory part 2.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-07-17 17:04:53 +08:00
lyndon
dfd7970219
Merge pull request #6469 from blackpiglet/6190_fix
...
Remove dependency of the legacy client code from pkg/cmd directory part 1
2023-07-14 17:15:56 +08:00
Xun Jiang
89d3ad4864
Remove dependency of the legacy client code from pkg/cmd directory.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-07-14 15:55:09 +08:00
allenxu404
084fd66586
add data upload/download metrics
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-07-14 10:47:53 +08:00
Ming
e0bfd676cc
Merge branch 'main' of https://github.com/qiuming-best/velero into mark-crs-failed
2023-07-11 02:42:46 +00:00
Lyndon-Li
9f5162ece3
add wait timeout for expose prepare
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-07-10 17:32:10 +08:00
Anshul Ahuja
4931a780f7
make optional CLI field and add test cases.
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
2023-07-10 14:45:53 +05:30
Ming Qiu
480fe445b1
Mark dataupload datadownload status failed when velero pod restart
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2023-07-10 07:14:24 +00:00
Anshul Ahuja
8db88bd392
Merge branch 'main' into resourcemodifier
2023-07-10 11:33:49 +05:30
Anshul Ahuja
3923d382fd
Fix CI
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
2023-07-06 10:44:33 +05:30
Xun Jiang/Bruce Jiang
5171ab0dca
Merge pull request #6434 from allenxu404/i6038
...
Fix hook filter display issue for backup describer
2023-07-03 17:54:40 +08:00
Xun Jiang
ec4bb42117
Retrieve DataUpload into backup result ConfigMap during volume snapshot restore.
...
Fix issue #6117 .
Add CSI plugin needs builder functions.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-06-30 11:13:04 +08:00
allenxu404
75833eaa5b
fix hook filter display issue for backup describer
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-06-29 16:37:34 +08:00
Anshul Ahuja
9ea54c81fe
CRD and CLI changes
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
2023-06-28 12:15:55 +05:30
Daniel Jiang
ef1908f8ff
Merge pull request #6424 from reasonerjt/ut-cmd-output
...
Add more unit test cases for cmd/util/output
2023-06-27 11:20:52 +08:00
Daniel Jiang
4cea533865
Add more unit test cases for cmd/util/output
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-06-27 00:37:31 +08:00
Lyndon-Li
b1316dae23
data mover smoking test 02
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-26 04:47:40 +00:00
Daniel Jiang
cd68dd369b
Add Unit test cases for pkg/cmd/util/output ( #6359 )
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-06-26 08:16:36 +08:00
danfengliu
ef443fece0
Add UT for pkg/cmd/cli/backup ( #6400 )
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-06-21 11:10:13 +08:00
Wenkai Yin(尹文开)
6f3adcf728
Restore Endpoints before Services ( #6315 )
...
Restore Endpoints before Services
Fixes #6280
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-06-20 14:35:25 +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
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
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
ad8f69bcb1
Merge pull request #6337 from qiuming-best/data-upload-controller
...
Data upload controller
2023-06-07 11:32:23 +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
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
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
Lyndon-Li
5f008d18fa
Merge branch 'main' into data-mover-generic-data-path
2023-05-17 10:15:52 +08:00
lyndon
5b75f35262
Add data mover CRD under v2alpha1 ( #6176 )
...
* add data mover CRD under v1alpha1
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
* data mover CRDs to v2alpha1
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
* data mover crd changes
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
---------
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-05-16 15:09:54 -04:00
Lyndon-Li
623da51494
add shared generic data path
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-05-12 12:01:59 +08:00
Xun Jiang
f051ecaee9
Enable errcheck linter and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-28 09:33:42 +08:00
Xun Jiang/Bruce Jiang
a8a17d725a
Merge pull request #6194 from blackpiglet/linter_more
...
Enable more linters, and remove mal-functioned milestoned issue action.
2023-04-26 14:12:47 +08:00
Xun Jiang
443f732e51
Enable more linters, and remove mal-functioned milestoned issue action.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-25 23:31:51 +08:00
Xun Jiang
180cc4e31d
Enable linter revive and resolve found errors: part 1
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-25 23:15:15 +08:00
Xun Jiang/Bruce Jiang
51c67089f5
Merge branch 'main' into linter_staticcheck
...
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com>
2023-04-25 15:49:05 +08:00
Xun Jiang
bbc1e2e151
Enable stylecheck linter and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-25 14:37:02 +08:00
Xun Jiang
cb0ada1e1c
Enable staticcheck and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-25 11:33:40 +08:00
Xun Jiang/Bruce Jiang
980106dc39
Merge pull request #6154 from kaovilai/govet
...
fix go vet warnings
2023-04-25 09:24:30 +08:00
Xun Jiang/Bruce Jiang
1fd28e8a36
Fix usestdlibvars and whitespace linters issues. ( #6162 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
Co-authored-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-24 09:10:55 +08:00
Tiger Kaovilai
84daa36efe
cancel ctx in nil, err returns
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-04-16 13:06:13 -04:00
Xun Jiang
56f93393d8
Modify new scope resource filters name.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-06 18:11:55 +08:00
qiuming
d932b3dcbb
Merge pull request #6069 from qiuming-best/describe-backup
...
Add display of resource policies name in describe backup output
2023-04-06 09:14:21 +08:00
Daniel Jiang
73f1740407
Merge pull request #6062 from blackpiglet/5862_fix
...
Make Velero not exits when EnableCSI is on and CSI snapshot not installed
2023-04-04 15:52:48 +08:00
Ming
f1ddf0a6a2
Add display of resource policies name in describe backup output
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-04-04 07:28:35 +00:00
Xun Jiang/Bruce Jiang
42ec72146d
Merge branch 'main' into update_golang_version_new
...
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com>
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-04 05:56:05 +00:00
Xun Jiang
fc692c49e6
Update Golang version to v1.19 for branch main.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-04 12:00:19 +08:00
Xun Jiang
c1acd9c6c5
Make Velero server continue to work, when CSI feature is enabled and Snapshot CRD group is missing.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-03-31 17:47:27 +08:00
Wenkai Yin(尹文开)
cccbd2f8c0
Restore Services before Clusters
...
Restore Services before Clusters so they can be adopted by AKO-operator and no new Services will be created for the same clusters
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-03-31 14:26:07 +08:00
Scott Seago
05c4e35ae7
Fixed backup deletion bug related to async operations
...
Signed-off-by: Scott Seago <sseago@redhat.com>
2023-03-29 09:27:04 -04:00
Xun Jiang/Bruce Jiang
15d44724e7
Modify golangci.yaml file. Resolve found lint issues. ( #6008 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
Co-authored-by: Xun Jiang <blackpiglet@gmail.com>
2023-03-24 12:15:08 +08:00
Daniel Jiang
82358666c8
Merge pull request #6009 from qiuming-best/resource-policies
...
Adjust match resource policies
2023-03-24 10:48:50 +08:00
Ming
a3cef5b0d3
Adjust match resource policies
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-03-23 03:48:26 +00:00
qiuming
29b5894be6
Merge pull request #6005 from draghuram/restore-error
...
Slight improvement of error messages.
2023-03-21 18:31:29 +08:00
lyndon
2ad43194aa
Merge pull request #5900 from blackpiglet/5416_limit_concurrent_goroutine
...
Limit the concurrent number for backup's VolumeSnapshot operation
2023-03-21 18:07:27 +08:00
qiuming
086dbd344f
Handle backup of volume by resource policies ( #5901 )
...
* Handle backup of volume by resource policies
Signed-off-by: Ming <mqiu@vmware.com>
2023-03-21 14:39:25 +08:00
Raghuram Devarakonda
e4f2f52392
Slight improvement of error messages.
...
Signed-off-by: Raghuram Devarakonda <draghuram@gmail.com>
2023-03-20 14:59:23 -04:00
Scott Seago
2155b2b215
RIAv2 async operations controller work
...
Signed-off-by: Scott Seago <sseago@redhat.com>
2023-03-17 14:30:39 -04:00
Xun Jiang
c677c433e0
Limit the concurrent number of go routine for VolumeSnapshot and VolumeSnapshotContent operations.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-03-16 11:42:38 +08:00
lyndon
117d5e846f
Merge pull request #5916 from allenxu404/i5200
...
Add warning/error result to cmd `velero backup describe`
2023-03-16 10:28:08 +08:00
杨刚 (成都)
ad9c6e8dee
delete io/ioutil package. ( #5955 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-03-16 09:25:58 +08:00
allenxu404
a0dac73c95
Add warning/error result to cmd `velero backup describe`
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-03-15 14:20:47 +08:00
Xun Jiang
a1e4f54488
Add new resource filters can separate cluster and namespace scope resources.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-03-14 07:07:22 +00:00
Scott Seago
dd63e8182c
Follow-on fixes for BIAv2 controller work
...
Signed-off-by: Scott Seago <sseago@redhat.com>
2023-03-13 10:29:36 -04:00
Emily McMullan
ec4a7072b3
add server setting for default timeouts
...
Signed-off-by: Emily McMullan <emcmulla@redhat.com>
2023-03-10 10:15:09 -05:00
Xun Jiang/Bruce Jiang
7d7e3fff0d
Refoctor backup controller with controller-runtime. ( #5969 )
...
Signed-off-by: Ming <mqiu@vmware.com>
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
Co-authored-by: Ming <mqiu@vmware.com>
2023-03-10 08:59:40 +08:00
Lyndon-Li
28d636bd71
fix client wait problem
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-03-08 09:29:16 +08:00
Scott Seago
c3d1d83da5
BIAv2 async operations controller work
...
Signed-off-by: Scott Seago <sseago@redhat.com>
2023-03-01 11:49:17 -05:00
Wenkai Yin(尹文开)
eb4ecd3767
Add restored resource list in the output of restore describe command
...
Add restored resource list in the output of restore describe command
Fixes #5199
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-02-28 10:43:03 +08:00
Xun Jiang
c2ac76165e
Make restore controller adopting the controller-runtime framework.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-02-25 11:55:02 +08:00
Shubham Pampattiwar
b23c541010
Merge pull request #5859 from hezhizhen/clock
...
Replace k8s.io/apimachinery/pkg/util/clock with k8s.io/utils/clock
2023-02-23 13:37:33 -08:00
danfengl
979fb9ccab
Roll back pkg client code for Velero server
...
Signed-off-by: danfengl <danfengl@vmware.com>
2023-02-22 14:11:02 +00:00
qiuming
d7defa7fb5
Merge pull request #5893 from reasonerjt/sa-rb
...
Do not create the rolebinding if user customize the service account
2023-02-22 14:35:06 +08:00
Daniel Jiang
42a92e9b3d
Do not create the rolebinding if user customize the service account
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-02-21 18:20:38 +08:00
Xun Jiang/Bruce Jiang
5555f7d4e7
Merge pull request #5865 from allenxu404/issue4816
...
Add a json output to velero backup describe
2023-02-21 18:19:06 +08:00
allenxu404
16bf3e2d90
Add a json output to velero backup describe
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-02-21 17:16:34 +08:00
Zhizhen He
fb1dc110f2
Replace k8s.io/apimachinery/pkg/util/clock with k8s.io/utils/clock
...
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 11:56:17 +08:00
Scott Seago
5f039b7f7c
Merge pull request #5224 from kaovilai/patch-3
...
gh-issue-template: Comment out the subheading description
2023-02-20 10:14:39 -05:00
Scott Seago
fa58a775e8
Merge pull request #5576 from anshulahuja98/backupresults
...
Publish backup results to enhance error info
2023-02-18 17:00:49 -05:00
Anshul Ahuja
8c3ddf0f73
Publish backup results extracted from backup logs
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
2023-02-16 09:57:53 +05:30
lyndon
44bcc0959e
Merge pull request #5840 from kaovilai/pvb-pvr-should-fail-during-startup
...
move UpdatePVXStatusToFailed to controller pkg
2023-02-13 13:58:43 +08:00
Xun Jiang/Bruce Jiang
8f76907aff
Merge pull request #5843 from ywk253100/230208_secret
...
Add secret restore item action to handle service account token secret
2023-02-13 11:57:32 +08:00
Fish-pro
ef05af13bf
Clean up unused variables and functions ( #5818 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-09 10:53:24 +08:00
Wenkai Yin(尹文开)
731a484275
Add secret restore item action to handle service account token secret
...
Add secret restore item action to handle service account token secret:
1. Skip the restoration for the auto-created service account token secret
2. Remove several fields for non-auto-created service account token secret to make sure the secret can be restored
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-02-08 15:52:11 +08:00
Tiger Kaovilai
3be7c33d3b
move UpdatePVXStatusToFailed to controller pkg
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-02-07 10:20:30 -05:00
Scott Seago
5db9437f5e
Merge pull request #5540 from wenterjoy/main
...
change image repository by configmap
2023-02-06 20:31:47 -05:00
Scott Seago
19b855660a
Merge pull request #5828 from kaovilai/pvb-pvr-should-fail-during-startup
...
Use updated PVB/PVR for patching Failed Phase during startup
2023-02-06 15:08:59 -05:00
Fish-pro
843c70959f
Clean up unnecessary convert ( #5819 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-06 14:50:31 +08:00
Tiger Kaovilai
d7738532c8
Use updated PVB/PVR for patching Failed Phase during startup
...
Use the same pvb/pvr update functions across pkg/controller and pkg/cli/nodeagent for consistency of behavior
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-02-03 14:22:56 -05:00
Xun Jiang/Bruce Jiang
0b6b841f2a
Remove redundant client from restore controller. ( #5759 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-02-03 15:57:43 +08:00
wenterjoy
9d1ccedd44
modified according to review comments
...
Signed-off-by: wenterjoy <zhaoxin26@lenovo.com>
2023-02-02 02:27:31 +00:00
Daniel Jiang
8b0afa3c44
Add option "--service-account-name" to install cmd ( #5802 )
...
The option "--service-account-name" is to be added to that user can use
an existing service account for velero and node-agent pods. This is
helpful for users who wanna use IRSA.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-02-01 17:12:24 +08:00
Lyndon-Li
88a1317f48
fix issue 5043
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-12-15 20:00:54 +08:00
Wenkai Yin(尹文开)
8194e8d723
Restore ClusterBootstrap before Cluster
...
Restore ClusterBootstrap before Cluster otherwise a new default ClusterBootstrap object is create for the cluster
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2022-11-22 17:25:13 +08:00
Wenkai Yin(尹文开)
c186a7d193
Enhance the restore priorities list to support specifying the low prioritized resources that need to be restored in the last
...
Enhance the restore priorities list to support specifying the low prioritized resources that need to be r
estored in the last
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2022-11-03 10:53:32 +08:00
Xun Jiang
41fc641298
Add credential file store in the backup deletion controller.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2022-10-31 16:59:26 +08:00
Kira Boyle
b146a880c6
update k8s.io dependencies to 0.24.0
...
* This also required an update to use github.com/bombsimon/logrusr/v3
* 'WithClusterName' removed as per the k8s doc reasoning:
* https://github.com/kubernetes/apimachinery/blob/release-1.24/pkg/apis/meta/v1/types.go\#L257-L259
* ('ClusterName was a legacy field that was always cleared by the system and never used')
* Test was updated accordingly
Signed-off-by: Kira Boyle <kira@replicated.com>
2022-10-21 11:16:21 +08:00
Daniel Jiang
fc038041fb
Merge pull request #5294 from cleverhu/change-CSISnapshotTimeout-to-normal-var
...
change CSISnapshotTimeout from pointer to normal variable
2022-10-19 15:31:47 +08:00
lyndon
162680b39c
Merge branch 'main' into velero-docker-image-go-1.18
...
Signed-off-by: lyndon <98304688+Lyndon-Li@users.noreply.github.com>
2022-10-19 09:29:36 +08:00
Lyndon-Li
c92f06ef17
fix lint loop iterator problem
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-18 22:40:48 +08:00
Lyndon-Li
d7b4583b2b
fix lint errors
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-18 21:53:47 +08:00
Xun Jiang/Bruce Jiang
9cb46deb73
Add CSI VolumeSnapshot client back. ( #5449 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2022-10-18 14:58:03 +08:00
lyndon
ad7e3ab8d5
Merge pull request #5446 from allenxu404/i5098
...
Change subcommand `velero restic` to `velero repo`
2022-10-17 18:28:51 +08:00