lyndon-li
1160ae209e
Merge pull request #9716 from Lyndon-Li/cbt-interfaces
...
Run the E2E test on kind / get-go-version (push) Failing after 53s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 10s
Main CI / Build (push) Failing after 1m2s
Add CBT interfaces for block data mover
2026-04-21 14:56:37 +08:00
lyndon-li
256e1063d7
Merge branch 'main' into cbt-interfaces
2026-04-21 14:16:23 +08:00
Lyndon-Li
2ca4e46327
add cbt interfaces
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-17 15:38:44 +08:00
Wenkai Yin(尹文开)
a75775ef49
Merge pull request #9724 from Lyndon-Li/unified-repo-interface-extension
...
Run the E2E test on kind / get-go-version (push) Failing after 1m2s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 13s
Main CI / Build (push) Failing after 31s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m37s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m14s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m21s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m11s
Unified repo interface extension for block data mover
2026-04-17 14:27:52 +08:00
Scott Seago
8e9e6b4d36
added parallel backup configuration to install docs ( #9729 )
...
Run the E2E test on kind / get-go-version (push) Failing after 8m3s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 14s
Main CI / Build (push) Failing after 40s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m27s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m8s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m14s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m8s
* added parallel backup configuration to install docs
Signed-off-by: Scott Seago <sseago@redhat.com >
* Update site/content/docs/main/customize-installation.md
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Signed-off-by: Scott Seago <sseago@redhat.com >
---------
Signed-off-by: Scott Seago <sseago@redhat.com >
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
2026-04-16 14:42:48 -04:00
lyndon-li
71b230f82e
Merge pull request #9728 from blackpiglet/9490_fix
...
Run the E2E test on kind / get-go-version (push) Failing after 1m18s
Run the E2E test on kind / build (push) Has been skipped
Run the E2E test on kind / setup-test-matrix (push) Successful in 5s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / get-go-version (push) Successful in 22s
Main CI / Build (push) Failing after 33s
Remove Restic build from Dockerfile, Makefile and Tiltfile.
2026-04-16 18:07:36 +08:00
Lyndon-Li
455f3ba305
unified repo interface extension for block data mover
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-16 18:02:30 +08:00
Nolan Emirot
fc6361ba06
perf: better string concatenation ( #9705 )
...
* perf: better string concatenation
Signed-off-by: emirot <emirot.nolan@gmail.com >
Signed-off-by: nolanemirot <nolan.emirot@broadcom.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* fix: backup deletion silently succeeds when tarball download fails (#9693 )
* Enhance backup deletion logic to handle tarball download failures and clean up associated CSI VolumeSnapshotContents
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* added changelog
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Refactor error handling in backup deletion
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Refactor backup deletion logic to skip CSI snapshot cleanup on tarball download failure
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* prevent backup deletion when errors occur
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* added logger
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* perf: better string concatenation
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Add delay to avoid race conditions during VolumeSnapshotContent deletion (#9700 )
* Add delay to avoid race conditions during VolumeSnapshotContent deletion
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* updated changelog
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Updated Changelog
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* block data mover design
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* block data mover design
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* irregular volume size
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* block data mover design
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Update the "community" page of website (#9722 )
Update the community page to add the correct links to community meeting
and meeting notes.
I also removed the referece of google group as I confirmed the last
message was sent 2 years ago.
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* perf: better string concatenation
Signed-off-by: emirot <emirot.nolan@gmail.com >
---------
Signed-off-by: emirot <emirot.nolan@gmail.com >
Signed-off-by: nolanemirot <nolan.emirot@broadcom.com >
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
Co-authored-by: Priyansh Choudhary <im1706@gmail.com >
Co-authored-by: nolanemirot <nolan.emirot@broadcom.com >
Co-authored-by: Lyndon-Li <lyonghui@vmware.com >
Co-authored-by: Daniel Jiang <daniel.jiang@broadcom.com >
2026-04-16 02:56:25 -04:00
Xun Jiang
39db9f9c1e
Remove Restic build from Dockerfile, Makefile and Tiltfile.
...
Delete Restic-build-related scripts.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-04-15 23:46:31 +08:00
Daniel Jiang
4d9bd91200
Update the "community" page of website ( #9722 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m14s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 14s
Main CI / Build (push) Failing after 41s
Close stale issues and PRs / stale (push) Failing after 10m58s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 2m1s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m34s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m29s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m14s
Update the community page to add the correct links to community meeting
and meeting notes.
I also removed the referece of google group as I confirmed the last
message was sent 2 years ago.
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2026-04-15 11:15:57 -04:00
Xun Jiang/Bruce Jiang
c5fa50bedc
Merge pull request #9528 from Lyndon-Li/block-data-mover-design
...
Run the E2E test on kind / get-go-version (push) Failing after 1m15s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 18s
Main CI / Build (push) Failing after 39s
Block data mover design
2026-04-15 13:43:14 +08:00
Priyansh Choudhary
df2686c146
Add delay to avoid race conditions during VolumeSnapshotContent deletion ( #9700 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m8s
Run the E2E test on kind / build (push) Has been skipped
Run the E2E test on kind / setup-test-matrix (push) Successful in 5s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / get-go-version (push) Successful in 14s
Main CI / Build (push) Failing after 32s
* Add delay to avoid race conditions during VolumeSnapshotContent deletion
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* updated changelog
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Updated Changelog
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2026-04-14 18:26:49 -04:00
Priyansh Choudhary
8a6ac7af1c
fix: backup deletion silently succeeds when tarball download fails ( #9693 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m13s
Run the E2E test on kind / build (push) Has been skipped
Run the E2E test on kind / setup-test-matrix (push) Successful in 11s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / get-go-version (push) Successful in 13s
Main CI / Build (push) Failing after 34s
Close stale issues and PRs / stale (push) Successful in 14s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m34s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m5s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m1s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m4s
* Enhance backup deletion logic to handle tarball download failures and clean up associated CSI VolumeSnapshotContents
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* added changelog
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Refactor error handling in backup deletion
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Refactor backup deletion logic to skip CSI snapshot cleanup on tarball download failure
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* prevent backup deletion when errors occur
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* added logger
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2026-04-14 16:36:40 -04:00
lyndon-li
87b5445aac
Merge branch 'main' into cbt-interfaces
2026-04-14 15:37:59 +08:00
lyndon-li
a990bd81f1
Merge branch 'main' into block-data-mover-design
2026-04-14 15:37:45 +08:00
lyndon-li
15db9d2552
Merge pull request #9721 from Lyndon-Li/fix-change-log-path-error
...
Run the E2E test on kind / get-go-version (push) Failing after 1m7s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 13s
Main CI / Build (push) Failing after 32s
Fix change log path error for 9683
2026-04-14 15:37:31 +08:00
Lyndon-Li
1b4c7fe4be
fix change log path error for 9683
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-14 15:07:49 +08:00
Lyndon-Li
5b9bcc99f1
block data mover design
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-14 14:39:56 +08:00
Xun Jiang/Bruce Jiang
e921c177cc
Merge pull request #9701 from emirot/chore/update_base_image
...
Run the E2E test on kind / get-go-version (push) Failing after 1m17s
Run the E2E test on kind / build (push) Has been skipped
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
build-image / Build (push) Failing after 13s
Main CI / get-go-version (push) Successful in 14s
Main CI / Build (push) Failing after 32s
chore: update base image to newer debian image
2026-04-14 09:16:33 +08:00
lyndon-li
e855eaed1c
Merge branch 'main' into cbt-interfaces
2026-04-14 08:34:09 +08:00
Tiger Kaovilai
cf605c948e
Add CI check for invalid characters in file paths ( #9553 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m13s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 15s
Main CI / Build (push) Failing after 32s
Close stale issues and PRs / stale (push) Successful in 15s
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 1m14s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m6s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m15s
* Add CI check for invalid characters in file paths
Go's module zip rejects filenames containing certain characters (shell
special chars like " ' * < > ? ` |, path separators : \, and non-letter
Unicode such as control/format characters). This caused a build failure
when a changelog file contained an invisible U+200E LEFT-TO-RIGHT MARK
(see PR #9552 ).
Add a GitHub Actions workflow that validates all tracked file paths on
every PR to catch these issues before they reach downstream consumers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
* Fix changelog filenames containing invisible U+200E characters
Remove LEFT-TO-RIGHT MARK unicode characters from changelog filenames
that would cause Go module zip failures.
Generated with [Claude Code](https://claude.ai/code )
via [Happy](https://happy.engineering )
Co-Authored-By: Claude <noreply@anthropic.com >
Co-Authored-By: Happy <yesreply@happy.engineering >
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
---------
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Happy <yesreply@happy.engineering >
2026-04-13 14:52:42 -04:00
Lyndon-Li
97ffb9eaaf
add cbt interfaces
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-13 18:21:15 +08:00
emirot
cd89c0ffa7
chore: update base image to newer debian image
...
Signed-off-by: emirot <emirot.nolan@gmail.com >
2026-04-13 13:42:30 +08:00
emirot
eb0a1814c6
chore: update base image to newer debian image
...
Signed-off-by: emirot <emirot.nolan@gmail.com >
2026-04-13 13:42:30 +08:00
lyndon-li
eaef4ead42
Merge pull request #9704 from adam-jian-zhang/fix-csi-pvc-backup-plugin-scoping
...
Run the E2E test on kind / get-go-version (push) Failing after 1m7s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 10s
Main CI / Build (push) Failing after 29s
Fix DataUpload list scope in CSI PVC backup plugin
2026-04-13 13:16:14 +08:00
Adam Zhang
7562011b79
Fix DataUpload list scope in CSI PVC backup plugin
...
The `getDataUpload` function in the CSI PVC backup plugin was
previously making a cluster-scoped list query to retrieve DataUpload
CRs. In environments with strict minimum-privilege RBAC, this would
fail with forbidden errors.
This explicitly passes the backup namespace into the `ListOptions`
when calling `crClient.List`, correctly scoping the queries to the
backup's namespace. Unit tests have also been updated to ensure
cross-namespace queries are rejected appropriately.
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-04-10 15:53:46 +08:00
lyndon-li
4a6756d57b
Merge pull request #9683 from Lyndon-Li/increase-repo-maintenance-history-queue-length
...
Run the E2E test on kind / get-go-version (push) Failing after 1m18s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 16s
Main CI / Build (push) Failing after 31s
Close stale issues and PRs / stale (push) Successful in 15s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m24s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m4s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m9s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m4s
Issue 9428: increase repo maintenance history queue length
2026-04-10 11:50:24 +08:00
Xun Jiang/Bruce Jiang
e1cc07cec3
Merge pull request #9695 from shubham-pampattiwar/bump-ext-snapshotter-v8.4-vgs-v1beta2
...
Bump external-snapshotter to v8.4.0 for VGS v1beta2 support
2026-04-10 11:38:24 +08:00
Lyndon-Li
1730b7f414
issue 9428: incremental repo maintenance history queue length
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-09 14:41:07 +08:00
lyndon-li
37abfb4bfa
Merge pull request #9682 from adam-jian-zhang/fix-restore-pvr-scope
...
Run the E2E test on kind / get-go-version (push) Failing after 1m4s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 13s
Main CI / Build (push) Failing after 30s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m34s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m2s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m2s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m3s
Fix PodVolumeBackup list scope during restore
2026-04-09 10:59:26 +08:00
Shubham Pampattiwar
0cf8f94268
Add changelog for PR #9695
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2026-04-08 15:47:06 -07:00
Shubham Pampattiwar
1b5503e20b
Bump external-snapshotter to v8.4.0 for VGS v1beta2 support
...
Kubernetes 1.34 introduced VolumeGroupSnapshot v1beta2 API and
deprecated v1beta1. Distributions running K8s 1.34+ (e.g. OpenShift
4.21+) have removed v1beta1 VGS CRDs entirely, breaking Velero's
VGS functionality on those clusters.
This change bumps external-snapshotter/client/v8 from v8.2.0 to
v8.4.0 and migrates all VGS API usage from v1beta1 to v1beta2.
The v1beta2 API is structurally compatible - the Spec-level types
(GroupSnapshotHandles, VolumeGroupSnapshotContentSource) are
unchanged. The Status-level change (VolumeSnapshotHandlePairList
replaced by VolumeSnapshotInfoList) does not affect Velero as it
does not directly consume that type.
Fixes #9694
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2026-04-08 15:46:06 -07:00
Shubham Pampattiwar
e439977117
Fix VolumeGroupSnapshot restore failure with Ceph RBD CSI driver ( #9516 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m5s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 14s
Main CI / Build (push) Failing after 30s
* Fix VolumeGroupSnapshot restore on Ceph RBD
This PR fixes two related issues affecting CSI snapshot restore on Ceph RBD:
1. VolumeGroupSnapshot restore fails because Ceph RBD populates
volumeGroupSnapshotHandle on pre-provisioned VSCs, but Velero doesn't
create the required VGSC during restore.
2. CSI snapshot restore fails because VolumeSnapshotClassName is removed
from restored VSCs, preventing the CSI controller from getting
credentials for snapshot verification.
Changes:
- Capture volumeGroupSnapshotHandle during backup as VS annotation
- Create stub VGSC during restore with matching handle in status
- Look up VolumeSnapshotClass by driver and set on restored VSC
Fixes #9512
Fixes #9515
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
* Add changelog for VGS restore fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
* Fix gofmt import order
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
* Add changelog for VGS restore fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
* Fix import alias corev1 to corev1api per lint config
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
* Fix: Add snapshot handles to existing stub VGSC and add unit tests
When multiple VolumeSnapshots from the same VolumeGroupSnapshot are
restored, they share the same VolumeGroupSnapshotHandle but have
different individual snapshot handles. This commit:
1. Fixes incomplete logic where existing VGSC wasn't updated with
new snapshot handles (addresses review feedback)
2. Fixes race condition where Create returning AlreadyExists would
skip adding the snapshot handle
3. Adds comprehensive unit tests for ensureStubVGSCExists (5 cases)
and addSnapshotHandleToVGSC (4 cases) functions
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
* Clean up stub VolumeGroupSnapshotContents during restore finalization
Add cleanup logic for stub VGSCs created during VolumeGroupSnapshot restore.
The stub VGSCs are temporary objects needed to satisfy CSI controller
validation during VSC reconciliation. Once all related VSCs become
ReadyToUse, the stub VGSCs are no longer needed and should be removed.
The cleanup runs in the restore finalizer controller's execute() phase.
Before deleting each VGSC, it polls until all related VolumeSnapshotContents
(correlated by snapshot handle) are ReadyToUse, with a timeout fallback.
Deletion failures and CRD-not-installed scenarios are treated as warnings
rather than errors to avoid failing the restore.
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
* Fix lint: remove unused nolint directive and simplify cleanupStubVGSC return
The cleanupStubVGSC function only produces warnings (not errors), so
simplify its return signature. Also remove the now-unused nolint:unparam
directive on execute() since warnings are no longer always nil.
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
---------
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2026-04-08 12:08:56 -07:00
Adam Zhang
dd82645909
Fix PodVolumeBackup list scope during restore
...
Restrict the listing of PodVolumeBackup resources to the specific
restore namespace in both the core restore controller and the pod
volume restore action plugin. This prevents "Forbidden" errors when
Velero is configured with namespace-scoped minimum privileges,
avoiding the need for cluster-scoped list permissions for
PodVolumeBackups.
Fixes : #9681
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-04-08 16:50:09 +08:00
lyndon-li
22f93ad457
Merge pull request #9676 from Lyndon-Li/remove-restic-for-repo
...
Run the E2E test on kind / get-go-version (push) Failing after 1m5s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 14s
Main CI / Build (push) Failing after 29s
Close stale issues and PRs / stale (push) Successful in 13s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m35s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m10s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m13s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m16s
Remove restic for repo
2026-04-08 14:21:17 +08:00
Lyndon-Li
9598c50295
Merge branch 'main' into remove-restic-for-repo
2026-04-08 13:37:34 +08:00
Wenkai Yin(尹文开)
54761092c1
Merge pull request #9677 from Lyndon-Li/remove-restic-for-uploader
...
Remove restic for uploader
2026-04-08 12:32:58 +08:00
Lyndon-Li
dca3d3001f
remove restic for repo
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-08 11:11:15 +08:00
Scott Seago
e8fa708933
Add custom action type to volume policies ( #9540 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m0s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 10s
Main CI / Build (push) Failing after 25s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m34s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m13s
* Add custom action type to volume policies
Signed-off-by: Scott Seago <sseago@redhat.com >
* Update internal/resourcepolicies/resource_policies.go
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Signed-off-by: Scott Seago <sseago@redhat.com >
* added "custom" to validation list
Signed-off-by: Scott Seago <sseago@redhat.com >
* responding to review comments
Signed-off-by: Scott Seago <sseago@redhat.com >
---------
Signed-off-by: Scott Seago <sseago@redhat.com >
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
2026-04-07 10:22:38 -07:00
Lyndon-Li
fca4d405b1
remove restic for uploader
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-07 18:07:51 +08:00
Xun Jiang/Bruce Jiang
d3f4b2c67e
Merge pull request #9653 from BassinD/bugfix/nil-check-for-service-health-check-node-port-in-last-applied-config
...
Run the E2E test on kind / get-go-version (push) Failing after 47s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 10s
Main CI / Build (push) Failing after 24s
Fix service restore with null healthCheckNodePort in last-applied-configuration label
2026-04-07 16:41:23 +08:00
Lyndon-Li
235e579581
remove restic for repo
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-07 07:35:25 +00:00
Daniil Basin
dd1def9d33
Use strict minimal structure to parse last applied configuration JSON
...
Signed-off-by: Daniil Basin <bassindanil@hotmail.com >
2026-04-07 09:12:51 +05:00
Xun Jiang/Bruce Jiang
baf2491344
Merge pull request #9668 from adam-jian-zhang/fix-node-agent-detection
...
Run the E2E test on kind / get-go-version (push) Failing after 45s
Run the E2E test on kind / build (push) Has been skipped
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 / get-go-version (push) Successful in 9s
Main CI / Build (push) Failing after 23s
Close stale issues and PRs / stale (push) Successful in 10s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m22s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m17s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m4s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m5s
fix node-agent node detection logic
2026-04-03 14:19:20 +08:00
Adam Zhang
e79ad64a10
fix node-agent node detection logic
...
Add namespace in ListOptions, to fix node-agent node detection
in its deployed namespace.
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-04-03 13:23:57 +08:00
Xun Jiang/Bruce Jiang
e9226527de
Merge pull request #9634 from Lyndon-Li/let-go-for-unitialized-readonly-repo
...
Issue 9626: let go for uninitialized repo under readonly mode
2026-04-03 13:15:16 +08:00
Wenkai Yin(尹文开)
78fba2146c
Merge pull request #9663 from Lyndon-Li/issue-fix-9659
...
Issue 9659: fix crash on cancel without loading data path
2026-04-03 12:40:44 +08:00
lyndon-li
4dbdd2df3a
Merge pull request #9520 from sseago/custom-volume-policy-design
...
Run the E2E test on kind / get-go-version (push) Failing after 51s
Run the E2E test on kind / build (push) Has been skipped
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
build-image / Build (push) Failing after 9s
Main CI / get-go-version (push) Successful in 9s
Main CI / Build (push) Failing after 26s
Close stale issues and PRs / stale (push) Successful in 10s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m31s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m0s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 54s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 55s
Design for custom volume policy action API changes
2026-04-02 16:29:02 +08:00
Lyndon-Li
6869b7bf54
issue 9659: fix crash on cancel without loading data path
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-02 16:14:12 +08:00
lyndon-li
30ddf3f35f
Merge branch 'main' into let-go-for-unitialized-readonly-repo
2026-04-02 15:29:12 +08:00