Shubham Pampattiwar
f9f0e48e04
Add changelog for PR 9367
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-10-27 12:11:06 -07:00
Shubham Pampattiwar
898fa13ed7
Fix managed fields patch for resources using GenerateName
...
When restoring resources with GenerateName (where name is empty and K8s
assigns the actual name), the managed fields patch was failing with error
"name is required" because it was using obj.GetName() which returns empty
for GenerateName resources.
The fix uses createdObj.GetName() instead, which contains the actual name
assigned by Kubernetes after resource creation.
This affects any resource using GenerateName for restore, including:
- PersistentVolumeClaims restored by kubevirt-velero-plugin
- Secrets and ConfigMaps created with generateName
- Any custom resources using generateName
Changes:
- Line 1707: Use createdObj.GetName() instead of obj.GetName() in Patch call
- Lines 1702, 1709, 1713, 1716: Use createdObj in error/info messages for accuracy
This is a backwards-compatible fix since:
- For resources WITHOUT generateName: obj.GetName() == createdObj.GetName()
- For resources WITH generateName: createdObj.GetName() has the actual name
The managed fields patch was already correctly using createdObj (lines 1698-1700),
only the Patch() call was incorrectly using obj.
Fixes restore status showing FinalizingPartiallyFailed with "name is required"
error when restoring resources with GenerateName.
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-10-27 11:57:55 -07:00
lyndon-li and GitHub
f4af6156a1
Merge pull request #9354 from Lyndon-Li/snapshot-size-support
...
Run the E2E test on kind / get-go-version (push) Failing after 54s
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) Failing after 9s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m19s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 48s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 55s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 49s
Snapshot size support
2025-10-27 13:50:06 +08:00
Lyndon-Li
d4147e406b
snapshot size in restore CRs
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-27 04:41:04 +00:00
lyndon-li and GitHub
fb38727b9c
Merge branch 'main' into snapshot-size-support
2025-10-24 16:55:50 +08:00
lyndon-li and GitHub
c29ed91442
Merge pull request #9148 from Lyndon-Li/backup-repo-cache-design
...
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) Failing after 13s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 13s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m10s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 46s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 51s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 57s
Backup repo cache design
2025-10-24 14:30:59 +08:00
lyndon-li and GitHub
6280ffddaa
Merge branch 'main' into backup-repo-cache-design
2025-10-23 15:03:17 +08:00
Lyndon-Li
2e3f41be22
backup repo cache design
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-23 15:02:17 +08:00
Lyndon-Li
6dbe772590
snapshot size in restore CRs only
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-22 12:41:41 +08:00
Lyndon-Li
2aa319aa30
add snapshot size to data mover CRs
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-21 16:48:48 +08:00
Lyndon-Li
903ee21f31
Merge branch 'main' into snapshot-size-support
2025-10-21 16:47:16 +08:00
Wenkai Yin(尹文开) and GitHub
53e99556ad
Merge pull request #9291 from Lyndon-Li/dont-connect-repo-in-repo-controller
...
Run the E2E test on kind / get-go-version (push) Failing after 55s
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) Failing after 9s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 9s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m16s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m7s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 52s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 47s
Don't connect repo in repo controller
2025-10-21 16:10:20 +08:00
Lyndon-Li
166f50d776
add snapshot size to data mover CRs
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-21 15:14:38 +08:00
lyndon-li and GitHub
9b02402631
Merge pull request #9342 from Lyndon-Li/cache-dir-to-vgdp
...
Run the E2E test on kind / get-go-version (push) Failing after 55s
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) Failing after 7s
Main CI / Build (push) Has been skipped
Add cache configuration to VGDP
2025-10-21 13:19:00 +08:00
Lyndon-Li
6bd8033d24
add cache dir to VGDP
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-17 18:00:03 +08:00
Lyndon-Li
7cec76e445
Merge branch 'main' into cache-dir-to-vgdp
2025-10-17 17:58:01 +08:00
lyndon-li and GitHub
420a65a116
Merge pull request #9269 from Lyndon-Li/deprecate-pvc-node-selection
...
Run the E2E test on kind / get-go-version (push) Failing after 57s
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) Failing after 8s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 10s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m0s
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 52s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 53s
Deprecate pvc node selection feature
2025-10-17 15:48:34 +08:00
Wenkai Yin(尹文开) and GitHub
3bf4a7dced
Merge pull request #9312 from vmware-tanzu/dependabot/github_actions/actions/stale-10.1.0
...
Bump actions/stale from 10.0.0 to 10.1.0
2025-10-17 14:09:23 +08:00
lyndon-li and GitHub
2a5804b595
Merge branch 'main' into deprecate-pvc-node-selection
2025-10-17 13:31:21 +08:00
lyndon-li and GitHub
b9af3a1947
Merge branch 'main' into dont-connect-repo-in-repo-controller
2025-10-17 13:31:11 +08:00
lyndon-li and GitHub
9a3fabbc55
issue 9332: make bytesDone correct for incremental backup ( #9333 )
...
Run the E2E test on kind / get-go-version (push) Failing after 58s
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) Failing after 8s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 10s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m18s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 50s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 47s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 48s
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-16 12:41:21 -04:00
lyndon-li and GitHub
99a46ed818
Merge pull request #9329 from T4iFooN-IX/9327
...
Run the E2E test on kind / get-go-version (push) Failing after 1m9s
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) Failing after 11s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 17s
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 56s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 56s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 53s
Fix typos (#9327 )
2025-10-15 10:02:58 +08:00
Daniel Wituschek and GitHub
93e8379530
Add changelog file
...
Signed-off-by: Daniel Wituschek <daniel.wituschek@intrexx.com >
2025-10-14 14:58:05 +02:00
lyndon-li and GitHub
72ddfd7d78
Merge branch 'main' into deprecate-pvc-node-selection
2025-10-14 14:40:40 +08:00
lyndon-li and GitHub
18260d88ca
Merge branch 'main' into dont-connect-repo-in-repo-controller
2025-10-14 14:40:21 +08:00
Daniel Wituschek and GitHub
8b3ba78c8c
Fix typos
...
Signed-off-by: Daniel Wituschek <daniel.wituschek@intrexx.com >
2025-10-13 16:00:23 +02:00
Daniel Wituschek and GitHub
b34f2deff2
Fix typos
...
Signed-off-by: Daniel Wituschek <daniel.wituschek@intrexx.com >
2025-10-13 15:58:20 +02:00
dependabot[bot] and Xun Jiang/Bruce Jiang
e9666f9aea
Bump actions/stale from 10.0.0 to 10.1.0
...
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 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Bumps [actions/stale](https://github.com/actions/stale ) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v10.0.0...v10.1.0 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: 10.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-10 11:17:07 +08:00
lyndon-li and GitHub
e6aab8ca93
add events to diagnose ( #9296 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m10s
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) Failing after 16s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m43s
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 1m2s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m2s
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-09 14:13:43 -04:00
Xun Jiang/Bruce Jiang and GitHub
99f12b85ba
Merge pull request #9301 from vmware-tanzu/fix_action_isse
...
Run the E2E test on kind / get-go-version (push) Failing after 39s
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) Failing after 3s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 15s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m26s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 55s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 59s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 51s
Fix the push action invalid variable ref issue.
2025-09-30 16:40:02 +08:00
Xun Jiang/Bruce Jiang and GitHub
f8938e7fed
VerifyJSONConfigs verify every elements in Data. ( #9302 )
...
Run the E2E test on kind / get-go-version (push) Failing after 48s
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) Failing after 4s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Failing after 6s
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 3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 4s
Add error message in the velero install CLI output if VerifyJSONConfigs fail.
Only allow one element in node-agent-configmap's Data.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-09-29 15:08:05 -04:00
Xun Jiang
cabb04575e
Fix the push action invalid variable ref issue.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-09-27 23:33:37 +08:00
lyndon-li and GitHub
60dbcbc60d
Merge pull request #9295 from sseago/privileged-fs-backup-pods
...
Run the E2E test on kind / get-go-version (push) Failing after 44s
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) Failing after 4s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Failing after 6s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 5s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 3s
Privileged fs backup pods
2025-09-26 10:31:59 +08:00
Scott Seago
4ade8cf8a2
Add option for privileged fs-backup pod
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-09-25 15:38:39 -04:00
Lyndon-Li
78ddeef96c
add cache dir to VGDP
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-09-25 18:19:23 +08:00
lyndon-li and GitHub
814db6541f
Merge branch 'main' into backup-repo-cache-design
2025-09-25 16:50:22 +08:00
Daniel Jiang and GitHub
826c73131e
Merge pull request #9233 from Lyndon-Li/backup-pvc-to-different-node
...
Run the E2E test on kind / get-go-version (push) Failing after 59s
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) Failing after 4s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Failing after 4s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 4s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 2s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 3s
backupPVC to different node
2025-09-24 22:16:36 +08:00
lyndon-li and GitHub
c90856de65
Merge branch 'main' into dont-connect-repo-in-repo-controller
2025-09-23 16:12:09 +08:00
Lyndon-Li
a0aac09f0a
don't connect repo in repo controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-09-23 16:11:24 +08:00
lyndon-li and GitHub
903caa9c02
Merge branch 'main' into backup-repo-cache-design
2025-09-23 11:47:22 +08:00
lyndon-li and GitHub
031df8d5e0
Merge branch 'main' into deprecate-pvc-node-selection
2025-09-23 11:46:00 +08:00
lyndon-li and GitHub
21691451e9
Merge branch 'main' into backup-pvc-to-different-node
2025-09-23 11:43:24 +08:00
lyndon-li and GitHub
50d7b1cff1
Merge pull request #9248 from 0xLeo258/main
...
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) Failing after 5s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Failing after 5m54s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 2m33s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m22s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m4s
Issue #9247 : Protect VolumeSnapshot field from race condition
2025-09-23 11:39:57 +08:00
lyndon-li and GitHub
37df853a99
Merge branch 'main' into deprecate-pvc-node-selection
2025-09-23 11:39:05 +08:00
lyndon-li and GitHub
d545ad49ba
Merge branch 'main' into main
2025-09-23 11:10:38 +08:00
lyndon-li and GitHub
7831bf25b9
Merge pull request #9281 from 0xLeo258/issue9234
...
Issue #9234 : Fix plugin reentry with safe VolumeSnapshotterCache
2025-09-23 11:06:21 +08:00
Xun Jiang/Bruce Jiang and GitHub
2abe91e08c
Merge pull request #9250 from blackpiglet/distinguish_go_version_for_main_and_other_release
...
Run the E2E test on kind / get-go-version (push) Failing after 42s
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) Failing after 3s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Failing after 9s
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 3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 3s
Use different go version check logic for main and other branches.
2025-09-22 22:48:21 +08:00
0xLeo258
1ebe357d18
Add built-in mutex for SynchronizedVSList && Update unit tests
...
Signed-off-by: 0xLeo258 <noixe0312@gmail.com >
2025-09-20 09:13:07 +08:00
0xLeo258
9df17eb02b
add changelog
...
Signed-off-by: 0xLeo258 <noixe0312@gmail.com >
2025-09-20 09:13:07 +08:00
0xLeo258
f2a27c3864
fix9247: Protect VolumeSnapshot field
...
Signed-off-by: 0xLeo258 <noixe0312@gmail.com >
2025-09-20 09:13:07 +08:00