Xun Jiang
1ba78b83bf
Skip uninstall and resource cleanup when fail-fast is enabled.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-23 20:24:14 +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
1110853cba
Merge pull request #8104 from kaovilai/makefile-changelog
...
Add new-changelog to Makefile
2024-09-11 14:09:30 +08: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
Daniel Jiang
f1e68f8ced
Merge pull request #8202 from blackpiglet/7883_fix
...
Enable --fail-fast by default for E2E and performance tests.
2024-09-11 12:59:35 +08:00
Wenkai Yin(尹文开)
b523a1b680
Merge pull request #8068 from kaovilai/retry-patching-inprogress-implementation
...
Retry completion status patch for backup and restore resources
2024-09-11 11:24:56 +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
Shubham Pampattiwar
7c9b7c1ba5
Merge pull request #8144 from Lyndon-Li/data-mover-ms-doc
...
Data mover micro service doc
2024-09-10 15:49:05 -07: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
Xun Jiang
f1846be634
Enable --fail-fast by default for E2E and performance tests.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-10 22:25:08 +08: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
Lyndon-Li
2641cc8fef
data mover ms doc
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-09-10 10:31:14 +08:00
Lyndon-Li
ae5d97cd8c
Merge branch 'main' into data-mover-ms-doc
2024-09-10 10:28:59 +08:00
Xun Jiang/Bruce Jiang
46801a0828
Merge pull request #8145 from blackpiglet/7758_implement
...
Implement the Repo maintanence Job configuration.
2024-09-10 08:09:43 +08:00
Tiger Kaovilai
5c4c66bee9
Add controller name to periodical_enqueue_source
...
The code changes are related to the `NewPeriodicalEnqueueSource` function in the `kube/periodical_enqueue_source.go` file. This function is used to create a new instance of the `PeriodicalEnqueueSource` struct, which is responsible for periodically enqueueing objects into a work queue.
The changes involve adding two new parameters to this function: `controllerName string` and modifying the existing `logger` parameter to include additional fields.
Here's what changed:
1. A new `controllerName` parameter was added to the `NewPeriodicalEnqueueSource` function.
These changes are to adding more context or metadata to the logging output, possibly for debugging or monitoring purposes.
The other files (`restore_operations_controller.go`, `schedule_controller.go`, and their respective test files) were modified to use this updated `NewPeriodicalEnqueueSource` function with the new `controllerName` parameter.
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-09 12:07:07 -04:00
Xun Jiang
26cc41f26d
Implement the Repo maintanence Job configuration design.
...
Remove the resource parameters from the velero server CLI.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-09 22:42:56 +08:00
Shubham Pampattiwar
b92143dad1
Merge pull request #8102 from sseago/itemblock-workflow
...
ItemBlock model and phase 1 (single-thread) workflow changes
2024-09-09 05:59:51 -07:00
Shubham Pampattiwar
a19cf56081
Merge pull request #8167 from Lyndon-Li/node-agent-memory-preserve-doc
...
Add doc for node-agent memory preserve
2024-09-09 05:37:39 -07:00
Lyndon-Li
43de32ada4
add doc for node-agent memory preserve
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-09-09 13:39:09 +08:00
Daniel Jiang
7439db57b3
Merge pull request #8166 from ywk253100/240705_plugin_args
...
Pass Velero server command args to the plugins
2024-09-06 14:29:42 +08:00
Xun Jiang/Bruce Jiang
12b2dbe0fa
Merge pull request #8170 from shubham-pampattiwar/update-scc-docs
...
Update Openshift SCC docs link
2024-09-05 10:52:38 +08:00
Shubham Pampattiwar
74ca35ea6d
Update Openshift SCC docs link
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
change link to latest
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-09-04 12:09:06 -07:00
Wenkai Yin(尹文开)
dc6eeafe98
Pass Velero server command args to the plugins
...
Pass Velero server command args to the plugins
Fixes #7806
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-09-04 13:43:27 +08:00
Xun Jiang/Bruce Jiang
c78fea3204
Merge pull request #8174 from anshulahuja98/pvnullfix
...
Add check for PV claimref nil
2024-09-04 10:39:41 +08:00
Scott Seago
9d6f4d2db5
ItemBlock model and phase 1 (single-thread) workflow changes
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-09-03 19:04:18 -04:00
Daniel Jiang
8ae667ef5e
Merge pull request #8063 from kaovilai/retry-patching-inprogress-design
...
Add status patching retry configuration design.
2024-09-03 22:22:59 +08:00
Xun Jiang/Bruce Jiang
e8632b240d
Merge pull request #7974 from blackpiglet/7823_fix
...
Only get VolumeSnapshotClass when DataUpload exists.
2024-09-03 22:13:46 +08:00
Anshul Ahuja
2d3521a56c
fix
...
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
2024-09-02 09:18:44 +00:00
Anshul Ahuja
434bd2f3ae
linter
...
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
2024-09-02 05:08:59 +00:00
Anshul Ahuja
79156bedad
Merge branch 'main' into pvnullfix
...
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
2024-09-02 04:53:53 +00:00
Anshul Ahuja
8be8fc6671
Add check for PV claimref nil
...
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
2024-09-02 04:50:16 +00:00
Xun Jiang
1d9fbcfcf6
Only get VolumeSnapshotClass when DataUpload exists.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-08-31 17:53:03 +08:00
lyndon-li
3408ffefac
Merge pull request #8141 from shubham-pampattiwar/fix-backup-pvc-config
...
Apply backupPVCConfig to backupPod volume spec
2024-08-30 11:09:46 +08:00
Shubham Pampattiwar
f6e2b0107f
Apply backupPVCConfig to backupPod volume spec
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make backupPod volume mount always readOnly
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
use assert.True()
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Add readOnly param for MakePodPVCAttachment func
lint fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-08-29 13:18:17 -07:00
Lyndon-Li
c79d7ebc91
data mover ms doc
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-29 16:27:00 +08:00
Lyndon-Li
866c2ab781
Merge branch 'main' into data-mover-ms-doc
2024-08-29 16:14:19 +08:00
Daniel Jiang
b5c9921ee8
Merge pull request #8158 from Lyndon-Li/bump-up-kopia
...
Bump up kopia
2024-08-29 13:51:02 +08:00
Lyndon-Li
a80c9359bf
bump up kopia
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-29 13:10:08 +08:00
lyndon-li
cb7eebd9c9
Merge pull request #8143 from Lyndon-Li/data-mover-ms-pod-resource-limit
...
node-agent config for data mover micro service pod resources
2024-08-29 11:00:24 +08:00
Lyndon-Li
252e8a866f
node-agent config for pod resources
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-29 10:13:32 +08:00
Tiger Kaovilai
eebc4af484
Make retry func name more generic
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-08-28 11:19:43 -04:00