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
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
lyndon-li and GitHub
f63b714483
Merge pull request #8115 from Lyndon-Li/data-mover-ms-smoking-test
...
Data mover micro service smoke testing
2024-08-21 10:12:18 +08:00
Shubham Pampattiwar and GitHub
86963bf229
Merge pull request #8097 from Lyndon-Li/issue-fix-8032
...
Issue 8032: make node agent configMap name configurable
2024-08-19 14:49:43 -07:00
Lyndon-Li
8cf1749ae0
issue 8032: make node agent configMap name configurable
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-19 10:33:17 +08:00
Lyndon-Li
0ed1a7fc86
data mover ms smoke testing
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-15 15:06:31 +08:00
Lyndon-Li
d25a908b78
Merge branch 'main' into data-mover-ms-smoking-test
2024-08-15 11:12:44 +08:00
lyndon-li and GitHub
8fde4a017d
Merge pull request #8054 from sseago/iba-plugins
...
Iba plugins
2024-08-15 10:21:25 +08:00
lyndon-li and GitHub
4e781d4009
Merge pull request #8109 from shubham-pampattiwar/backup-pvc-config-support
...
Add support for backup PVC configuration
2024-08-15 10:20:12 +08:00
Lyndon-Li
ed0ef67c16
data mover ms smoke testing
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-14 17:29:04 +08:00
Xun Jiang
4ffc6d17b2
Delete the pkg/generated directory.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-08-14 10:35:23 +08:00
Shubham Pampattiwar
8eac3606d9
Add support for backup PVC configuration
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
pass backupPVCConfig to exposer as part of csi params
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-08-13 17:06:06 -07:00
Lyndon-Li
3c0948c9be
Merge branch 'main' into data-mover-ms-smoking-test
2024-08-14 00:15:56 +08:00
lyndon-li and GitHub
07c03a8919
Merge pull request #8085 from Lyndon-Li/data-mover-ms-node-agent-resume
...
Data mover micro service node agent resume
2024-08-14 00:14:47 +08:00
Shubham Pampattiwar and GitHub
b62b38f566
Merge pull request #8093 from Lyndon-Li/backkup-repo-config
...
Backup repo config
2024-08-12 13:44:00 -07:00
Daniel Jiang and GitHub
260a4995c2
Merge pull request #8096 from Lyndon-Li/issue-fix-8072
...
Issue 8072: restic deprecation - warning messages
2024-08-12 14:13:25 +08:00
Lyndon-Li
04db3ba767
data mover ms node agent resume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-12 10:45:59 +08:00
Scott Seago
1228b41851
Internal ItemBlockAction plugins
...
This PR implements the internal ItemBlockAction plugins needed for pod, PVC, and SA.
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-08-09 12:24:55 -04:00
Lyndon-Li
4dea3a48e8
data mover ms smoking test
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-09 15:15:21 +08:00
Lyndon-Li
fefb4b858c
issue 8072: restic deprecation - warning messages
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-09 14:40:42 +08:00
Lyndon-Li
2c7047a304
Merge branch 'main' into data-mover-ms-node-agent-resume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-07 17:23:15 +08:00
lyndon-li and GitHub
60f5ad5cf4
Merge branch 'main' into data-mover-ms-node-agent-resume
...
Signed-off-by: lyndon-li <98304688+Lyndon-Li@users.noreply.github.com >
2024-08-07 17:13:35 +08:00
Lyndon-Li
3b06d915ca
Merge branch 'main' into data-mover-ms-node-agent-resume
2024-08-07 17:07:38 +08:00
lyndon-li and GitHub
dd3d05bbac
Merge pull request #8074 from Lyndon-Li/data-mover-ms-new-controller-1
...
Data mover micro service new controller
2024-08-07 17:00:27 +08:00
Lyndon-Li
82d9fe4d4d
backup repo config
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-07 15:34:57 +08:00
Daniel Jiang
5c88c897a5
Patch dbr's status when error happens
...
This commit makes sure the dbr's status is "Processed" when an error
happens before the actual deletion is started
fixes #7812
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-08-06 18:37:34 +08:00
Lyndon-Li
a523d10802
data mover ms node agent resume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-06 16:25:56 +08:00
Xun Jiang/Bruce Jiang and GitHub
d4e743b138
Merge pull request #8071 from kaovilai/static-checks
...
static checks
2024-08-04 19:49:52 +08:00
Lyndon-Li
903458b61b
data mover ms new controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-01 15:11:13 +08:00
Lyndon-Li
514ba56ca1
data mover ms new controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-01 14:42:17 +08:00
Lyndon-Li
29aad63f32
Merge branch 'main' into data-mover-ms-new-controller-1
2024-08-01 13:05:13 +08:00
lyndon-li and GitHub
54bd7ce32e
Merge pull request #8061 from Lyndon-Li/data-mover-ms-restore-1
...
Data mover micro service restore
2024-08-01 13:03:47 +08:00
Tiger Kaovilai
6d0d1aaccc
tautological condition: non-nil != nil
...
https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/nilness#cond:~:text=p%20%3A%3D%20%26v%0A...%0Aif%20p%20!%3D%20nil%20%7B%20//%20tautological%20condition%0A%7D
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-07-31 22:20:48 -04:00
Tiger Kaovilai
ad6104b90a
unused write to field Spec
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-07-31 22:16:11 -04:00
Tiger Kaovilai
92b9e59fd5
Unused parameters
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-07-31 22:15:15 -04:00
Shubham Pampattiwar and GitHub
7811b9f78c
Merge pull request #8026 from sseago/itemblockaction
...
Create new ItemBlockAction (IBA) plugin type
2024-07-31 08:46:52 -07:00
Anshul Ahuja and GitHub
1a167f9ebf
Fail Delete Backup if BSL is not available ( #8029 )
...
* Fail Delete Backup if BSL is not available
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
* linter
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
---------
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
2024-07-31 10:53:39 -04:00
Lyndon-Li
5dcd9dc81f
Merge branch 'main' into backkup-repo-config
2024-07-31 17:34:44 +08:00
Lyndon-Li
7b7727e808
issue 7620: backup repo config
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-31 16:41:27 +08:00
Lyndon-Li
d48e9762eb
data mover ms new controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-31 13:24:16 +08:00
Lyndon-Li
86e54801c5
data mover micro service restore
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-31 11:17:12 +08:00
Scott Seago
ba9c109868
Create new ItemBlockAction (IBA) plugin type
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-07-29 11:08:54 -04:00