Adam Zhang
eb0659f06d
Add validations for ClusterScopedFilterPolicy
...
Added validations for ClusterScopedFilterPolicy to
report errors for various invalid scenarios.
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-06-04 13:24:27 +08:00
lyndon-li and GitHub
4374948830
Merge pull request #9875 from Lyndon-Li/repo-snapshot-operation-enhance
...
Run the E2E test on kind / get-go-version (push) Failing after 1m11s
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 18s
Main CI / Build (push) Failing after 40s
Close stale issues and PRs / stale (push) Successful in 14s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m47s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m24s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m23s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m22s
Repo snapshot operation enhance
2026-06-03 14:13:04 +08:00
Lyndon-Li
09bfc69d63
add totalSize to repo snapshot
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-03 13:23:08 +08:00
Adam Zhang and GitHub
869ec523af
Merge pull request #9848 from adam-jian-zhang/namespaced-filter-policies-validation
...
Add validations for NamespacedFilterPolicies
2026-06-03 13:12:05 +08:00
Lyndon-Li
2e1ab5ab62
Merge branch 'main' into block-data-mover-backup-expose
2026-06-02 16:56:40 +08:00
lyndon-li and GitHub
5cc0398662
Merge pull request #9864 from Lyndon-Li/node-agent-config-for-cbt-service
...
Add cbt service parameters to node-agent-config
2026-06-02 16:53:48 +08:00
Wenkai Yin(尹文开) and GitHub
b7d5d84983
Merge pull request #9861 from Lyndon-Li/remove-restic-command-package
...
Remove restic command package
2026-06-02 12:53:57 +08:00
Adam Zhang and GitHub
1318d2c5dd
Merge pull request #9840 from adam-jian-zhang/legacy_filters_incompatibility_validation
...
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) Successful in 14s
Main CI / Build (push) Failing after 34s
validate incompatiblity with legacy filters
2026-06-02 09:42:57 +08:00
Lyndon-Li
74ffe25cbe
add cbt service parameters to node-agent-config
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-01 14:43:43 +08:00
lyndon-li and GitHub
2863f0df48
Merge branch 'main' into block-data-mover-backup-expose
2026-05-28 17:29:39 +08:00
Lyndon-Li
cdf3b9ffaa
add backup exposer for block data mover
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-28 16:13:09 +08:00
lyndon-li and GitHub
89be6c01df
Merge pull request #9853 from Lyndon-Li/incremental-aware-object-write
...
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 12s
Main CI / Build (push) Failing after 29s
Close stale issues and PRs / stale (push) Successful in 12s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m50s
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 1m20s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m20s
Incremental aware object write
2026-05-28 14:55:36 +08:00
Lyndon-Li
0a7e5d600b
remove restic command package
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-28 14:41:54 +08:00
Lyndon-Li
44eaea8faf
incremental aware object writer - write
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-28 14:30:11 +08:00
Xun Jiang/Bruce Jiang and GitHub
1186db83bf
Merge branch 'main' into copilot/replace-vmware-tanzu-velero
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
2026-05-27 22:50:17 +08:00
Xun Jiang
8bca779270
Implement the CBT service.
...
* Update go.mod
* Init CBT service in velero data-mover backup/restore CLI.
* Call exeternal-snapshot-metadata's iterator library code to implement the CBT.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-27 14:59:16 +08:00
Lyndon-Li
ac1e472d53
add incremental aware object writer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-26 08:57:56 +08:00
a34a676fa3
chore: narrow PR scope to site docs updates
...
Agent-Logs-Url: https://github.com/velero-io/velero/sessions/3fa04f71-b7a9-47d5-b881-fb3cd9226d98
Co-authored-by: blackpiglet <59276555+blackpiglet@users.noreply.github.com >
2026-05-25 05:35:00 +00:00
Adam Zhang
b278d38f7e
Add validations for NamespacedFilterPolicies
...
Add validation rules for NamespacedFilterPolicies to fail fast
for invalid NamespacedFilterPolicies.
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-05-25 11:08:40 +08:00
Adam Zhang
b29185a62d
validate incompatibility with legacy filters
...
Legacy filters should not be co-exist with new filters defined in
resource policies,
- ClusterScopedFilterPolicy
- NamespacedFilterPolicy
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
add test cases to cover positive scenario
add test case to cover the scenario that backup can
complete successfully with namespacedFilterPolicies
and clusterScopedFilterPolicy.
Signed-off-by: Adam Zhang <adam.zhang@broadcom.com >
2026-05-23 12:39:10 +08:00
copilot-swe-agent[bot] and GitHub
c51fac63d5
Merge remote-tracking branch 'origin/main' into copilot/replace-vmware-tanzu-velero
...
Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com >
2026-05-22 15:15:31 +00:00
lyndon-li and GitHub
57c4c6fc99
Merge branch 'main' into incremental-aware-object-writer
2026-05-22 17:32:49 +08:00
Lyndon-Li
596e774582
add incremental aware object writer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-22 16:36:41 +08:00
f5fe41dabf
chore: add unreleased changelog for PR 9844
...
Agent-Logs-Url: https://github.com/velero-io/velero/sessions/9c249471-23d8-4621-aa48-7d9b81c6ed44
Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com >
2026-05-22 07:46:23 +00:00
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
lyndon-li and GitHub
3e88666872
Merge branch 'main' into data-path-naming-adjustment
2026-05-22 15:22:48 +08:00
Lyndon-Li
d08790534a
Merge branch 'main' into data-path-naming-adjustment
2026-05-22 15:08:29 +08:00
Lyndon-Li
d58139536b
Merge branch 'main' into kopia-repo-snapshot-operations
2026-05-22 14:57:39 +08:00
lyndon-li and GitHub
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 and GitHub
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 and GitHub
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
53f25cde2b
data path naming adjustment for block data mover
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-22 14:32:37 +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
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 and GitHub
b91d34065b
Add changelog for unreleased version 9791
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2026-05-21 22:05:40 -04:00
Christian Schlichtherle and GitHub
1e1eb0b4ec
Merge branch 'main' into fix/dataupload-delete-foreign-backup
2026-05-21 11:53:20 +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
6bf73dc7ac
Merge branch 'main' into cbt-bitmap-implementation
2026-05-21 09:22:45 +08: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
Joseph Antony Vaikath and GitHub
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
+2
76197d7892
fix: lint permission issue ( #9740 )
...
Run the E2E test on kind / get-go-version (push) Failing after 49s
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 11s
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 1m30s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m21s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m17s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m19s
* fix: lint permission issue
Signed-off-by: emirot <emirot.nolan@gmail.com >
* fix: lint permission issue
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Set permissions to the actions
This commit update the actions "Auto Assign Author", "Auto Label PRs",
and "Auto Request Review"
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Fix wildcard expansion when includes is empty and excludes has wildcards (#9684 )
* Fix wildcard expansion when includes is empty and excludes has wildcards
When a Backup CR is applied via kubectl with empty includedNamespaces
and a wildcard in excludedNamespaces, ShouldExpandWildcards triggers
expansion. The empty includes expands to nil, but wildcardExpanded is
set to true, causing ShouldInclude to return false for all namespaces.
Populate expanded includes with all active namespaces when the original
includes was empty (meaning "include all") so that the wildcardExpanded
check does not falsely reject everything.
Signed-off-by: Joseph <jvaikath@redhat.com >
* Changelog
Signed-off-by: Joseph <jvaikath@redhat.com >
* Normalize empty includes to * instead of active namespaces list
This ensures consistent behavior between CLI and kubectl-apply paths
for Namespace CR inclusion when excludes contain wildcards.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: Joseph <jvaikath@redhat.com >
* Move empty includes normalization to backup controller
Instead of normalizing empty IncludedNamespaces to ["*"] in the
collections layer's ExpandIncludesExcludes, do it earlier in
prepareBackupRequest. This ensures the spec is correct before any
downstream processing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: Joseph <jvaikath@redhat.com >
* Update TestProcessBackupCompletions for wildcard normalization
Add IncludedNamespaces: []string{"*"} to all expected BackupSpec
structs, reflecting the new prepareBackupRequest normalization.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: Joseph <jvaikath@redhat.com >
* Add checks around empty includenamespaces
Signed-off-by: Joseph <jvaikath@redhat.com >
* gofmt
Signed-off-by: Joseph <jvaikath@redhat.com >
---------
Signed-off-by: Joseph <jvaikath@redhat.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* update hashicorp/go-hclog and go-plugin to current version (#9613 )
Signed-off-by: Peter Woodman <peter@shortbus.org >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* fix: honor -stderrthreshold when -logtostderr is true (default)
klog v2 defaults -logtostderr to true, which silently ignores the
-stderrthreshold flag — all log levels are unconditionally sent to
stderr. This makes it impossible for log-aggregation systems to filter
by severity.
Bump klog to v2.140.0 and opt into the fixed behavior by setting
legacy_stderr_threshold_behavior=false and stderrthreshold=INFO (which
preserves current output while letting users override via CLI flags).
Ref: kubernetes/klog#212 , kubernetes/klog#432
Signed-off-by: Pierluigi Lenoci <pierluigilenoci@gmail.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* fix: add changelog and nolint explanation for CI
Add missing changelog entry for PR 9654 (fixes Changelog Check).
Add explanation to //nolint:errcheck directives (fixes nolintlint).
Signed-off-by: Pierluigi Lenoci <pierluigilenoci@gmail.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Remove Restic code path from PodVolumeRestore.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Bump go.opentelemetry.io/otel from 1.40.0 to 1.41.0
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go ) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.41.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
dependency-version: 1.41.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Fix error in auto-request-review action
Per action.yml of the action, the token is required.
https://github.com/necojackarc/auto-request-review/blob/e89da1a8cd7c8c16d9de9c6e763290b6b0e3d424/action.yml#L8
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* fix go-releaser upload error
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* add concurrency limit to go-releaser
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0 (#9692 )
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go ) from 1.40.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.43.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-version: 1.43.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: emirot <emirot.nolan@gmail.com >
* fix(lint): fix lint local
Signed-off-by: emirot <emirot.nolan@gmail.com >
* Apply suggestion from @blackpiglet
https://github.com/velero-io/velero/pull/9740/changes#r3151366281
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
---------
Signed-off-by: emirot <emirot.nolan@gmail.com >
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
Signed-off-by: Joseph <jvaikath@redhat.com >
Signed-off-by: Peter Woodman <peter@shortbus.org >
Signed-off-by: Pierluigi Lenoci <pierluigilenoci@gmail.com >
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Co-authored-by: Daniel Jiang <daniel.jiang@broadcom.com >
Co-authored-by: Joseph Antony Vaikath <jvaikath@redhat.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Co-authored-by: peter woodman <peter@shortbus.org >
Co-authored-by: Pierluigi Lenoci <pierluigilenoci@gmail.com >
Co-authored-by: Xun Jiang <xun.jiang@broadcom.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lyndon-Li <lyonghui@vmware.com >
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
2026-04-28 03:11:49 -04:00
Xun Jiang/Bruce Jiang and GitHub
6090392cfc
Merge pull request #9732 from blackpiglet/9468_fix
...
Run the E2E test on kind / get-go-version (push) Failing after 1m3s
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 9s
Main CI / Build (push) Failing after 31s
Close stale issues and PRs / stale (push) Successful in 12s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m39s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m19s
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 1m7s
Remove Restic code path from PodVolumeRestore
2026-04-24 15:30:58 +08:00
Xun Jiang/Bruce Jiang and GitHub
f30be4b657
Merge pull request #9654 from pierluigilenoci/fix/honor-stderrthreshold
...
Honor stderrthreshold when logtostderr is enabled
2026-04-24 13:24:50 +08:00
peter woodman and GitHub
7549408e21
update hashicorp/go-hclog and go-plugin to current version ( #9613 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m1s
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 11s
Main CI / Build (push) Failing after 32s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m41s
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 1m8s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m17s
Signed-off-by: Peter Woodman <peter@shortbus.org >
2026-04-23 00:20:05 -04:00
3b34fb8eff
Fix wildcard expansion when includes is empty and excludes has wildcards ( #9684 )
...
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 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / get-go-version (push) Successful in 11s
Main CI / Build (push) Failing after 33s
Close stale issues and PRs / stale (push) Successful in 12s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m53s
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 1m11s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m13s
* Fix wildcard expansion when includes is empty and excludes has wildcards
When a Backup CR is applied via kubectl with empty includedNamespaces
and a wildcard in excludedNamespaces, ShouldExpandWildcards triggers
expansion. The empty includes expands to nil, but wildcardExpanded is
set to true, causing ShouldInclude to return false for all namespaces.
Populate expanded includes with all active namespaces when the original
includes was empty (meaning "include all") so that the wildcardExpanded
check does not falsely reject everything.
Signed-off-by: Joseph <jvaikath@redhat.com >
* Changelog
Signed-off-by: Joseph <jvaikath@redhat.com >
* Normalize empty includes to * instead of active namespaces list
This ensures consistent behavior between CLI and kubectl-apply paths
for Namespace CR inclusion when excludes contain wildcards.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: Joseph <jvaikath@redhat.com >
* Move empty includes normalization to backup controller
Instead of normalizing empty IncludedNamespaces to ["*"] in the
collections layer's ExpandIncludesExcludes, do it earlier in
prepareBackupRequest. This ensures the spec is correct before any
downstream processing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: Joseph <jvaikath@redhat.com >
* Update TestProcessBackupCompletions for wildcard normalization
Add IncludedNamespaces: []string{"*"} to all expected BackupSpec
structs, reflecting the new prepareBackupRequest normalization.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: Joseph <jvaikath@redhat.com >
* Add checks around empty includenamespaces
Signed-off-by: Joseph <jvaikath@redhat.com >
* gofmt
Signed-off-by: Joseph <jvaikath@redhat.com >
---------
Signed-off-by: Joseph <jvaikath@redhat.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-22 13:24:22 -07:00
Pierluigi Lenoci
4d23571c18
fix: add changelog and nolint explanation for CI
...
Add missing changelog entry for PR 9654 (fixes Changelog Check).
Add explanation to //nolint:errcheck directives (fixes nolintlint).
Signed-off-by: Pierluigi Lenoci <pierluigilenoci@gmail.com >
2026-04-22 16:10:46 +02:00
Xun Jiang
da3e7cfaaf
Remove Restic code path from PodVolumeRestore.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-04-22 14:07:54 +08:00
Lyndon-Li
b1827074e5
Merge branch 'main' into cbt-bitmap-implementation
2026-04-21 14:57:27 +08:00
lyndon-li and GitHub
256e1063d7
Merge branch 'main' into cbt-interfaces
2026-04-21 14:16:23 +08:00