Shubham Pampattiwar
d40bb466ff
Track actual resource names for GenerateName in restore status
...
When restoring resources with GenerateName, Kubernetes assigns the actual name
after creation, but Velero only tracked the original name from the backup in
itemKey. This caused volume information collection to fail when trying to fetch
PVCs using the original name instead of the actual created name.
Example:
- Original PVC name from backup: "test-vm-disk-1"
- Actual created PVC name: "test-vm-backup-2025-10-27-test-vm-disk-1-mdjkd"
- Volume info tried to fetch: "test-vm-disk-1" → Failed with "not found"
This affects any plugin or workflow using GenerateName during restore:
- kubevirt-velero-plugin (VMFR use case with PVC collision avoidance)
- Custom restore item actions using generateName
- Secrets/ConfigMaps restored with generateName
Changes:
1. Add createdName field to restoredItemStatus struct (pkg/restore/request.go)
2. Capture actual name from createdObj.GetName() (pkg/restore/restore.go:1520)
3. Use createdName in RestoredResourceList() when available (pkg/restore/request.go:93-95)
This fix is backwards compatible:
- createdName defaults to empty string
- When empty, falls back to itemKey.name (original behavior)
- Only populated for GenerateName resources where needed
Fixes volume information collection errors like:
"Failed to get PVC" error="persistentvolumeclaims \"<original-name>\" not found"
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
(cherry picked from commit 07f30d06b9 )
2025-11-11 11:55:29 -08:00
Scott Seago
b6202639eb
don't copy securitycontext from first container if configmap found ( #9394 )
...
Run the E2E test on kind / build (push) Failing after 10m11s
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 40s
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-11-07 14:12:47 -05:00
Wenkai Yin(尹文开)
94f64639ce
Merge pull request #9385 from Lyndon-Li/release-1.17
...
Run the E2E test on kind / build (push) Failing after 7m15s
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
1.17.1 changelog
v1.17.1-rc.1
v1.17.1
2025-11-04 14:53:14 +08:00
Lyndon-Li
bf0f30dc59
1.17.1 changelog
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-11-04 13:23:19 +08:00
Daniel Jiang
d89ab43153
Merge pull request #9378 from vmware-tanzu/1.17_e2e_fix
...
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 38s
Add Windows support for release dev branch.
2025-11-03 15:05:56 +08:00
Xun Jiang
8704b4d7f8
Add Windows support for release dev branch.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-10-31 11:45:21 +08:00
lyndon-li
4ce4a4803d
Merge pull request #9376 from Lyndon-Li/release-1.17
...
Run the E2E test on kind / build (push) Failing after 8m56s
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 39s
issue 9365: prevent multiple update of PVR
2025-10-29 15:51:18 +08:00
Lyndon-Li
ec7fe10816
issue 9365: prevent multiple update of PVR
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-29 15:01:33 +08:00
Wenkai Yin(尹文开)
3ae7183473
Merge pull request #9371 from blackpiglet/1.17.1_bump
...
Run the E2E test on kind / build (push) Failing after 7m36s
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 38s
Bump base image and Golang version for v1.17.1
2025-10-28 17:58:42 +08:00
Xun Jiang
bd4c53d13e
Bump base image and Golang version for v1.17.1
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-10-28 15:36:01 +08:00
lyndon-li
988bfa55d4
Merge pull request #9341 from Lyndon-Li/release-1.17
...
Run the E2E test on kind / build (push) Failing after 9m9s
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 1m23s
[1.17] issue 9332: make bytesDone correct for incremental backup
2025-10-17 11:08:40 +08:00
Lyndon-Li
71ad893618
issue 9332: make bytesDone correct for incremental backup
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-17 10:45:41 +08:00
Xun Jiang/Bruce Jiang
1f32333aaa
VerifyJSONConfigs verify every elements in Data. ( #9303 )
...
Run the E2E test on kind / build (push) Failing after 7s
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 5s
Add error message in the velero install CLI output if VerifyJSONConfigs fail.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-10-04 23:45:26 -04:00
lyndon-li
8ad7827f05
Merge pull request #9300 from sseago/privileged-fs-backup-pods-1.17
...
Run the E2E test on kind / build (push) Failing after 6s
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 4s
[release-1.17] Privileged fs backup pods 1.17
2025-09-28 11:37:06 +08:00
lyndon-li
d0c176077b
Merge branch 'release-1.17' into privileged-fs-backup-pods-1.17
2025-09-28 10:54:14 +08:00
Scott Seago
1ca4c54c60
Add option for privileged fs-backup pod
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-09-26 13:40:39 -04:00
Shubham Pampattiwar
d2eafe63ed
Fix maintenance jobs toleration inheritance from Velero deployment ( #9299 )
...
Run the E2E test on kind / build (push) Failing after 7s
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 3s
fix codespell and add changelog file
(cherry picked from commit 5ba00dfb09 )
update changelog filename
update changelog
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-09-26 11:14:23 -04:00
lyndon-li
14e2e25801
Merge pull request #9297 from Lyndon-Li/release-1.17
...
Run the E2E test on kind / build (push) Failing after 6s
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 3s
[1.17] backupPVC to different node
2025-09-25 13:33:28 +08:00
Lyndon-Li
cf9e7c5fcb
backupPVC to different node
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-09-25 11:21:18 +08:00
Lyndon-Li
2e00746550
backupPVC to different node
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-09-25 11:18:34 +08:00
Shubham Pampattiwar
99b2c57511
Merge pull request #9292 from Lyndon-Li/release-1.17
...
Run the E2E test on kind / build (push) Failing after 6s
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 3s
[1.17] Issue #9247 : Protect VolumeSnapshot field from race condition
2025-09-23 06:45:44 -07:00
0xLeo258
d1f7f152b7
Add built-in mutex for SynchronizedVSList && Update unit tests
...
Signed-off-by: 0xLeo258 <noixe0312@gmail.com >
2025-09-23 13:56:16 +08:00
0xLeo258
d82af8d8b5
add changelog
...
Signed-off-by: 0xLeo258 <noixe0312@gmail.com >
2025-09-23 13:51:32 +08:00
0xLeo258
a46b86fa29
fix9247: Protect VolumeSnapshot field
...
Signed-off-by: 0xLeo258 <noixe0312@gmail.com >
2025-09-23 13:51:21 +08:00
lyndon-li
96d5fb7210
Merge pull request #9290 from Lyndon-Li/release-1.17
...
Run the E2E test on kind / build (push) Failing after 5s
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 5s
[1.17] Issue #9234 : Fix plugin reentry with safe VolumeSnapshotterCache
2025-09-23 13:50:22 +08:00
0xLeo258
c71e065863
add changelog
...
Signed-off-by: 0xLeo258 <noixe0312@gmail.com >
2025-09-23 13:19:36 +08:00
0xLeo258
60338d9740
fix 9234: Add safe VolumeSnapshotterCache
...
Signed-off-by: 0xLeo258 <noixe0312@gmail.com >
2025-09-23 13:15:19 +08:00
lyndon-li
afa71e9e03
Merge pull request #9277 from shubham-pampattiwar/fix-backup-q-accum-cp
...
Run the E2E test on kind / build (push) Has been cancelled
Run the E2E test on kind / setup-test-matrix (push) Has been cancelled
Main CI / Build (push) Has been cancelled
Run the E2E test on kind / run-e2e-test (push) Has been cancelled
Fix Schedule Backup Queue Accumulation During Extended Blocking Scenarios
2025-09-19 11:59:11 +08:00
lyndon-li
fc877dd2dc
Merge branch 'release-1.17' into fix-backup-q-accum-cp
2025-09-19 11:30:11 +08:00
lyndon-li
bb147b972b
Merge pull request #9285 from priyansh17/release-1.17
...
Update AzureAD Microsoft Authentication Library to v1.5.0 (#9244 )
2025-09-19 11:26:17 +08:00
lyndon-li
079394cd4f
Merge branch 'release-1.17' into release-1.17
2025-09-19 10:54:48 +08:00
lyndon-li
fc4394964f
Merge pull request #9282 from kaovilai/bitnamiminio-1.17
...
1.17: Fix E2E tests: Build MinIO from Bitnami Dockerfile to replace deprecated image
2025-09-19 10:54:15 +08:00
Priyansh Choudhary
85f2f23076
Added changelog
...
Signed-off-by: Priyansh Choudhary im1706@gmail.com
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-09-19 03:20:14 +05:30
Priyansh Choudhary
aa71b53490
Update AzureAD Microsoft Authentication Library to v1.5.0 ( #9244 )
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-09-19 03:20:13 +05:30
Tiger Kaovilai
30cf11a6b1
Fix E2E tests: Build MinIO from Bitnami Dockerfile to replace deprecated image
...
The Bitnami MinIO image bitnami/minio:2021.6.17-debian-10-r7 is no longer
available on Docker Hub, causing E2E tests to fail.
This change implements a solution to build the MinIO image locally from
Bitnami's public Dockerfile and cache it for subsequent runs:
- Fetches the latest commit hash of the Bitnami MinIO Dockerfile
- Uses GitHub Actions cache to store/retrieve built images
- Only rebuilds when the upstream Dockerfile changes
- Maintains compatibility with existing environment variables
Fixes #9279
🤖 Generated with [Claude Code](https://claude.ai/code )
Update .github/workflows/e2e-test-kind.yaml
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Co-Authored-By: Claude <noreply@anthropic.com >
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-09-18 08:53:28 -04:00
Shubham Pampattiwar
f404ff207d
Fix Schedule Backup Queue Accumulation During Extended Blocking Scenarios
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
(cherry picked from commit 59289fba76 )
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-09-17 09:44:44 -07:00
lyndon-li
690b074891
Merge pull request #9266 from sseago/iba-perf-1.17
...
Run the E2E test on kind / build (push) Failing after 4s
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 5s
[release-1.17] Get pod list once per namespace in pvc IBA
2025-09-17 11:15:16 +08:00
Scott Seago
c188c454d7
Get pod list once per namespace in pvc IBA
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-09-16 17:39:30 -04:00
Wenkai Yin(尹文开)
18a690d69e
Merge pull request #9220 from kaovilai/9173-release-1.17
...
Run the E2E test on kind / build (push) Failing after 5s
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 3s
release-1.17: feat: Permit specifying annotations for the BackupPVC #9173
2025-09-15 17:05:10 +08:00
lyndon-li
6986cde4d3
Merge branch 'release-1.17' into 9173-release-1.17
2025-09-15 15:46:44 +08:00
lyndon-li
3172d9f99c
Merge pull request #9228 from vmware-tanzu/bump_k8s_lib_to_1.33
...
Run the E2E test on kind / build (push) Failing after 6s
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 5s
Bump k8s library to v1.33.
v1.17.0-rc.2
v1.17.0
2025-09-09 17:33:34 +08:00
Xun Jiang
c34865a5fc
Bump k8s library to v1.33.
...
Run the E2E test on kind / build (push) Failing after 8s
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
Replace deprecated EventExpansion method with WithContext methods.
Modify UTs.
Align the E2E ginkgo CLI version with go.mod
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-09-08 20:37:51 +08:00
Clément Nussbaumer
344b09a582
test: fix backuppvc annotations test case
...
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch >
2025-08-29 08:57:12 -05:00
Clément Nussbaumer
53c46b01c7
feat: Permit specifying annotations for the BackupPVC
...
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch >
2025-08-29 08:57:12 -05:00
lyndon-li
a10f413cab
Merge pull request #9216 from Lyndon-Li/release-1.17
...
Pin version of golang and base image
v1.17.0-rc.1
2025-08-28 15:34:43 +08:00
Lyndon-Li
de1cd6dcbf
pin version of golang and base image
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-08-28 15:04:51 +08:00
lyndon-li
6a252dde8b
Merge pull request #9210 from Lyndon-Li/1.17-change-log
...
Run the E2E test on kind / build (push) Failing after 6s
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 4s
Close stale issues and PRs / stale (push) Successful in 13s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 7s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 5s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 5s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 8s
Add 1.17 changelog
2025-08-28 11:21:39 +08:00
lyndon-li
27a7681a83
Merge pull request #9211 from Lyndon-Li/1.17-doc
...
Add doc for 1.17
2025-08-28 10:55:50 +08:00
Lyndon-Li
d952cfbb25
add 1.17 chagnelog
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-08-27 17:43:42 +08:00
Lyndon-Li
382827761a
add doc for 1.17
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-08-27 15:55:54 +08:00