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
Xun Jiang/Bruce Jiang
d658f6564d
Merge pull request #5444 from Lyndon-Li/remove-restic
...
Pod Volume Backup/Restore Refactor: Remove Restic in code
2022-10-17 15:32:17 +08:00
lyndon
d52ec8c079
Pod Volume Backup/Restore Refactor: Rename Init Helper ( #5432 )
...
* restore helper refactor
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
* resolve codespell
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-17 13:42:09 +08:00
danfengl
cf32cabddd
fix-ctx-issue
...
1. Fix issue of kubectl client and server mismatch version in GitAction E2E job, refer to https://github.com/elastic/cloud-on-k8s/issues/4737 ;
2. Adapt to the changing of keyword for involing Kpoia as fs backupper, new installtion breaked upgrade and migration tests;
3. Accept multi-labels of Ginkgo focus as input of E2E make command;
4. Distinguish workload namespace from each tests;
5. Fix issues of not using Velero util to perform Velero commands;
6. Add snapshot test case for NamespaceMapping E2E test;
7. Collect debug bundle after catching error of Velero backup or restore command;
Signed-off-by: danfengl <danfengl@vmware.com>
2022-10-16 13:18:39 +00:00
allenxu404
154f5551c6
Change subcommand restic to repo
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2022-10-13 19:45:52 +08:00
Lyndon-Li
5f7f69366c
remove restic from code
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-13 13:45:32 +08:00
lyndon
83ea1cc58b
rename daemonset ( #5390 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-11 14:18:21 +08:00
Xun Jiang/Bruce Jiang
f3e3cfcdaf
Merge pull request #5412 from allenxu404/i5085
...
Change B/R describe CLI to support kopia
2022-10-03 14:32:04 +08:00
allenxu404
47f8eb5f9b
Change B/R describe cli to support kopia
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2022-09-30 17:30:18 +08:00
Xun Jiang/Bruce Jiang
a80c96c8f8
update velero using klog to version v2.9.0 ( #5396 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
Co-authored-by: Xun Jiang <blackpiglet@gmail.com>
2022-09-30 14:08:43 +08:00
Xun Jiang/Bruce Jiang
ce247a3d90
Remove snapshot related lister, informer and client from backup controller. ( #5299 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2022-09-23 15:44:39 +08:00
lyndon
c81f0db886
rename pvbr param ( #5370 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-09-23 09:13:36 +08:00
qiuming
07da9b9cf8
Merge pull request #5279 from ywk253100/220829_pause
...
Support pause/unpause schedules
2022-09-20 16:06:17 +08:00
qiuming
648311a0f5
Merge pull request #5350 from blackpiglet/5019-snapshot-volumes-help-message-modification
...
Modify help message of parameter --snapshot-volumes
2022-09-20 14:18:00 +08:00
lyndon
429e204992
Merge pull request #5329 from kaovilai/veleroDownloadRequestReturnSomething-veleromain
...
Cancel downloadRequest when timeout without downloadURL
2022-09-19 14:20:18 +08:00
lyndon
ede7b197ae
Merge pull request #5297 from blackpiglet/remove_apex_log
...
Remove github.com/apex/log logger.
2022-09-16 16:47:36 +08:00