Tiger Kaovilai and GitHub
1daa685e7d
Make ResticIdentifier optional for kopia repositories ( #8987 )
...
The ResticIdentifier field in BackupRepository is only relevant for restic
repositories. For kopia repositories, this field is unused and should be
omitted. This change:
- Adds omitempty tag to ResticIdentifier field in BackupRepository CRD
- Updates controller to only populate ResticIdentifier for restic repos
- Adds tests to verify behavior for both restic and kopia repository types
This ensures backward compatibility while properly handling kopia repositories
that don't require a restic-compatible identifier.
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-07-24 22:25:09 -04:00
Shubham Pampattiwar
a73a150d98
Accommodate VGS workflows in PVC CSI plugin
...
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 >
lint fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add unit tests for getVSForPVC func
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Use v1beta1 instead of v1 v1alpha1
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
go mod tidy
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update updateVGSCreatedVS func to use retry on conflict
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update minor fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix ut assert
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Address PR feedback
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
minor updates
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove unsused func and add todo for dep upgrades
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-07-21 11:36:40 -07:00
Xun Jiang/Bruce Jiang and GitHub
b0b5cc4236
Remove dependency with VolumeSnapshotClass in DataUpload. ( #9040 )
...
Run the E2E test on kind / build (push) Failing after 6m30s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m0s
Close stale issues and PRs / stale (push) Successful in 19s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m40s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m29s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m41s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m39s
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
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
4880da4c74
Merge branch 'main' into vgdp-ms-pvr-controller
2025-06-12 11:21:00 +08:00
Shubham Pampattiwar and GitHub
0df773bb9f
Merge pull request #8944 from shubham-pampattiwar/vgs-task-2
...
Run the E2E test on kind / build (push) Failing after 5m45s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 30s
Close stale issues and PRs / stale (push) Successful in 10s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m12s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 2m21s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 50s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 52s
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
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
1f5436fe91
vgdp ms pvr controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-06-10 16:54:21 +08:00
Lyndon-Li
3f830a7b19
Merge branch 'main' into vgdp-ms-pvr-data-path
2025-06-06 11:33:24 +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
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 and GitHub
d2c6b6bc3e
Add support for configuring VGS label key ( #8938 )
...
Run the E2E test on kind / build (push) Failing after 6m38s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 31s
Close stale issues and PRs / stale (push) Successful in 10s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m17s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m40s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 45s
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-05-30 11:03:47 -04:00
Matthieu MOREL and GitHub
c6a420bd3a
chore: define common aliases for k8s packages ( #8672 )
...
Run the E2E test on kind / build (push) Failing after 6m48s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m11s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 47s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 43s
* 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
hu-keyu and GitHub
5160f96c2e
issue8294: inherit k8s default volumeSnapshotClass ( #8721 )
...
Run the E2E test on kind / build (push) Failing after 7m33s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 38s
* 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
a8469126d8
data mover restore for Windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-10 08:58:32 +00:00
Lyndon-Li
77f1141ef5
backup repo crd changes for repo maintenance history
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-23 15:24:17 +08:00
Lyndon-Li
3b2c50b459
add repo maintain result in history
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-19 16:20:15 +08:00
Lyndon-Li
dfdb1c139d
backup repo crd changes
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-18 10:56:46 +00:00
Lyndon-Li
86082eb137
move the accepted info from annotations to DU/DD CR
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-09 16:39:04 +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
Daniel Jiang
2197cab3db
Display CSI snapshot restores in restore describe
...
This commit makes change to CLI so `velero restore describe` will
download restore volume info and render the CSI snapshot restores based
on its content.
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-04-16 17:08:05 +08:00
Wenkai Yin(尹文开) and GitHub
f3295ccf08
Merge pull request #7666 from reasonerjt/bumpup-to-go1.22-new
...
Bump up to go1.22
2024-04-15 15:37:32 +08:00
Daniel Jiang and Daniel Jiang
1b3fe95980
Bump up golang to v1.22
...
This commit bumps up the golang for building and testing velero to v1.22
It also updates controller-gen to v0.14.0 to fix an issue under new
versino of go.
More details see https://github.com/golang/go/issues/65637
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2024-04-14 20:15:51 +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
Daniel Jiang
0a280e5786
Track and persist restore volume info
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2024-04-11 17:32:18 +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
Lyndon-Li
711609e00e
issue 7583: set backupName optional for Restore CRD
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-03 10:00:55 +08:00
qiuming and GitHub
365423d220
Merge pull request #7512 from qiuming-best/support-parallel-restore
...
Make parallel restore configurable
2024-03-25 10:49:40 +08:00
Ming Qiu
64a3f2aa3a
Make parallel restore configurable
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-03-19 15:15:47 +08:00
Wenkai Yin(尹文开) and GitHub
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
allenxu404
2b8bb871d3
Add the finalization phase to the restore workflow
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2024-02-29 13:51:45 +08:00
zhongjun.li
306a8fda3e
fix-item-operation-timeout-explain
...
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io >
2024-01-08 15:00:06 +08:00
Tiger Kaovilai
e4bd59727f
Schedule SkipImmediately
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-12-08 09:12:08 +07:00
lyndon-li and GitHub
099acd2527
Merge pull request #7141 from qiuming-best/support-restore-sparse
...
Allow sparse option for Kopia & Restic restore
2023-12-06 18:25:34 +08:00
Ming Qiu
1a237d3e4c
Update API
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-12-06 08:59:12 +00:00
Ming Qiu
0afaa70e9b
Merge branch 'main' of https://github.com/qiuming-best/velero into support-restore-sparse
2023-11-30 10:55:55 +00:00
Xun Jiang
3805a470a9
Enable dupword linter.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-29 11:13:46 +08:00
Ming Qiu
b57dde1572
Allow sparse option for Kopia & Restic restore
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-11-28 13:48:09 +00:00
allenxu404
5d1a632be4
Add hook status to backup/restore CR
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-11-28 14:47:31 +08:00
Ming Qiu
c2d4495efe
Merge branch 'main' of https://github.com/qiuming-best/velero into kopia-parallelism
2023-11-22 03:52:20 +00:00
Ming Qiu
fea22bbbc9
Merge branch 'main' of https://github.com/qiuming-best/velero into kopia-parallelism
2023-11-22 01:42:39 +00:00
Xun Jiang
7f52321772
Generate VolumeInfo.
...
Remove CSI VolumeSnapshot listter and the informer.
Add download the VolumeInfos metadata for backup.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-22 09:40:38 +08:00
Anshul Ahuja and GitHub
6b7ce6655d
Merge pull request #7022 from allenxu404/i6721
...
Fix inconsistent behavior of Backup and Restore hook execution
2023-11-06 14:01:30 +05:30
allenxu404
3a3527553a
Fix inconsistent behavior of Backup and Restore hook execution
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-11-02 12:31:53 +08:00
Shubham Pampattiwar and GitHub
23921e5d29
add description markers for dataupload and datadownload CRDs ( #7028 )
...
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2023-10-27 11:05:10 -04:00