Wenkai Yin(尹文开)
25b5c44ebf
Check the PVB status via podvolume Backupper rather than calling API server to avoid API server issue
...
Check the PVB status via podvolume Backupper rather than calling API server to avoid API server issue
Fixes #8587
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2025-01-10 16:18:52 +08:00
Scott Seago
d5ef00a3d4
Don't include excluded items in ItemBlocks
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-01-07 13:40:01 +07:00
Mikaël Cluseau
bc2e04d0a9
fix(pkg/repository/maintenance): don't panic when there's no container statuses
...
Signed-off-by: Mikaël Cluseau <mikael.cluseau@gmail.com >
2025-01-02 13:27:19 +08:00
Wenkai Yin(尹文开)
0e54406352
Bug fix: increase the WaitGroup counter before start the goroutine
...
Bug fix: increase the WaitGroup counter before start the goroutine
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-12-23 17:04:12 +08:00
Lyndon-Li
11a2be69e1
hide restic deprecation warning for install with crd-only
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-20 16:10:59 +08:00
Xun Jiang
6f7704a090
Refactor the migration cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-12-19 16:40:15 +08:00
Wenkai Yin(尹文开)
fe8c086299
Fix backup post hook issue
...
Fix backup post hook issue
Fixes #8159
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-12-17 13:05:46 +08:00
Lyndon-Li
a217e33221
add diagnostic for data mover exposer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-13 15:12:07 +08:00
Lyndon-Li
1e2ef374d6
add diagnostic for data mover exposer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-13 15:09:17 +08:00
Lyndon-Li
8087c7f13a
add diagnostic for data mover exposer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-13 15:09:01 +08:00
Tiger Kaovilai
5ddb319073
Set hinting region to use for GetBucketRegion() in pkg/repository/config/aws.go
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-12-11 15:36:51 +08:00
Lyndon-Li
3f31730003
check existence of the same label from node-agent
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-10 13:44:54 +08:00
Lyndon-Li
cce4d4815a
issue 8433: add ask label to data mover pods
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-10 13:42:10 +08:00
Lyndon-Li
d78947a755
fix prepare timeout issue
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-09 15:01:33 +08:00
Daniel Jiang
666a0ee233
Add SecurityContext to restore-helper
...
This commit adds SecurityContext that complies with "restricted" level
per Pod Security Standards to "restore-helper" initContainer.
It ensures the restore won't fail when the cluster enforces PSA.
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-12-09 13:50:49 +08:00
Xun Jiang
ecd206acce
Add nil check for updating DataUpload VolumeInfo in finalizing phase.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-27 18:59:38 +08:00
Lyndon-Li
0fc822b790
issue 8391: check ErrCancelled from suffix
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-11-13 13:18:30 +08:00
Lyndon-Li
56cab0608f
issue 8394: move closeDataPath outside callbacks
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-11-13 11:16:03 +08:00
Lyndon-Li
7cd92a5aac
Pin the version of Golang and base image for v1.15.0
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-10-23 13:36:33 +08:00
Matthieu MOREL
d06601e977
fix: use Contains or ErrorContains with testify
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-18 20:36:45 +02:00
Matthieu MOREL
226a4c1138
golangci-lint: enable and fix thelper linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-17 08:12:57 +02:00
lyndon-li
fe14fb235c
Merge pull request #8301 from msfrucht/revert_expose_sourcevolumemode
...
Revert "Expose VSC SourceVolumeMode" 1.15
2024-10-16 10:04:46 +08:00
Scott Seago
6fa81ec9b9
fixed error message typo for item block action
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-10-15 15:22:19 -04:00
MICHAEL S FRUCHTMAN
d9b278edb9
Revert "Expose VSC SourceVolumeMode"
...
This reverts commit 7580538f03 .
Signed-off-by: MICHAEL S FRUCHTMAN <msfrucht@us.ibm.com >
2024-10-14 12:01:05 -07:00
Scott Seago
b1035dd49d
add no-relabeling option to backupPVC configmap
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-10-14 10:26:55 -04:00
Scott Seago
de7a414511
only set spec.volumes readonly if PVC is readonly for datamover
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-10-10 10:51:33 -04:00
Wenkai Yin(尹文开)
23ca089d40
Use '"' rather than '`' in the log to avoid unexpected new line
...
Use '"' rather than '`' in the log to avoid unexpected new line
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-09 14:44:13 +08:00
Daniel Jiang
db2eb89a26
Merge pull request #8245 from shubham-pampattiwar/fix-err-str
...
Remove multiple single quotes from Velero backup.status.validationErrors field
2024-10-09 08:33:19 +08:00
MICHAEL S FRUCHTMAN
7580538f03
Expose VSC SourceVolumeMode
...
Add changelog and unittest
Signed-off-by: Michael Fruchtman <msfrucht@us.ibm.com >
2024-10-03 15:05:58 -07:00
Shubham Pampattiwar
f15cde5dfd
Remove mutiple single quotes from Velero backup.status.validationErrors field
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update error message
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-09-30 14:20:44 -07:00
Tiger Kaovilai
42de654372
Revert "issue 8249: disable selinux relabel for backupPod ( #8250 )" ( #8253 )
...
This reverts commit 0ccdc7c6e1 .
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-27 12:31:38 -04:00
lyndon-li
0ccdc7c6e1
issue 8249: disable selinux relabel for backupPod ( #8250 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-09-27 11:57:29 -04:00
Shubham Pampattiwar
c0d51a5465
Add labels to maintanance job pods
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-09-24 17:09:13 -07:00
Xun Jiang/Bruce Jiang
025d66d5fd
Merge pull request #8237 from Lyndon-Li/issue-fix-8232
...
Issue 8232: ensure the ending event sinked before shutdown
2024-09-24 11:20:52 +08:00
Lyndon-Li
9deaa819aa
issue 8232: ensure the ending event sinked before shutdown
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-09-23 18:35:56 +08:00
Wenkai Yin(尹文开)
390ac497bb
Add the Carvel package related resources to the restore priority list
...
Add the Carvel package related resources to the restore priority list
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-09-19 16:47:00 +08:00
Tiger Kaovilai
3f9c2dc789
Reduces ~140 indirect imports for plugin/framework importers ( #8208 )
...
* Avoid plugin framework importers from needing cloud provider imports
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-13 10:21:51 +08:00
Shubham Pampattiwar
da291467d7
Merge pull request #8199 from AlbeeSo/fix/use-new-gr
...
use newGR instead of groupResource after apiversion convert
2024-09-12 10:20:39 -07:00
Xun Jiang/Bruce Jiang
efcf836d16
Merge pull request #8201 from blackpiglet/update_velero_install_parameter
...
Add the ConfigMap-specified parameters into velero install CLI
2024-09-12 13:08:56 +08:00
Xun Jiang
68f3545424
Add the ConfigMap-specified parameters into velero install CLI.
...
Rename backup-repository-config to backup-repository-configmap.
Rename repo-maintenance-job-config to repo-maintenance-job-configmap.
Rename node-agent-config to node-agent-configmap.
Add those three parameters to `velero install` CLI.
Modify the design and the site documents.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-12 11:24:14 +08:00
Wenkai Yin(尹文开)
7e8a3c0bbc
Merge pull request #8206 from kaovilai/pkgpodvolumebackupper_test.go59714thecancelfunctionreturnedbycontext.WithTimeout
...
pkg/podvolume/backupper_test.go:597:14: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak
2024-09-12 10:43:02 +08:00
Wenkai Yin(尹文开)
670338e02f
Merge pull request #8210 from kaovilai/pvc_pv_test.go-32-2
...
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
2024-09-12 10:42:19 +08:00
Wenkai Yin(尹文开)
5b4c8cd5b1
Merge pull request #8198 from kaovilai/pes-controller
...
Add controller name to periodical_enqueue_source
2024-09-12 10:41:46 +08:00
Tiger Kaovilai
70168634cb
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
...
package "k8s.io/api/core/v1" is being imported more than once (ST1019)
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-11 17:21:04 -04:00
Tiger Kaovilai
c8aa37d852
Remove additional param, use pkg/constant
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-11 17:13:37 -04:00
Xun Jiang/Bruce Jiang
bf6215c894
Merge pull request #7793 from kaovilai/upgrade_robfig/cron/v3
...
Upgrade to robfig/cron/v3 to support time zone specification
2024-09-11 14:02:58 +08:00
Tiger Kaovilai
3c777cb09f
pkg/podvolume/backupper_test.go:597:14: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-10 19:26:58 -04:00
Tiger Kaovilai
c643ee5fd4
Retry completion status patch for backup and restore resources
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
update to design #8063
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-10 17:01:14 -04:00
AlbeeSo
c2192a75aa
typo
...
Signed-off-by: AlbeeSo <suyashi1321@163.com >
2024-09-10 17:48:43 +08:00
AlbeeSo
02ac1069fe
use newGR instead of groupResource if plugin has modified the group
...
Signed-off-by: AlbeeSo <suyashi1321@163.com >
2024-09-10 14:33:36 +08:00