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
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
Xun Jiang
9e515ac397
Remove dependency of the legacy client code from pkg/cmd directory part 2.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-07-17 17:04:53 +08:00
lyndon
ddc50affa9
Merge pull request #6492 from Lyndon-Li/data-mover-restore-abort-for-existing-pvc
...
Data mover restore abort for existing PVC
2023-07-14 17:19:53 +08:00
lyndon
dfd7970219
Merge pull request #6469 from blackpiglet/6190_fix
...
Remove dependency of the legacy client code from pkg/cmd directory part 1
2023-07-14 17:15:56 +08:00
Xun Jiang
89d3ad4864
Remove dependency of the legacy client code from pkg/cmd directory.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-07-14 15:55:09 +08:00
Lyndon-Li
eebb879278
data mover restore abort for existing pvc
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-07-14 10:07:33 +08:00
Tiger Kaovilai
05722876b9
Moving kopia logging to remove kopia from indirect dependency in velero plugins
...
when running `go mod why -m github.com/kopia/kopia` in velero-plugins prior to this change you will see following
```
❯ go mod why -m github.com/kopia/kopia
github.com/konveyor/openshift-velero-plugin/velero-plugins
github.com/vmware-tanzu/velero/pkg/plugin/framework
github.com/vmware-tanzu/velero/pkg/util/logging
github.com/kopia/kopia/repo/logging
```
after
```
❯ go mod why -m github.com/kopia/kopia
(main module does not need module github.com/kopia/kopia)
```
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-07-12 10:44:33 -04:00
Xun Jiang
d7f1ea4fbd
Add exit code log and possible memory shortage warning log for Restic command failure.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-07-05 21:35:52 +08:00
Lyndon-Li
75b7599178
add UT for pkg/util 02
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-15 12:17:05 +08:00
Lyndon-Li
b00633976b
Merge branch 'main' into issue-fix-6341
2023-06-15 10:11:47 +08:00
lyndon
6bbdc846ff
Merge pull request #6357 from Lyndon-Li/data-mover-restore-expose-03
...
Data mover restore expose
2023-06-15 09:48:17 +08:00
Lyndon-Li
217b1dd066
add UT for pkg/util
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-08 14:00:58 +08:00
Xun Jiang/Bruce Jiang
4227a824cd
Merge pull request #6327 from blackpiglet/6099_fix
...
Remove Wait VolumeSnapshot to ReadyToUse logic.
2023-06-07 14:56:26 +08:00
Lyndon-Li
2ea6ffb63f
data mover restore expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-06 16:14:58 +08:00
Xun Jiang
7491ab1ec5
Remove Wait VolumeSnapshot to ReadyToUse logic.
...
Due to the logic moving to plugin, and the plugin cannot read the
Velero server's resourceTimeout setting, add the resourceTimeout
in the backup annotation to pass to plugin.
Remove VolumeSnapshotContent reset code from Velero server.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-06-02 14:43:43 +08:00
Lyndon-Li
25624d3030
data mover backup expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-06-02 11:51:36 +08:00
Lyndon-Li
5f008d18fa
Merge branch 'main' into data-mover-generic-data-path
2023-05-17 10:15:52 +08:00