Commit Graph
6184 Commits
Author SHA1 Message Date
Xun Jiang/Bruce JiangandGitHub cedd89afff Merge branch 'release-1.18' into copilot/backport-10342
e2e-test-kind.yaml / extract (push) Successful in 16s
Run the E2E test on kind / get-go-version (push) Successful in 16s
Run the E2E test on kind / setup-test-matrix (push) Failing after 3s
Run the E2E test on kind / build (push) Failing after 29s
Run the E2E test on kind / run-e2e-test (push) Skipped
2026-08-27 11:16:11 +08:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>kaovilaiTiger Kaovilai
2b49e8e0ce Validate kind node tags before adding to e2e test matrix (#10407)
(cherry picked from commit 23a8cc64f6)

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
Co-authored-by: Tiger Kaovilai <tkaovila@redhat.com>
2026-08-26 13:16:55 -04:00
Tiger Kaovilai 3f4415d16f Fix go.sum: restore checksum entries needed by go.mod
`make verify-modules` (go mod tidy --diff / go.sum comparison) was
failing: an earlier commit on this branch trimmed several go.sum
entries (al.essio.dev/pkg/shellescape, cloud.google.com/go/logging,
cloud.google.com/go/longrunning, cloud.google.com/go/trace, and
others) that go.mod's dependency graph still requires. Running
`go mod tidy` restores exactly those entries; go.mod itself is
unchanged.

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2026-08-26 10:25:08 -04:00
Tiger Kaovilai 46cd67c8a2 Add new changelog for unreleased updates
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2026-08-26 10:25:08 -04:00
cd5f8064a6 Apply remaining changes
Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2026-08-26 10:25:08 -04:00
3e55988c56 Fix LoadAffinity mutation accumulating OS node selector terms (#10342)
* Fix LoadAffinity mutation accumulating OS node selector terms

The node-agent parses the loadAffinity configuration once at startup and
keeps it in memory. GetLoadAffinityByStorageClass returned a pointer to one
of the elements of that cached list rather than a copy, so the exposers,
which append a kubernetes.io/os match expression to the returned affinity,
were mutating the shared configuration. Every DataUpload or DataDownload
appended another OS term, growing the data mover pod spec until it could
eventually exceed the object size limit.

Return a deep copy from GetLoadAffinityByStorageClass so that callers can
safely modify the result. A shallow copy is not enough because the
MatchExpressions slice header would still be shared with the source.

Fixes #10341

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>

* Add changelog

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>

---------

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
(cherry picked from commit f27a4ad8c0)

Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2026-08-26 10:25:08 -04:00
Joseph Antony VaikathandGitHub 8ee1cf0137 Merge pull request #10408 from Joeavaikath/cherry-pick/10402-release-1.18
e2e-test-kind.yaml / extract (push) Successful in 18s
Run the E2E test on kind / get-go-version (push) Successful in 19s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
push.yml / extract (push) Successful in 14s
Main CI / get-go-version (push) Successful in 15s
Run the E2E test on kind / build (push) Failing after 30s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 32s
chore(deps): bump golang.org/x libs to fix HIGH CVEs (x/mod, x/net, x/text) [release-1.18]
2026-08-25 22:24:29 -07:00
Joseph Antony VaikathandGitHub 793f4d62d6 Merge branch 'release-1.18' into cherry-pick/10402-release-1.18 2026-08-25 21:55:38 -07:00
lyndon-liandGitHub ba3d50ff7a Merge pull request #10405 from Joeavaikath/backport-10397-release-1.18
[Backport release-1.18] Fix node agent readiness check issue
2026-08-26 09:06:31 +08:00
Joseph e21fd918c4 chore(deps): bump golang.org/x libs to fix CVEs (release-1.18)
Cherry-pick of velero-io/velero#10402 adapted for release-1.18.

Fixes:
- CVE-2026-56864, CVE-2026-56865: golang.org/x/mod v0.36.0 → v0.40.0
- CVE-2026-46600: golang.org/x/net v0.55.0 → v0.58.0
- CVE-2026-56852: golang.org/x/text v0.38.0 → v0.41.0

Transitive golang.org/x dependencies (crypto, sync, sys, term, tools)
updated accordingly to satisfy version constraints.

Signed-off-by: Joseph <jvaikath@redhat.com>
2026-08-25 17:23:16 -07:00
Lyndon-LiandJoseph a171687dd7 fix node agent rediness check issue
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2026-08-25 16:07:41 -07:00
7770a0884e [cherry-pick release-1.18] Fast-fail backup when built-in data mover has no running node-agent (#10360)
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
e2e-test-kind.yaml / extract (push) Successful in 16s
Run the E2E test on kind / get-go-version (push) Successful in 18s
push.yml / extract (push) Successful in 12s
Main CI / get-go-version (push) Successful in 13s
Run the E2E test on kind / build (push) Failing after 25s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 34s
* Fast-fail backup when built-in data mover has no running node-agent

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Joseph <jvaikath@redhat.com>
Signed-off-by: Chai Bot <ship-help-github@redhat.com>

* Run make update to fix import ordering

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Joseph <jvaikath@redhat.com>
Signed-off-by: Chai Bot <ship-help-github@redhat.com>

* Create new changelog for release 10360

Signed-off-by: Chai Bot <ship-help-github@redhat.com>

---------

Signed-off-by: Joseph <jvaikath@redhat.com>
Signed-off-by: Chai Bot <ship-help-github@redhat.com>
Co-authored-by: Joseph <jvaikath@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
2026-08-25 22:52:02 +00:00
Xun Jiang/Bruce JiangandGitHub 882d409195 Merge pull request #10396 from blackpiglet/jxun/1.18_resolve_duplicate_initCotainer_name
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
e2e-test-kind.yaml / extract (push) Successful in 18s
Run the E2E test on kind / get-go-version (push) Successful in 18s
push.yml / extract (push) Successful in 13s
Main CI / get-go-version (push) Successful in 14s
Run the E2E test on kind / build (push) Failing after 34s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 48s
[cherry-pick][1.18] Avoid duplicated InitContainer names generated in velero install CLI.
2026-08-25 17:18:30 +08:00
Xun JiangandXun Jiang/Bruce Jiang 651e740977 Avoid duplicated InitContainer names generated in velero install CLI.
Add random string at the end when there is name collision detected.

Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2026-08-25 17:05:33 +08:00
ec1a1d7d18 Avoid io.ReadAll in buildFinalTarball() (#10311) (#10387)
e2e-test-kind.yaml / extract (push) Successful in 15s
Run the E2E test on kind / get-go-version (push) Successful in 16s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
push.yml / extract (push) Successful in 13s
Main CI / get-go-version (push) Successful in 14s
Run the E2E test on kind / build (push) Failing after 23s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 28s
This commit updates the func buildFinalTarball so it won't use
io.ReadAll, in order to optimize memory usage.


(cherry picked from commit 763f3a1db4)

Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
Co-authored-by: Daniel Jiang <daniel.jiang@broadcom.com>
2026-08-24 19:30:44 +00:00
lyndon-liandGitHub b6c763badf Merge pull request #10377 from Lyndon-Li/release-1.18
e2e-test-kind.yaml / extract (push) Successful in 20s
Run the E2E test on kind / get-go-version (push) Successful in 20s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
push.yml / extract (push) Successful in 14s
Main CI / get-go-version (push) Successful in 16s
Run the E2E test on kind / build (push) Failing after 25s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 28s
[1.18] Fix repo connection contest
2026-08-24 21:52:51 +08:00
lyndon-liandGitHub 27453d2dc5 Merge branch 'release-1.18' into release-1.18 2026-08-24 21:37:07 +08:00
301ed14dbd Fix e2e kind matrix misparsing pre-release node tags (#10359) (#10378)
* Fix e2e kind matrix misparsing pre-release node tags

The setup-test-matrix step excluded "alpha|beta" pre-release tags but
not "rc" ones. A tag like v1.37.0-rc.1 slipped through to the awk
field-splitter, which treats "." as the only separator: splitting
"v1.37.0-rc.1" yields ["v1","37","0-rc","1"], and printing
$1"."$2"."$NF produced the bogus version "v1.37.1" - an image that
was never published, since the real tag is v1.37.0-rc.1.

Replace the two greps with a single anchored pattern that only
matches well-formed vX.Y.Z tags, so any hyphenated pre-release
suffix (rc, alpha, beta, or otherwise) is excluded before reaching
the awk step.

Fixes #10358

AI-Tool-Used: Claude Code
AI-Tool-Use-Level: Category 2 (Medium)
AI-Code-Category: Category 2 (Non-Production)

---------

Signed-off-by: lubronzhan <lubron.zhan@broadcom.com>
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
Co-authored-by: Lubron <lubron.zhan@broadcom.com>
2026-08-24 20:34:19 +08:00
Lyndon-Li 61a4cdd09c fix repo connection contest of the two repositories with the same storage type
- fix repo connection contest between two BSL
- add UT for repo connection contest

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2026-08-24 17:35:01 +08:00
Chlins ZhangandGitHub 25a2a449cb Only sync finished backups from object storage (#10347)
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
e2e-test-kind.yaml / extract (push) Successful in 11s
Run the E2E test on kind / get-go-version (push) Successful in 11s
push.yml / extract (push) Successful in 12s
Main CI / get-go-version (push) Successful in 12s
Run the E2E test on kind / build (push) Failing after 20s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 25s
Backup metadata with an empty or New phase was synced into the cluster as a pending backup, which the queue controller then ran as if it were newly requested. Hooks are dropped as well, since a synced backup never executes them.

Signed-off-by: chlins <chlins.zhang@gmail.com>
2026-08-20 07:57:16 -04:00
lyndon-liandGitHub cda5aab24d Merge pull request #10335 from shubham-pampattiwar/cherry-pick/9920-release-1.18
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
e2e-test-kind.yaml / extract (push) Successful in 17s
Run the E2E test on kind / get-go-version (push) Successful in 19s
push.yml / extract (push) Successful in 12s
Main CI / get-go-version (push) Successful in 14s
Run the E2E test on kind / build (push) Failing after 28s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 28s
[release-1.18] Support copying namespace-scoped secrets/configmaps for backup and restore PVC provisioning
2026-08-20 14:04:01 +08:00
Shubham Pampattiwar 7922bb33c2 Support copying namespace-scoped secrets/configmaps for backup and restore PVC provisioning
Backport of #9920 to release-1.18.

Enables datamover backup/restore of CSI volumes that require
namespace-scoped secrets/configmaps for provisioning (e.g., ODF/ceph-csi
encrypted volumes with Vault KMS). Adds secretNames/configMapNames to the
backupPVC/restorePVC node-agent config; the CSI snapshot and generic
restore exposers copy the named resources from the source/target
namespace to the Velero namespace before creating the intermediate PVC,
and clean them up afterward (labeled with the owner UID). Adds the
corresponding RBAC for secrets/configmaps.

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2026-08-19 09:14:51 -07:00
Xun Jiang/Bruce JiangandGitHub ffe6cffe37 Merge pull request #10319 from blackpiglet/jxun/1.18_remove_pvc_pv_check_for_pvr_creation
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
e2e-test-kind.yaml / extract (push) Successful in 18s
Run the E2E test on kind / get-go-version (push) Successful in 21s
push.yml / extract (push) Successful in 12s
Main CI / get-go-version (push) Successful in 13s
Run the E2E test on kind / build (push) Failing after 25s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 33s
[cherry-pick][1.18] Remove PVC and PV inclusion check during creating PVR.
2026-08-18 15:40:00 +08:00
Xun Jiang 3872b039bb Remove PVC and PV inclusion check during creating PVR.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
2026-08-18 15:18:11 +08:00
lyndon-liandGitHub 2454335c80 Merge pull request #10263 from velero-io/copilot/backport-10250
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
e2e-test-kind.yaml / extract (push) Successful in 13s
Run the E2E test on kind / get-go-version (push) Successful in 15s
push.yml / extract (push) Successful in 11s
Main CI / get-go-version (push) Successful in 13s
Run the E2E test on kind / build (push) Failing after 21s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 25s
[release-1.18] Backport #10250: Fix pod volume restore deadlock
2026-08-14 15:45:34 +08:00
Tiger KaovilaiandGitHub d469d81125 Add changelog for release 10263
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2026-08-13 12:31:57 -04:00
636be631a4 Backport #10250: fix pvr deadlock
Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
2026-08-13 16:25:26 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>kaovilaiTiger Kaovilai
843a3b4696 Backport typo fixes from #10192 (#10222)
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
e2e-test-kind.yaml / extract (push) Successful in 14s
Run the E2E test on kind / get-go-version (push) Successful in 15s
push.yml / extract (push) Successful in 13s
Main CI / get-go-version (push) Successful in 14s
Run the E2E test on kind / build (push) Failing after 25s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 24s
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
Co-authored-by: Tiger Kaovilai <tkaovila@redhat.com>
2026-08-11 16:58:53 +00:00
CopilotGitHubkaovilaicopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Tiger Kaovilai
4e19118e04 1.18: Backport #10047: Fix restore-wait init container ignoring pod-level securityContext (#10224)
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
e2e-test-kind.yaml / extract (push) Successful in 15s
Run the E2E test on kind / get-go-version (push) Successful in 17s
push.yml / extract (push) Successful in 15s
Main CI / get-go-version (push) Successful in 16s
Run the E2E test on kind / build (push) Failing after 28s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 33s
* Backport #10047: fix restore-wait init container ignoring pod-level securityContext

Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>

* Add changelog for release 10224-kaovilai

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

---------

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
Co-authored-by: Tiger Kaovilai <tkaovila@redhat.com>
2026-08-11 16:32:14 +08:00
Adam ZhangandGitHub e413227009 Merge pull request #10164 from adam-jian-zhang/restore-filters-guide-for-1.18
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
e2e-test-kind.yaml / extract (push) Successful in 20s
Run the E2E test on kind / get-go-version (push) Successful in 21s
push.yml / extract (push) Successful in 14s
Main CI / get-go-version (push) Successful in 15s
Run the E2E test on kind / build (push) Failing after 25s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 37s
[Cherry-Pick]add documentation for fine-grained restore filters
2026-08-05 16:40:06 +08:00
Adam Zhang 101496d5a3 add documentation for fine-grained restore filters
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-08-05 14:40:47 +08:00
Adam ZhangandGitHub 8b761803ff [Cherry-Pick] RIA MustInclude annotation and VSC fix for 1.18 (#10101)
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
e2e-test-kind.yaml / extract (push) Successful in 12s
Run the E2E test on kind / get-go-version (push) Successful in 13s
push.yml / extract (push) Successful in 11s
Main CI / get-go-version (push) Successful in 11s
Run the E2E test on kind / build (push) Failing after 28s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 32s
* design for RIA must-include-additional-items

Design for `restore.velero.io/must-include-additional-items` annotation
and its usage and interaction with existing filtering mechanism.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
(cherry picked from commit ac76402aa0)
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* Add RIA must-include additional items (#10082)

Let RestoreItemActions opt in via annotation to
bypass global restore filters for AdditionalItems,
mirroring the backup-side must-include behavior.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
(cherry picked from commit a43a1bce6a)
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* update v1.18 custom-plugins docs for RIA must-include additional items

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* remove VolumeSnapshotContents from resourceMustHave list

Stop force-including VolumeSnapshotContents via resourceMustHave on
every restore; CSI VolumeSnapshot/PVC RestoreItemActions now set
`restore.velero.io/must-include-additional-items` so bound snapshot
dependencies are restored only when their parent is restored.

Fixes: #9957

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
(cherry picked from commit ef100da89b)
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* add tests to cover pvc and vsc ria

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
(cherry picked from commit 63cfddd18d)
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* fix change logs

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

---------

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-29 19:20:52 -04:00
Adam ZhangandGitHub ad0f74ee9d [Cherry-pick]Set based label selectors for 1.18 (#10072)
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
e2e-test-kind.yaml / extract (push) Successful in 12s
Run the E2E test on kind / get-go-version (push) Successful in 14s
push.yml / extract (push) Successful in 13s
Main CI / get-go-version (push) Successful in 14s
Run the E2E test on kind / build (push) Failing after 28s
Run the E2E test on kind / run-e2e-test (push) Skipped
Main CI / Build (push) Failing after 30s
* add documentation for backup filters (#9967)

* add documentation for backup filters

Add user guide for fine grained backup filters with examples
from easy to advanced.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* address review comments

- enhanced example 3, explain how each item got excluded
- enhanced example 8, explain the exact match rule, and how the
  ordering affecting namespace that has  multiple match patterns
- cross link to restore side design
- fix the error msg to be consistent with implemenation

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

---------

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* update backup filters example 14

update the excludeNames to match example 3 for better consistency.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* Support set-based filter label selectors (#10064)

* Support set-based filter label selectors

Use matchLabels/matchExpressions in fine-grained filters.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* omit the details of resource policy for cli

The reason to not resolve and display CLI is because it may go
out of sync, we want to avoid display it to mislead users.

We may consider to cpature those information and display it
in later release.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* update change log

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

---------

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-27 15:13:40 +08:00
Adam ZhangandGitHub bf0ad2949d Merge pull request #10052 from adam-jian-zhang/prioritize-exact-ns-match-for-1.18
Run the E2E test on kind / get-go-version (push) Successful in 1m10s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Main CI / get-go-version (push) Successful in 11s
Run the E2E test on kind / build (push) Failing after 24s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 28s
[Cherry-pick]Prioritize exact namespace match in restore (#10033)
2026-07-22 14:56:56 +08:00
Adam Zhang 893000a369 update changelog id to match PR
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-21 10:37:32 +08:00
Adam Zhang 202778a386 Prioritize exact namespace match in restore (#10033)
* Prioritize exact namespace match in restore

Align restore pipeline with backup pipeline by
evaluating exact namespace matches before glob
patterns in namespacedFilterPolicies. This ensures
specific overrides always win regardless of list
order.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* improve test cases

add test cases for exact listed first, and excat listed last to
ensure the behavior that the order does not matter for exact
listed namespace, the rule will be always honored.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

---------

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-21 10:33:16 +08:00
lyndon-liandGitHub 16f0df492a issue 9997: cancel ongoing PVB on timeout (#10039)
Run the E2E test on kind / get-go-version (push) Successful in 1m1s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Main CI / get-go-version (push) Successful in 11s
Run the E2E test on kind / build (push) Failing after 23s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 21s
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2026-07-20 17:35:55 +08:00
Adam ZhangandGitHub 99a8590b17 Merge pull request #10015 from adam-jian-zhang/fine-grained-restore-filters-for-1.18
Run the E2E test on kind / get-go-version (push) Successful in 58s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Main CI / get-go-version (push) Successful in 11s
Run the E2E test on kind / build (push) Failing after 26s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 27s
Fine grained restore filters for 1.18
2026-07-16 15:43:16 +08:00
Adam Zhang 042f49005d consolidated change logs
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-16 15:09:26 +08:00
Xun Jiang/Bruce JiangandAdam Zhang fdc22a9217 Merge pull request #9989 from adam-jian-zhang/fix-globalExcludes-lookup
fix globalExcludes lookup

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-16 15:01:07 +08:00
Adam Zhang e3bfce3697 add cli for create/view restore resource policies (#9966)
Added CLI for creating restore resource policies, and view
the resource policies associated with resource if present.
Only list the name of the configmap for now.

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-16 15:01:06 +08:00
Adam Zhang 6b34d9bf95 Merge pull request #9946 from adam-jian-zhang/restore_filters_via_resource_policy
restore filters via resource policy

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-16 15:01:06 +08:00
Adam Zhang 6e3f613904 Merge pull request #9939 from adam-jian-zhang/resource_policy_for_restore
add resourcePolicy on restore CRD

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-16 15:01:06 +08:00
Adam Zhang 3ecec1fd82 restore filter enhancement (#9924)
* restore filter enhancement

enhance restore filter with resource policies, introduce resource
policies with fine-grained control for resources in restore, 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>

* address review comments

- Add introductory sentence linking to the Phase 1 backup filters PR.
- Add clarification that a backup's ConfigMap may not exist on the
  target cluster because it might be on a different Velero instance.
- Remove redundant explanations about backup-specific concepts
  (volume policies, include/exclude policies).
- Remove the non-goal regarding restore-side `includeExcludePolicy`.
- Remove the "Interaction with Backup-Side Filters" section.
- Remove "Step 5" from the design, as additional items requested by
  plugins should intentionally bypass fine-grained filter checks
  (consistent with backup side Stage 2).

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

* address more review comments

- remove confusion rows regarding per-namespace kind list
- simplified CLI output to configmap name only

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>

---------

Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>
2026-07-16 14:42:14 +08:00
Chlins ZhangandGitHub 5675a744d9 Merge pull request #10012 from chlins/cp/global-policy
Cherry-pick for #9859 and #9858
2026-07-16 14:33:14 +08:00
chlins f28850e117 feat(backup): add global backup volume policies
Signed-off-by: chlins <chlins.zhang@gmail.com>
2026-07-16 13:31:22 +08:00
Daniel Jiangandchlins 9cc2a49791 Design for global volume policies
Add the design for global volume policies to address the requirement in
 #9858

Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
2026-07-16 11:27:24 +08:00
chlins 97a0375a8d feat(resourcepolicies): support PVC volume mode and access mode matching
Signed-off-by: chlins <chlins.zhang@gmail.com>
2026-07-16 11:26:41 +08:00
chlins 2190f87950 docs(volume-policy): propose PVC volume mode and access mode criteria
Signed-off-by: chlins <chlins.zhang@gmail.com>
2026-07-16 11:26:00 +08:00
Adam ZhangandGitHub 8e6fb316a2 Merge pull request #10011 from adam-jian-zhang/fine-grained-backup-filters-for-1.18
Run the E2E test on kind / get-go-version (push) Successful in 1m0s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Main CI / get-go-version (push) Successful in 12s
Run the E2E test on kind / build (push) Failing after 24s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 20s
Fine grained backup filters for 1.18
2026-07-16 11:20:49 +08:00