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
Tiger Kaovilai
69b456af70
Set hinting region to use for GetBucketRegion() in pkg/repository/config/aws.go
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-10-14 10:08:12 -05: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 and GitHub
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
Wenkai Yin(尹文开)
0a4e417aab
Bump up version of client-go and controller-runtime
...
Bump up version of client-go to v0.30.5
Bump up version of controller-runtime to v0.18.5
Fixes #8274
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-08 18:53:12 +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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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(尹文开) and GitHub
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(尹文开) and GitHub
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(尹文开) and GitHub
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 and GitHub
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
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 and GitHub
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
Daniel Jiang and GitHub
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
Michal Pryc
6d0f726c2f
Fix #8168 - AWS secrets should not be exposed while running tests
...
Changed the tests to use mocked function that will not read actual
secrets from env variables nor AWS config file that may be
on the system that is running tests.
As a second guard against exposed secrets comparison for the values
does not shows the actual values for the AWS data. This is to prevent
situation where programming error may still allow the test to read
AWS config/env variables instead of using mocked function.
Signed-off-by: Michal Pryc <mpryc@redhat.com >
2024-09-04 10:45:29 +02: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
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
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
lyndon-li and GitHub
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
Daniel Jiang and GitHub
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 and GitHub
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
Tiger Kaovilai and GitHub
f5671c728c
Scrub namespace terminating status and deletion timestamp on restore. Descriptive restore error on terminating namespace. ( #7424 )
...
revert utils_test.go
address https://github.com/vmware-tanzu/velero/pull/7424/files/c7b189dd6035839c9eb8ce3dab4ead574de77adb#r1494194484
Update pkg/util/kube/utils.go
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-08-23 16:45:10 +05:30
lyndon-li and GitHub
de96d4c84b
Merge pull request #8139 from blackpiglet/7579_fix
...
Add resource modifier for velero restore describe CLI
2024-08-23 13:21:03 +08:00
Lyndon-Li
627e2fede6
nod-agent config for pod resources
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-22 15:06:35 +08:00
Xun Jiang
c2cd6b7176
Add resource modifier for velero restore describe CLI
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-08-22 00:01:56 +08:00