lou
d8b9328310
support JSON Merge Patch and Strategic Merge Patch in Resource Modifiers
...
Signed-off-by: lou <alex1988@outlook.com >
2023-09-25 18:00:18 +08:00
Daniel Jiang and GitHub
cf3cb9c4ed
Merge pull request #6712 from kaovilai/jobs-label-k8s1.27
...
On restore, delete Kubernetes 1.27 job controller uid label
2023-09-18 16:49:50 +08:00
Guang Jiong Lou and GitHub
246831de7b
use old namespace in resource modifier ( #6724 )
...
* use old namespace in resource modifier
Signed-off-by: lou <alex1988@outlook.com >
* add changelog
Signed-off-by: lou <alex1988@outlook.com >
* update docs
Signed-off-by: lou <alex1988@outlook.com >
* updated after review
Signed-off-by: lou <alex1988@outlook.com >
---------
Signed-off-by: lou <alex1988@outlook.com >
2023-09-08 15:29:46 +05:30
lyndon and GitHub
1615cfd7f3
fix issue 6709 ( #6741 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-01 16:52:24 +08:00
Tiger Kaovilai
c5aad9e488
Remove legacy label version check, to be added back when version is known
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-08-28 11:08:44 -04:00
Tiger Kaovilai
7d3d818f93
Handle 1.27 k8s job label changes
...
per https://github.com/kubernetes/kubernetes/blob/0e86fa5115cb79a04bdb949d135e35a31ce806f2/CHANGELOG/CHANGELOG-1.27.md?plain=1#L1768
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-08-28 10:42:09 -04:00
lou
1784f63b93
get resource client again after restore actions in case resource's gv is changed
...
Signed-off-by: lou <alex1988@outlook.com >
2023-08-10 18:55:27 +08:00
Daniel Kucera and GitHub
0ec0c963d2
Allow updated resource version ( #6499 )
...
Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com >
2023-08-10 10:44:15 +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
Anshul Ahuja
8db88bd392
Merge branch 'main' into resourcemodifier
2023-07-10 11:33:49 +05:30
Anshul Ahuja
6307a43004
Add test case
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-07-06 10:14:49 +05:30
Anshul Ahuja
ed4437ad22
initial draft
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-07-05 13:51:32 +05:30
Xun Jiang
7b4d4c7275
Limit label "velero.io/pvc-namespace-name" length to 63.
...
1. Limit label length.
2. Modify UT accordingly.
3. Remove unnecessary const variable.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-04 15:10:34 +08:00
Anshul Ahuja
5424b07bb3
restore flow changes
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-07-03 13:48:24 +05:30
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
wawa0210
95d8a93a9c
Enhanced log output when mirroring is replaced
...
Signed-off-by: wawa0210 <zhangxiao@xiaozhangs-MacBook-Pro.local >
2023-06-01 09:02:26 +08:00
Daniel Jiang and GitHub
4322ae14e3
Skip updating status when CRDs are restored ( #6325 )
...
This commit skips updating the restore progress, in the first loop for
restoration when CRDs are handled, so that the misleading "totalItem"
will not appear in the CR.
Fixes #5990
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-05-31 11:45:57 +08:00
Ming
f03e73bfc2
Fix PluginConfigLabelSelector bugs
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-05-15 02:46:24 +00: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
qiuming and GitHub
fbba4e5c77
Merge pull request #6151 from kaovilai/expose-getpluginconfig
...
Make GetPluginConfig accessible from other packages.
2023-04-26 17:42:19 +08:00
Xun Jiang/Bruce Jiang and GitHub
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
e106bbf06b
Enable linter revive and resolve found errors: part 2. ( #6177 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Co-authored-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-26 14:05:22 +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
bbc1e2e151
Enable stylecheck linter and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-25 14:37:02 +08:00
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 and Tiger Kaovilai
08f7f555f3
mv pkg/restore/pod_volume_restore_action.go/getPluginConfig pkg/plugin/framework/common/plugin_config.go/GetPluginConfig
...
Fixes Expose GetPluginConfig #4865
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
2023-04-15 07:04:42 +00:00
Wenkai Yin(尹文开)
b4aa0b8f5f
Ignore not found error during patching managedFields
...
Ignore not found error during patching managedFields
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-04-12 17:17:13 +08: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
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
Scott Seago
433d2d5e57
BIA/RIAv2 -- distinguish between New and InProgress operations
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2023-03-21 18:55:59 -04:00
Daniel Jiang and GitHub
458560795b
Remove Reference of itemsnapshotter ( #5997 )
...
It will be removed as we choose to use BIAv2 for progress monitoring.
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-03-21 09:05:29 +08: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
杨刚 (成都) and GitHub
ad9c6e8dee
delete io/ioutil package. ( #5955 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-03-16 09:25:58 +08:00
1d8ca4f2ef
delete unused parms for UpdateVolumeSnapshotLocationWithCredentialConfig ( #5954 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
Co-authored-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
2023-03-15 13:50:54 +08:00
Scott Seago
a2621caa74
Wait for additional items to be ready before restoring current item
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2023-03-13 15:26:45 -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
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
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
Wenkai Yin(尹文开) and GitHub
4d0c3ac83f
Restore finalizer and managedFields ( #5853 )
...
Restore finalizer and managedFields of metadata during the restoration
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-02-20 10:26:45 +08:00
Scott Seago and GitHub
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
Xun Jiang/Bruce Jiang and GitHub
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 and GitHub
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
Scott Seago and GitHub
5db9437f5e
Merge pull request #5540 from wenterjoy/main
...
change image repository by configmap
2023-02-06 20:31:47 -05:00
Xun Jiang/Bruce Jiang and GitHub
218fd76411
Add mapped selected-node existence check. ( #5806 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-02-06 17:03:35 +08:00
Xun Jiang/Bruce Jiang and GitHub
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
Scott Seago
9f6f13f0c5
RestoreItemAction v2 API implementation
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2023-01-10 16:26:28 -05:00
Lyndon-Li
b06cb9ec60
remove gofrs uuid
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-11-07 16:28:33 +08:00