Lyndon-Li
a752b54614
issue 8857: support third party tolerations
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-07-08 14:23:00 +08:00
Lyndon-Li
88ec5fa193
issue 8813: remove restic from the valid uploader type
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-07-07 15:55:24 +08:00
Daniel Jiang
a550910f36
Add Gauge metric for BSL availability
...
The label of the gauge is the name of BSL
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
2025-07-03 17:36:19 +08:00
Tiger Kaovilai
5a5abb59ba
Add tests for backup and restore metrics with adhoc backups
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2025-07-03 10:32:37 +08:00
Xun Jiang
b5426516da
Make the backup repository controller doesn't invalidate the BSL on restart.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-07-02 17:57:06 +08:00
Xun Jiang/Bruce Jiang
b7ffcf64cc
Merge pull request #9048 from sseago/multiple-hook-tracking
...
Allow for proper tracking of multiple hooks per container
2025-07-02 17:05:12 +08:00
Xun Jiang
f2133c7d22
The backup and restore data mover node selection.
...
Update Makefile to let the `make serve-docs` work again.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-07-01 16:26:12 +08:00
Scott Seago
ca61b65302
Allow for proper tracking of multiple hooks per container
...
Signed-off-by: Scott Seago <sseago@redhat.com>
2025-06-27 16:40:15 -04:00
Priyansh Choudhary
bd609db395
Remove username/password credential handling from newConfigCredential ( #9041 )
...
* remove username/password credential handling from newConfigCredential
Signed-off-by: Priyansh Choudhary <im1706@gmail.com>
* changelog update
Signed-off-by: Priyansh Choudhary <im1706@gmail.com>
* remove username/password credential tests from newConfigCredential.
Signed-off-by: Priyansh Choudhary <im1706@gmail.com>
---------
Signed-off-by: Priyansh Choudhary <im1706@gmail.com>
2025-06-27 10:02:41 -04:00
Xun Jiang/Bruce Jiang
5ebb055c57
Add UT for maintenance's DeleteOldJobs function. ( #9013 )
...
Unify the k8s.io/api/batch/v1 import alias to bactchv1api.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-06-26 20:49:26 -04:00
Matthieu MOREL
4089a92147
chore: enable usetesting linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-06-26 08:05:50 +02:00
Xun Jiang/Bruce Jiang
b0b5cc4236
Remove dependency with VolumeSnapshotClass in DataUpload. ( #9040 )
...
Don't add VSClass in the additionalItems when it's empty.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
Signed-off-by: xun.jiang <xun.jiang@broadcom.com>
2025-06-25 15:36:15 -04:00
lyndon-li
4e5020d463
Merge pull request #9030 from Lyndon-Li/vgdp-ms-resume-pvb-pvr
...
VGDP resume PVB/PVR
2025-06-25 17:20:46 +08:00
Lyndon-Li
0450290095
resume PVB/PVR on node-agent restart
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-25 14:24:18 +08:00
Jan Jansen
81105031a7
copy security context from origin pod
...
Signed-off-by: Jan Jansen <jan.jansen@gdata.de>
2025-06-24 16:17:08 +08:00
lyndon-li
2afb55d64e
Merge branch 'main' into vgdp-ms-resume-pvb-pvr
2025-06-24 11:34:53 +08:00
lyndon-li
c7e87e02ee
Merge branch 'main' into vgdp-ms-resume-pvb-pvr
2025-06-24 11:09:16 +08:00
Lyndon-Li
d73cef3b94
handle velero server and node-agent restarts for vgdp ms for pvb
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-24 11:07:26 +08:00
lyndon-li
18f817295c
Merge branch 'main' into vgdp-ms-cancel-pvb-pvr
2025-06-24 10:52:54 +08:00
Matthieu MOREL
07ea14962c
fix require-error rule from testifylint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-06-23 15:39:54 +00:00
Lyndon-Li
cded6bd207
cancel pvb/pvr on velero server restarts
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-23 15:29:09 +08:00
Matthieu MOREL
3024e6223e
fix equal-values rule from testifylint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-06-22 22:41:08 +02:00
Matthieu MOREL
f42335c8af
fix empty rule from testifylint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-06-22 22:41:08 +02:00
Matthieu MOREL
59825a0506
fix len rule from testifylint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-06-22 22:41:08 +02:00
Lyndon-Li
2fb9fbc4b4
Merge branch 'main' into vgdp-ms-resume-pvb-pvr
2025-06-19 16:12:00 +08:00
lyndon-li
c080a95445
Merge branch 'main' into bump-kopia-v0.20.1
2025-06-19 14:53:01 +08:00
lyndon-li
a8f99fa263
Merge branch 'main' into bump-kopia-v0.20.1
2025-06-19 14:24:03 +08:00
Lyndon-Li
12f56111c1
handle velero server and node-agent restarts for vgdp ms for pvb
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-18 20:04:36 +08:00
lyndon-li
14058f613b
Merge branch 'main' into vgdp-ms-pvbr-describe
2025-06-18 16:00:18 +08:00
Lyndon-Li
e4caab4086
support cancel for PVB/PVR in backups/restores
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-18 15:58:28 +08:00
Lyndon-Li
2e7d11e3b6
bump kopia v0.20.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-18 13:35:12 +08:00
lyndon-li
ea9a6beeb2
Merge branch 'main' into vgdp-ms-legacy-pvr-controller
2025-06-17 13:17:20 +08:00
Lyndon-Li
6274593840
legacy pvr controller for restic path
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-16 17:22:04 +08:00
Lyndon-Li
dddf764620
pvr controller for legacy restic restore
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-16 15:51:35 +08:00
Lyndon-Li
749d57db3e
windows support for vgdp ms for pvb
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-16 15:27:51 +08:00
Lyndon-Li
c001eee088
vgdp ms pvb controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-12 16:02:12 +08:00
Lyndon-Li
33bb51b14d
Merge branch 'main' into vgdp-ms-pvb-controller
2025-06-12 15:52:22 +08:00
Lyndon-Li
b8bb67a0d5
Merge branch 'main' into vgdp-ms-pvb-controller
2025-06-12 11:31:28 +08:00
Lyndon-Li
c3a8c89ae3
vgdp ms pvb controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-12 11:30:51 +08:00
Lyndon-Li
4880da4c74
Merge branch 'main' into vgdp-ms-pvr-controller
2025-06-12 11:21:00 +08:00
Shubham Pampattiwar
0df773bb9f
Merge pull request #8944 from shubham-pampattiwar/vgs-task-2
...
Extend PVCAction itemblock plugin to support grouping PVCs under VGS label key
2025-06-11 10:49:56 -07:00
Lyndon-Li
5b9904832d
Merge branch 'main' into vgdp-ms-pvb-controller
2025-06-11 17:29:04 +08:00
Lyndon-Li
99c699fcb1
vgdp ms pvb controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-11 09:22:43 +00:00
Lyndon-Li
0359b07579
Merge branch 'main' into vgdp-ms-pvr-controller
2025-06-11 15:30:22 +08:00
Shubham Pampattiwar
97a4d62d3c
Extend PVCAction itemblock plugin to support grouping PVCs under VolumeGroupSnapshot label
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
Add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
Update VGS label key and address PR feedback
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
update log level to debug for edge cases
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
Change VGS label key constant location
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
run make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2025-06-10 07:01:45 -07:00
Lyndon-Li
fec271180d
vgdp ms pvr controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-10 19:25:02 +08:00
Lyndon-Li
390da9cfb2
Merge branch 'main' into vgdp-ms-pvr-controller
2025-06-10 17:59:30 +08:00
lyndon-li
8b7a31b006
Merge branch 'main' into vgdp-ms-pvr-data-path
2025-06-10 17:53:02 +08:00
Lyndon-Li
ac4cf70d67
vgdp ms pvr data path
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-10 17:48:30 +08:00
Lyndon-Li
1f5436fe91
vgdp ms pvr controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-10 16:54:21 +08:00
Matthieu MOREL
00ce103a50
Refactor affinity tests to use require and assert for better readability and error reporting
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-06-09 07:33:22 +02:00
Xun Jiang
1b7175394a
Skip VS and VSC not created by backup.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-06-07 10:51:05 +08:00
Lyndon-Li
73e1c8ae4a
Merge branch 'main' into vgdp-ms-pvr-data-path
2025-06-06 15:39:08 +08:00
Lyndon-Li
5d5d4cd657
Merge branch 'main' into pod-volume-exposer
2025-06-06 14:40:26 +08:00
Lyndon-Li
d795f41a47
vgdp ms pvr data path
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-06 06:23:32 +00:00
Lyndon-Li
3f830a7b19
Merge branch 'main' into vgdp-ms-pvr-data-path
2025-06-06 11:33:24 +08:00
Xun Jiang/Bruce Jiang
2390bc8e71
Merge pull request #8976 from blackpiglet/7785_fix
...
Add BSL status check for backup/restore operations.
2025-06-06 11:22:10 +08:00
Lyndon-Li
829e75e9b7
issue 8960: implement PodVolume exposer for PVB/PVR
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-04 13:44:10 +08:00
Lyndon-Li
a65e11e04d
data path for vgdp ms pvb
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-03 15:19:42 +08:00
Lyndon-Li
b54404fc56
vgdp ms pvr data path
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-03 14:59:57 +08:00
lyndon-li
bd23062c24
Merge branch 'main' into pod-volume-exposer
2025-06-03 14:05:11 +08:00
Lyndon-Li
5ccf22e0b0
Merge branch 'main' into vgdp-ms-pvb-data-path
2025-06-03 13:26:52 +08:00
Lyndon-Li
92c72b1a63
data path for vgdp ms pvb
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-06-03 13:25:48 +08:00
Shubham Pampattiwar
d2c6b6bc3e
Add support for configuring VGS label key ( #8938 )
...
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2025-05-30 11:03:47 -04:00
Wenkai Yin(尹文开)
681a874298
Merge pull request #8975 from ywk253100/250526_repo
...
Mark BackupRepository not ready when BSL changed
2025-05-30 14:53:35 +08:00
Lyndon-Li
d903e9eda7
issue 8960: implement PodVolume exposer for PVB/PVR
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-05-30 13:45:31 +08:00
Xun Jiang
f604a5da48
Add BSL status check for backup/restore operations.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-05-30 10:21:32 +08:00
Lyndon-Li
9dbfdbc4d8
Merge branch 'main' into pod-volume-exposer
2025-05-29 17:10:23 +08:00
Lyndon-Li
b7d997130d
issue 8960: implement PodVolume exposer for PVB/PVR
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-05-29 17:09:03 +08:00
Xun Jiang
8ce07eb94c
Remove CSI VS and VSC metadata from backup.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-05-29 16:20:06 +08:00
Xun Jiang
2d71430e80
Skip namespace in terminating state in backup resource collection.
...
To make sure resources in terminating namespaces are not included.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-05-29 10:32:32 +08:00
Wenkai Yin(尹文开)
d0374fadb6
Mark BackupRepository not ready when BSL changed
...
Mark BackupRepository not ready when BSL changed
Fixes #8860
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2025-05-27 14:43:14 +08:00
Lyndon-Li
b222b88c94
dm controller refactor for cancel
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-05-22 14:56:15 +08:00
Lyndon-Li
38c927711a
dm controller refactor for cancel
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-05-21 11:29:35 +08:00
Wenkai Yin(尹文开)
5ba4bd1373
Call WaitGroup.Done() once only when PVB changes to final status the first time to avoid panic
...
Call WaitGroup.Done() once only when PVB changes to final status the first time to avoid
panic
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2025-05-14 17:26:32 +08:00
Xun Jiang/Bruce Jiang
d5a2e7e6b9
Add VolumeSnapshotContent into the RIA and the mustHave resource list. ( #8924 )
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-05-12 16:08:45 +08:00
lyndon-li
8d0d15db10
Merge pull request #8902 from sseago/warn-managed-fields-patch
...
For not found errors on managed fields, add restore warning
2025-05-07 10:50:09 +08:00
lyndon-li
4d10047d67
issue-8878: relief node os deduction error checks ( #8891 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-05-06 12:38:05 -04:00
Scott Seago
6b630f73d8
For not found errors on managed fields, add restore warning
...
Signed-off-by: Scott Seago <sseago@redhat.com>
2025-05-02 15:07:09 -04:00
Tiger Kaovilai
43ab5b5070
Fix undefined v1 for corev1api
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2025-04-25 14:38:55 -04:00
Felix Prasse
1589439441
Propagate dns settings to backup pods ( #8845 )
...
* Propagate dns settings to backup pods
Signed-off-by: Felix Prasse <1330854+flx5@users.noreply.github.com>
* Add changelog for PR 8845
Signed-off-by: Felix Prasse <1330854+flx5@users.noreply.github.com>
---------
Signed-off-by: Felix Prasse <1330854+flx5@users.noreply.github.com>
2025-04-25 02:49:53 +00:00
hu-keyu
e06b62e3a8
issue8827: Pass logger in call chain ( #8875 )
...
* Pass logger in call chain
Signed-off-by: hu-keyu <hzldd999@gmail.com>
2025-04-23 14:44:05 +08:00
Matthieu MOREL
c6a420bd3a
chore: define common aliases for k8s packages ( #8672 )
...
* lchore: define common alias for k8s packages
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-22 06:14:47 -04:00
Matthieu MOREL
5705bcc3f4
chore: bump golangci-lint to v2 ( #8839 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-17 02:38:19 -04:00
Lyndon-Li
68968b3e54
issue 8847: inherit pod info from node-agent-windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-04-07 19:30:25 +08:00
hu-keyu
5160f96c2e
issue8294: inherit k8s default volumeSnapshotClass ( #8721 )
...
* inherit k8s default volumeSnapshotClass
Signed-off-by: hu-keyu <hzldd999@gmail.com>
* add doc change for issue8294
Signed-off-by: hu-keyu <hzldd999@gmail.com>
---------
Signed-off-by: hu-keyu <hzldd999@gmail.com>
2025-04-07 12:21:13 +05:30
Lyndon-Li
f1dcb7ba11
add third party annotation support for maintenance job
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-03-25 13:43:38 +08:00
Lyndon-Li
3c5ebbadd3
issue 8803: use deterministic name to create backupRepository
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-03-24 18:34:33 +08:00
Xun Jiang
1652e6b27f
Modify how the restore workflow using the resource name.
...
The restore workflow used name represents the backup resource and the
restore to be restored, but the restored resource name may be different
from the backup one, e.g. PV and VSC are global resources, to avoid
conflict, need to rename them.
Reanme the name variable to backupResourceName, and use obj.GetName()
for restore operation.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2025-03-20 18:42:09 +08:00
Roger Zimmermann
38a52980cc
Issue #8772 ensure pv removed ( #8777 )
...
* ensure pv has been deleted
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch>
* ensure delete pv unit test
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch>
* comment, errors
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch>
* updated changelog
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch>
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch>
* pass value
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch>
* function renamed as suggested
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch>
---------
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch>
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
2025-03-13 10:39:25 -04:00
lyndon-li
d1a244e12f
Merge pull request #8774 from mpryc/upstream_8649
...
issue 8649: host_pods should not be mandatory to node-agent
2025-03-12 08:39:00 +08:00
Shubham Pampattiwar
6337c52cfb
Merge pull request #8755 from sseago/csi-pvc-annotations
...
Move pvc annotation removal from CSI RIA to regular PVC RIA
2025-03-11 10:45:58 -07:00
Michal Pryc
b4eee87e18
issue 8649: host_pods should not be mandatory to node-agent
...
Enables the node-agent to start even if the
/host_pods path does not exist.
If the path is present, the existing logic
remains unchanged, ensuring it is readable.
Signed-off-by: Michal Pryc <mpryc@redhat.com>
2025-03-11 13:11:25 +01:00
Lyndon-Li
b170892e64
issue 8754: add third party annotation support
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2025-03-10 10:38:26 +08:00
Scott Seago
fe14a2c934
Move pvc annotation removal from CSI RIA to regular PVC RIA
...
Combine existing PVC non-CSI RIAs and move annotation
removal out of the CSI plugin to fix issues with
CSI volumes when using fs-backup
Signed-off-by: Scott Seago <sseago@redhat.com>
2025-03-05 15:55:55 -05:00
Matthieu MOREL
6a6a237ba7
Bump golangci-lint from v1.57.2 to v1.64.5 ( #8641 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-03-04 13:55:29 +05:30
Wenkai Yin(尹文开)
ee43d040a6
Return directly if no pod volme backup are tracked
...
Return directly if no pod volme backup are tracked
Fixes #8723
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2025-02-27 16:56:03 +08:00
Shubham Pampattiwar
0eb1040a0a
Add labels as a criteria for volume policy ( #8713 )
...
* Add labels as a criteria for volume policy
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
handle err
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
use labels selector.matches
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
remove fetching pvc from volume policy filtering
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
add more ut coverage
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
* minor updates
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
use VolumeFilterData struct in GetMatchAction func
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
update parsePVC func and add more ut
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
lint fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
---------
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2025-02-26 10:02:45 -05:00
Wenkai Yin(尹文开)
a45c9f27e8
Merge pull request #8715 from Lyndon-Li/issue-fix-8706
...
Issue 8706: for immediate volumes, get node from volumeattachment
2025-02-25 14:25:45 +08:00
Xun Jiang/Bruce Jiang
f79b825cf1
Merge pull request #8684 from blackpiglet/7979_fix
...
7979 fix
2025-02-25 13:27:01 +08:00