Scott Seago
9614ead033
Don't consider unschedulable pods unrecoverable
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-06-17 10:05:52 -04:00
Daniel Jiang
bed10c7fe6
Fix the problems found by codespell
...
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-05-24 13:32:54 +08:00
Xun Jiang
a91d2cb036
Modify the volume helper logic.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-05-23 09:57:21 +08:00
Tiger Kaovilai
3c937d42dd
ignore .git dir when formatting
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-05-10 14:12:29 -04:00
Shubham Pampattiwar
8d2bef2486
Extend Volume Policies feature to support more actions
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix volume policy action execution
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove unused files
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix CI linter errors
fix linter errors
address pr review comments
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix via make update cmd
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
address PR feedback and add tests
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix codespell
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix ci linter checks
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove volsToExclude processing from volume policy logic and add tests
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix ci linter issue
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-04-23 12:54:14 -07:00
Wenkai Yin(尹文开)
40b0683dfc
Use specific credential rather than the credential chain for Azure
...
Use specific credential rather than the credential chain for Azure
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-04-15 19:27:30 +08:00
eveneast
d0350960b6
Fix some comments
...
Signed-off-by: eveneast <qcqs@foxmail.com >
2024-04-15 14:48:20 +08:00
Xun Jiang
d3cc42d577
Change the timeout handling code due to third-party package change
...
The wait error changed from `timed out waiting for the condition`
to `context deadline exceeded`.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-13 23:27:02 +08:00
Xun Jiang
30995bcbd2
Add more UT for the CSI plugins.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-13 23:22:43 +08:00
Lyndon-Li
dcf760d5f1
issue 7648:avoid snapshot leak on expose failure
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-12 10:41:39 +08:00
Lyndon-Li
61061d5c83
issue 7648: merge main
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-12 10:18:02 +08:00
Lyndon-Li
bf03938dd2
issue 7648: don't leak snapshot on failure
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-11 19:23:57 +08:00
Xun Jiang/Bruce Jiang
8df4e6aded
Merge branch 'main' into merge_csi
...
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
2024-04-10 18:54:16 +08:00
Xun Jiang/Bruce Jiang
7935236db0
Merge pull request #7584 from mmorel-35/json-patch/v5
...
build(deps): bump json-patch to v5.8.0
2024-04-10 18:40:16 +08:00
Xun Jiang
31e140919a
Merge CSI plugin code.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-10 14:53:29 +08:00
Wenkai Yin(尹文开)
91774af54d
Empty the list before next round of listing
...
Empty the list before next round of listing
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-04-08 18:57:29 +08:00
Matthieu MOREL
a9085033b2
build(deps): bump json-patch to v5.8.0
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-29 14:08:33 +00:00
lyndon-li
67bd694d1b
Merge pull request #7437 from Lyndon-Li/issue-fix-7036
...
Issue 7036: node selection for data mover backup
2024-03-29 17:04:40 +08:00
Xun Jiang/Bruce Jiang
d640cc16ab
Merge pull request #7573 from mmorel-35/golangci-lint-exclude-rules
...
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
2024-03-28 16:39:40 +08:00
qiuming
e80bdcf2e2
Merge pull request #7451 from qiuming-best/maintenance-job
...
Add repository maintenance job
2024-03-28 14:47:15 +08:00
Ming Qiu
8d63c76c92
Add maintenance job
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-03-28 03:22:06 +00:00
Matthieu MOREL
ef04ef6361
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 20:17:34 +00:00
Matthieu MOREL
3c704ba1b1
linter(testifylint): use Len or Empty for arrays testing ( #7555 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 14:16:58 -04:00
Wenkai Yin(尹文开)
4c95edd8ba
Support certificate-based authentication for Azure
...
Support certificate-based authentication for Azure
Fixes #6735
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-21 15:59:37 +08:00
Wenkai Yin(尹文开)
79e9e31d8d
Merge pull request #7489 from ywk253100/240229_lib
...
Bump up the versions of several Kubernetes-related libs
2024-03-12 16:12:56 +08:00
Wenkai Yin(尹文开)
8752c3a820
Bump up the versions of severel Kubernetes-related libs
...
Bump up the versions of severel Kubernetes-related libs
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-05 13:09:38 +08:00
Shahaf Bahar
36d58943cd
Skip pvb creation when pvc excluded
...
Signed-off-by: Shahaf Bahar <sbahar@redhat.com >
2024-02-27 16:30:29 +08:00
Wenkai Yin(尹文开)
f6383916a2
Don't return error when no credential file found
...
Don't return error when no credential file found
Fixes #7395
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-02-19 17:02:30 +08:00
Lyndon-Li
7bf7fb9fc1
issue 7036: fail early by peek expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-18 14:34:35 +08:00
Tiger Kaovilai
a5c72a4866
BackupRepositories associated with a BSL are invalidated when BSL is (re-)created. ( #7380 )
...
* Add BackupRepositories invalidation on BSL Create
Simplify comments
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
* Simplify
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
---------
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-06 10:13:30 -05:00
Lyndon-Li
9a907a21f2
issue-7036:data mover load affinties
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-05 14:13:10 +08:00
Ming Qiu
92fdf407c7
Fix intermediate pv delete for data mover
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-01-04 03:26:47 +00:00
qiuming
2fa785a3dd
Merge pull request #7052 from qiuming-best/data-mover-fail-early
...
Make data mover fail early
2023-12-05 16:33:46 +08:00
Xun Jiang
c77bec73bb
Move VolumesInformation to an independant package.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-12-04 08:33:37 +08:00
Shashank Singh
a318e1da99
Fix floatation of error/message in the backup result. ( #7159 )
...
* Fix floatation of error/message in the backup/restore result
Signed-off-by: Shashank Singh <shashank1306s@gmail.com >
* fix for checkgates
Signed-off-by: Shashank Singh <shashank1306s@gmail.com >
* refactoring
Signed-off-by: Shashank Singh <shashank1306s@gmail.com >
---------
Signed-off-by: Shashank Singh <shashank1306s@gmail.com >
2023-12-01 09:50:01 +05:30
Ming
03dff100a3
Make data mover fail early
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-11-29 03:03:53 +00:00
yanggang
c78e8980d8
Use camel case for API objects: configmaps and secrets.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-11-16 22:17:35 +00:00
Lyndon-Li
067984b13c
Issue 7068: add a finalizer to protect retained VSC
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-15 16:04:07 +08:00
Lyndon-Li
cb651d0436
issue 7068: add a finalizer to protect retained VSC
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-14 10:18:07 +08:00
Xun Jiang
a221a88945
Remove dependency of generated client part 2
...
Remove dependecy of generate client from pkg/cmd/cli/snapshotLocation.
Remove the Velero generated informer from PVB and PVR.
Remove dependency of generated client from pkg/podvolume directory.
Replace generated codec with runtime codec.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-03 17:11:36 +08:00
Xun Jiang
908e2c63ba
Check whether the action is a CSI action and whether CSI feature is
...
enabled, before executing the action.
The DeleteItemAction is not checked, because the DIA doesn't have a
method to get the action's plugin name.
This should be OK, because the CSI will check whether the VS and VSC
have a backup name annotation. If the VS and VSC is not handled by
the CSI plugin, then they don't have the annotation.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-24 16:54:38 +08:00
Yang Gang
7ca33f8f12
Add MSI Support for Azure plugin. ( #6938 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-10-16 09:47:53 +05:30
David Zaninovic
8e01d1b9be
Add support for block volumes ( #6680 )
...
Signed-off-by: David Zaninovic <dzaninovic@catalogicsoftware.com >
2023-09-28 09:44:46 -04:00
Lyndon-Li
2e71cffe0e
issue: move plugin depdending podvolume functions to util pkg
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-26 16:39:33 +08:00
Wenkai Yin(尹文开)
b598150cd1
Support setting CA cert for BSL
...
Support setting CA cert for BSL
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-19 11:28:05 +08:00
Wenkai Yin(尹文开)
3a291e368a
Make Kopia support Azure AD
...
This commit introduces our own Azure storage provider by wrapping Kopia's implementation rather than contributing to upstream based on the following considerations:
1. Velero needs the capability to interact with the repository concurrently while Kopia doesn't, this will increase the complexity of Kopia if we contribute to upstream
2. The configuration items provided by Velero and Kopia are conflict, e.g. Velero supports customizing storage account URI which is a full path while Kopia supports customizing storage account domain which is part of the URI. We need to consider the backward compatibility and upgrade case if we contribute to upstream which needs extra efforts
3. Contribute to upstream is a longer cycle when we need to introduce new changes. With this commit, we no longer depends on upstream for the Azure storage provider part and is easy for us to maintain
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-19 11:28:04 +08:00
Lyndon-Li
53489b10ad
issue 6786:always delete VSC regardless of the deletion policy
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-15 12:10:20 +08:00
Lyndon-Li
c4443d506c
fix issue 6733
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-01 15:49:13 +08:00
Lyndon-Li
b90c5bba3d
continue wait on csi snapshot error
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-08-10 11:34:26 +08:00
Lyndon-Li
22c88ba330
data mover fail earlier for snapshot creation error
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-08-08 12:05:56 +08:00