copilot-swe-agent[bot]
0b7eaaf4e6
chore: replace vmware-tanzu/velero org references
...
Agent-Logs-Url: https://github.com/velero-io/velero/sessions/e8c22e84-a488-4645-a0e1-aea5a2926503
Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com >
2026-05-22 07:38:02 +00:00
copilot-swe-agent[bot]
d987388698
Initial plan
2026-05-22 07:26:59 +00:00
lyndon-li
a2b1af9059
Merge pull request #9808 from Lyndon-Li/kopia-repo-snapshot-operations
...
Kopia repo snapshot operations
2026-05-22 15:22:30 +08:00
Lyndon-Li
d58139536b
Merge branch 'main' into kopia-repo-snapshot-operations
2026-05-22 14:57:39 +08:00
lyndon-li
40025fbbe1
Merge pull request #9817 from Lyndon-Li/metadata-operator-for-kopia-repo
...
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 12s
Main CI / Build (push) Failing after 33s
Metadata operation for kopia repo
2026-05-22 14:49:12 +08:00
lyndon-li
4dc6f2cc64
Merge pull request #9791 from christian-schlichtherle/fix/dataupload-delete-foreign-backup
...
Fix DataUploadDeleteAction creating CMs for foreign DataUploads
2026-05-22 14:41:44 +08:00
lyndon-li
c1fc6540fb
Merge pull request #9807 from Lyndon-Li/uploader-interface-fo-block-data-mover
...
Uploader interface for block data mover
2026-05-22 14:33:17 +08:00
Lyndon-Li
205ca71588
kopia repo snapshot operations
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-22 06:26:40 +00:00
Adam Zhang
cb9339d85e
Merge pull request #9821 from adam-jian-zhang/enhance-backup-filters-interface
...
extend backup resource policy
2026-05-22 14:08:21 +08:00
Daniel Jiang
e0ef8d7690
Merge pull request #9796 from reasonerjt/cncf-footer
...
Update website post CNCF donation
2026-05-22 14:00:28 +08:00
Adam Zhang
348f9227aa
Update internal/resourcepolicies/resource_policies.go
...
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-05-22 13:20:53 +08:00
Lyndon-Li
9f0194d8fe
Uploader interface fo block data mover
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-22 12:26:00 +08:00
Tiger Kaovilai
b91d34065b
Add changelog for unreleased version 9791
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2026-05-21 22:05:40 -04:00
Daniel Jiang
440b473ca2
Update website post CNCF donation
...
1. Add LF footer.
2. Make necessary changes following CNCF guideline.
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2026-05-21 19:09:51 +08:00
Christian Schlichtherle
1e1eb0b4ec
Merge branch 'main' into fix/dataupload-delete-foreign-backup
2026-05-21 11:53:20 +02:00
Christian Schlichtherle
2f19c3158b
Also skip snapshot-info CM when DataUpload has no owner label
...
Per review feedback on #9791 , the previous revision still let a
DataUpload with an empty velero.io/backup-name label fall through to
genConfigmap, creating a ConfigMap that deleteMovedSnapshots can never
match back to a snapshot. The CM is useless and only adds etcd churn.
Treat the missing-label case the same way as the foreign-owner case:
warn and skip the ConfigMap creation. Use a distinct warn message so
operators can tell the two misconfiguration classes apart in logs
(missing-label vs. owner mismatch from a captured velero namespace).
Test for the missing-label case is updated to assert no ConfigMap is
created and a warn is emitted. The warn assertion is generalized to
match the per-case message substring instead of a fixed string.
Signed-off-by: Christian Schlichtherle <christian@schlichtherle.de >
2026-05-21 11:50:21 +02:00
Adam Zhang
b0e72333a0
extend backup resource policy
...
- added ClusterScopedFilterPolicy/NamespacedFilterPolicy
- added run time data structure, ResolvedResourceFilter and ResolvedNamespaceFilter
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-05-21 15:36:51 +08:00
Lyndon-Li
343ed95a5e
metadata operation for Kopia repo
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-21 14:22:36 +08:00
Lyndon-Li
3103318c9b
Merge branch 'main' into metadata-operator-for-kopia-repo
2026-05-21 13:52:41 +08:00
Lyndon-Li
32969856af
Merge branch 'main' into kopia-repo-snapshot-operations
2026-05-21 13:27:40 +08:00
Lyndon-Li
d756df874f
Merge branch 'main' into uploader-interface-fo-block-data-mover
2026-05-21 13:21:14 +08:00
Xun Jiang/Bruce Jiang
f70e339fd0
Merge pull request #9736 from Lyndon-Li/cbt-bitmap-implementation
...
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 43s
Close stale issues and PRs / stale (push) Successful in 14s
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 1m23s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m22s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m23s
CBT bitmap implementation
2026-05-21 13:19:42 +08:00
Lyndon-Li
6bf73dc7ac
Merge branch 'main' into cbt-bitmap-implementation
2026-05-21 09:22:45 +08:00
Lyndon-Li
1d03217661
add CBT bitmap implementation
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-21 09:20:24 +08:00
Daniel Jiang
d30d389b56
Merge pull request #9801 from reasonerjt/fix-netlify-err
...
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 4s
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 39s
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 1m22s
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 1m10s
Fix the site deployment problem
2026-05-20 16:00:22 +08:00
Daniel Jiang
30381a60e4
Fix the site deployment problem
...
The netlify error analysis:
The problem is that base = "site/" makes the build run from the site subdirectory, and publish = "site/public" is resolved relative to the repo root as site/site/public — but Hugo outputs to site/public. Since the base is already site/, the publish path should just be public (relative to the base directory).
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2026-05-20 15:28:06 +08:00
Xun Jiang/Bruce Jiang
a26dd817b6
Merge pull request #9783 from adam-jian-zhang/backup-filter-design
...
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 13s
Main CI / Build (push) Failing after 40s
backup filter enhancement design
2026-05-20 10:20:09 +08:00
Xun Jiang/Bruce Jiang
7472e37d16
Merge pull request #9797 from blackpiglet/jxun/main/update_base_image
...
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 15s
Main CI / Build (push) Failing after 37s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m57s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m13s
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 1m20s
Update the Linux's base image from Ubuntu jammy to noble.
2026-05-19 11:44:30 +08:00
Adam Zhang
bbbff59eed
address review comments
...
- rename FineGrainedGlobalFilterPolicy to ClusterScopedFilterPolicy
- add warning message in several places to help debug
- cleanup conflicting validations
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-05-19 00:02:17 +08:00
Xun Jiang
174d76c197
Update the Linux's base image from Ubuntu jammy to noble.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-18 17:42:02 +08:00
Adam Zhang
8ef7e36054
Update design/backup-filter-enhancement/fine-grained-backup-filters-design.md
...
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-05-15 23:34:17 +08:00
Christian Schlichtherle
8f6c563c4d
Warn instead of silently skipping foreign DataUploads
...
Velero does not support self-protection: the velero namespace must
never be captured in a backup tarball. When it is, the tarball can
contain DataUpload CRs belonging to other backups, and the previous
revision of this change silently swallowed that case in the
DataUploadDeleteAction.
Per maintainer feedback, the action should make the misconfiguration
detectable rather than silent. Emit a warn-level log naming the
DataUpload, its owning backup-name label, and the executing backup,
and call out that the velero namespace should be excluded from
schedules. Continue to skip the snapshot-info ConfigMap creation so
that a mislabeled CM does not mask the real owning backup's snapshot
on deletion.
The test for the foreign-backup case now also asserts the warn is
emitted via a logrus test hook.
Signed-off-by: Christian Schlichtherle <cs@bsure-analytics.de >
2026-05-15 08:10:19 +02:00
Christian Schlichtherle
fb3f94bc88
Fix DataUploadDeleteAction creating CMs for foreign DataUploads
...
When a backup tarball incidentally contains DataUpload CRs that belong to
a different backup (common when a schedule includes the velero namespace
where DataUploads live), DataUploadDeleteAction.Execute used to create a
"<du-name>-info" ConfigMap labeled with the *executing* backup's name
instead of the DataUpload's true owning backup. The ConfigMap is
created with Create-only semantics, so the wrong label is never
corrected.
deleteMovedSnapshots in the backup-deletion controller looks up these
ConfigMaps by velero.io/backup-name to discover which Kopia snapshots
to delete. With the wrong label, the real owning backup's expiry pass
finds no ConfigMaps for its DataUploads and silently leaves their Kopia
snapshots in object storage, leaking data over time.
Fix: in DataUploadDeleteAction.Execute, compare the DataUpload's
velero.io/backup-name label against input.Backup.Name (using
label.GetValidName to handle DNS-1035 truncation for long backup names).
If the label is present and differs, skip the DataUpload entirely; this
prevents the over-eager creation of misnamed ConfigMaps without changing
behavior for DataUploads that legitimately belong to the executing
backup, or for legacy DataUploads with no backup-name label.
Refs: #9472
Signed-off-by: Christian Schlichtherle <cs@bsure-analytics.de >
2026-05-14 19:03:20 +02:00
Lyndon-Li
2346314729
call block uploader provider creation
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-14 16:17:51 +08:00
Adam Zhang
68fa6f4ee9
backup filter enhancement
...
enhance backup filter with resource policies, extend resource
policies with fine-grained control for backup resources, both
cluster scoped resources and namespace scoped resources, with
labels, names include/exclude support with glob patterns.
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-05-12 15:18:56 +08:00
lyndon-li
0c2efb6da3
Merge pull request #9785 from Lyndon-Li/bump-up-kopia-1.23.0
...
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 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 39s
Close stale issues and PRs / stale (push) Successful in 12s
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 1m16s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m15s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m15s
Bump up kopia 1.23.0
2026-05-12 14:19:17 +08:00
Lyndon-Li
e78ec18870
bump up kopia 1.23.0
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-12 11:31:40 +08:00
Lyndon-Li
6257282117
add listsnapshot method
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-12 09:51:47 +08:00
Wenkai Yin(尹文开)
57ff25eaf0
Merge pull request #9784 from blackpiglet/jxun/main/fix_unstable_uts
...
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 10s
Main CI / Build (push) Failing after 39s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m46s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m38s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m45s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m31s
Fix unstable UT in pvc_action_test.go's TestExectue().
2026-05-11 17:48:10 +08:00
Lyndon-Li
0be9fc7d09
add block uploader provider
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-11 17:31:40 +08:00
Xun Jiang
35e1e1f988
Fix unstable UT in pvc_action_test.go's TestExectue().
...
* Move the error assert out of goroutine.
* Create the VSC before patching VS status to ReadyToUse.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-11 11:33:08 +08:00
Shubham Pampattiwar
038d780576
Merge pull request #9776 from shubham-pampattiwar/fix-prow-action-permissions
...
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 5s
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 39s
Close stale issues and PRs / stale (push) Successful in 8s
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 1m42s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m43s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m31s
Fix prow-action workflow permissions for issue commands
2026-05-09 11:25:43 +08:00
Xun Jiang/Bruce Jiang
3a01767ad1
Merge pull request #9778 from blackpiglet/xj014661/main/bump_deps
...
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 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
build-image / Build (push) Failing after 11s
Main CI / get-go-version (push) Successful in 15s
Main CI / Build (push) Failing after 31s
Close stale issues and PRs / stale (push) Successful in 13s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 2m12s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m46s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m35s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m35s
Bump Velero dependencies to latest version.
2026-05-08 18:17:16 +08:00
Xun Jiang
5afe5df122
Bump Velero dependencies to latest version.
...
* Fix UT failures caused by client-go version bump.
* Some modifications to enhance the UT stability.
* Fix UT errors: non-constant format string in call to ...
* Fix linter issues.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-08 17:38:42 +08:00
Lyndon-Li
6ca73a00b6
fix UT error
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-08 16:39:24 +08:00
Daniel Jiang
7314eab582
Update CODE OF CONDUCT for CNCF compliance ( #9779 )
...
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 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 43s
Close stale issues and PRs / stale (push) Successful in 14s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 2m7s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m37s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m45s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m39s
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2026-05-07 13:34:24 -04:00
Xun Jiang/Bruce Jiang
e6d928cdfe
Some updates for actions on main branch. ( #9775 )
...
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 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 12s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 2m6s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m31s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m22s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m36s
* Add Windows dockerfile in the Dockerfile change action.
* Update Bitnami MinIO Dockerfile directory.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-06 12:10:23 -04:00
Joseph Antony Vaikath
360095a2e7
Merge pull request #9558 from Joeavaikath/wildcard-ns-bugfix
...
Run the E2E test on kind / get-go-version (push) Failing after 50s
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 12s
Main CI / Build (push) Failing after 41s
Wildcard namespaces: Log warning on empty resolution
2026-05-06 16:30:36 +08:00
lyndon-li
7aab742041
Merge pull request #9763 from Lyndon-Li/fix-docker-hub-push-error
...
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) Successful in 10s
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 1m27s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m30s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m39s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m35s
Fix docker hub push error
2026-04-30 14:45:53 +08:00
Lyndon-Li
7918cb35dd
fix docker hub push error
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-04-30 14:30:53 +08:00