Xun Jiang
1652e6b27f
Modify how the restore workflow using the resource name.
...
The restore workflow used name represents the backup resource and the
restore to be restored, but the restored resource name may be different
from the backup one, e.g. PV and VSC are global resources, to avoid
conflict, need to rename them.
Reanme the name variable to backupResourceName, and use obj.GetName()
for restore operation.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-03-20 18:42:09 +08:00
hu-keyu and GitHub
0d27d5258f
issue8720: log doesn't show pv name ( #8771 )
...
Run the E2E test on kind / build (push) Failing after 6m16s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Failing after 1m14s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 52s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 47s
* fix: log doesn't show pv name
Signed-off-by: hu-keyu <hzldd999@gmail.com >
* fix: add changelog
Signed-off-by: hu-keyu <hzldd999@gmail.com >
* update changelog fileName
Signed-off-by: hu-keyu <hzldd999@gmail.com >
---------
Signed-off-by: hu-keyu <hzldd999@gmail.com >
2025-03-13 18:14:05 -04:00
38a52980cc
Issue #8772 ensure pv removed ( #8777 )
...
Run the E2E test on kind / build (push) Failing after 6m16s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 37s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m10s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 53s
* ensure pv has been deleted
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch >
* ensure delete pv unit test
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch >
* comment, errors
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch >
* updated changelog
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch >
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch >
* pass value
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch >
* function renamed as suggested
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch >
---------
Signed-off-by: Roger Zimmermann <roger.zimmermann@inventx.ch >
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
2025-03-13 10:39:25 -04:00
Shubham Pampattiwar and GitHub
1b4c17bf9c
Merge pull request #8784 from blackpiglet/update_repo_maintanence_doc
...
Fix the JSON format error in the repository-maitenance.md
2025-03-13 07:01:09 -07:00
Xun Jiang
b83148f626
Fix the JSON format error in the repository-maitenance.md
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-03-13 16:45:53 +08:00
Xun Jiang/Bruce Jiang and GitHub
0fb63232ba
Merge pull request #8782 from vmware-tanzu/dependabot/go_modules/golang.org/x/net-0.36.0
...
Run the E2E test on kind / build (push) Failing after 6m31s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 38s
Bump golang.org/x/net from 0.34.0 to 0.36.0
2025-03-13 10:36:46 +08:00
dependabot[bot] and GitHub
55d1592aaa
Bump golang.org/x/net from 0.34.0 to 0.36.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.34.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.34.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-13 01:58:14 +00:00
lyndon-li and GitHub
d1a244e12f
Merge pull request #8774 from mpryc/upstream_8649
...
Run the E2E test on kind / build (push) Failing after 7m29s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 39s
Close stale issues and PRs / stale (push) Successful in 9s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m19s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 1m8s
issue 8649: host_pods should not be mandatory to node-agent
2025-03-12 08:39:00 +08:00
Shubham Pampattiwar and GitHub
6337c52cfb
Merge pull request #8755 from sseago/csi-pvc-annotations
...
Run the E2E test on kind / build (push) Failing after 12m44s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 42s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m11s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 57s
Move pvc annotation removal from CSI RIA to regular PVC RIA
2025-03-11 10:45:58 -07:00
Michal Pryc
b4eee87e18
issue 8649: host_pods should not be mandatory to node-agent
...
Enables the node-agent to start even if the
/host_pods path does not exist.
If the path is present, the existing logic
remains unchanged, ensuring it is readable.
Signed-off-by: Michal Pryc <mpryc@redhat.com >
2025-03-11 13:11:25 +01:00
lyndon-li and GitHub
eb5634f41e
Merge pull request #8770 from Lyndon-Li/issue-fix-8754
...
Run the E2E test on kind / build (push) Failing after 6m24s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 38s
Issue 8754: add third party annotation support
2025-03-11 16:41:19 +08:00
Xun Jiang/Bruce Jiang and GitHub
7a311d6ee0
Merge pull request #8775 from ywk253100/250311_doc
...
Fix incorrect indent in doc
2025-03-11 16:39:00 +08:00
Wenkai Yin(尹文开)
1eda42a9f2
Fix incorrect indent in doc
...
Fix incorrect indent in doc
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2025-03-11 14:17:26 +08:00
Lyndon-Li
b170892e64
issue 8754: add third party annotation support
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-03-10 10:38:26 +08:00
Tiger Kaovilai and GitHub
1516e72ccb
Merge pull request #8759 from shubham-pampattiwar/add-vp-labels-docs
...
Run the E2E test on kind / build (push) Failing after 6m24s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 36s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m7s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 59s
Add docs for volume policy with labels as a criteria
2025-03-07 09:52:49 -06:00
Shubham Pampattiwar
deb262c1b0
Add docs for volume policy with labels as a criteria
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-03-06 08:26:17 -08:00
Scott Seago
fe14a2c934
Move pvc annotation removal from CSI RIA to regular PVC RIA
...
Combine existing PVC non-CSI RIAs and move annotation
removal out of the CSI plugin to fix issues with
CSI volumes when using fs-backup
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-03-05 15:55:55 -05:00
Shubham Pampattiwar and GitHub
512199723f
Merge pull request #8693 from shubham-pampattiwar/obj-status-restore-docs
...
Run the E2E test on kind / build (push) Failing after 5m49s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m1s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 48s
Add docs for object level status restore
2025-03-05 12:05:40 -08:00
Tiger Kaovilai and GitHub
05112fef29
Merge pull request #8734 from lindhe/patch-1
...
Run the E2E test on kind / build (push) Failing after 5m39s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 36s
Close stale issues and PRs / stale (push) Successful in 7s
Fix typo "Defaults is"
2025-03-05 10:55:39 -06:00
Tiger Kaovilai and GitHub
5dbf002da7
go-mod-upgrade: golang.org/x/oauth2@v0.27.0 ( #8752 )
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-03-05 09:21:16 -05:00
Wenkai Yin(尹文开) and GitHub
d18278aa58
Merge pull request #8737 from Lyndon-Li/issue-fix-8733
...
Run the E2E test on kind / build (push) Failing after 6m7s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 36s
Issue 8733: add doc for restorePVC
2025-03-05 15:07:33 +08:00
Wenkai Yin(尹文开) and GitHub
d4e40c01d8
Merge pull request #8736 from Lyndon-Li/issue-fix-8426
...
Add doc for Windows support
2025-03-05 15:06:26 +08:00
Xun Jiang/Bruce Jiang and GitHub
5e68beb13f
Merge pull request #8743 from kaovilai/crypto-652135
...
CVE-2025-22869
2025-03-05 11:25:12 +08:00
Tiger Kaovilai
945911ccb5
dockerfile go:1.23
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-03-04 11:18:14 -06:00
Tiger Kaovilai
bf2b1185bf
CVE-2025-22869 + go1.23
...
Including https://go-review.googlesource.com/c/crypto/+/652135 patch to fix CVE
```sh
go get golang.org/x/crypto@v0.35 .0 toolchain@none && go mod tidy
```
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-03-04 09:47:16 -06:00
aa88d1cfd3
chore: update Go to 1.23 and toolchain to 1.23.6 ( #8717 )
...
Run the E2E test on kind / build (push) Failing after 5m45s
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
build-image / Build (push) Failing after 9s
Main CI / Build (push) Failing after 21s
Close stale issues and PRs / stale (push) Successful in 7s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 59s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 47s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Janne Kataja <janne.kataja@sdx.com >
2025-03-04 10:33:33 -05:00
Matthieu MOREL and GitHub
6a6a237ba7
Bump golangci-lint from v1.57.2 to v1.64.5 ( #8641 )
...
Run the E2E test on kind / build (push) Failing after 5m43s
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
build-image / Build (push) Failing after 8s
Main CI / Build (push) Failing after 33s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-03-04 13:55:29 +05:30
lyndon-li and GitHub
3c22de7fe3
Merge pull request #8747 from Lyndon-Li/doc-for-maintenance-history
...
Add doc for maintenance history
2025-03-04 14:22:42 +08:00
Lyndon-Li
88455b1e83
add doc for maintenance history
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-03-04 11:09:51 +08:00
Lyndon-Li
5ed2401b9d
issue 8733: add doc for restorePVC
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-03-04 10:54:03 +08:00
Lyndon-Li
1746291e59
issue-8426: add doc for Windows support
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-02-28 17:06:18 +08:00
Lyndon-Li
cb400e1d6b
Merge branch 'main' into issue-fix-8426
2025-02-28 17:02:53 +08:00
Lyndon-Li
b334bfc3d7
issue-8426: add doc for Windows support
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-02-28 16:40:55 +08:00
Andreas Lindhé and GitHub
7208f94c4f
Fix typo "Defaults is"
...
This change fixes a minor typo in the Backup Hooks documentation, changing "Defaults is" to "Defaults to".
Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com >
2025-02-28 08:42:39 +01:00
lyndon-li and GitHub
3821906ffa
Merge pull request #8729 from Lyndon-Li/iss-fix-8475
...
Run the E2E test on kind / build (push) Failing after 6m10s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 38s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m0s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 48s
Issue 8475: refactor build-from-source doc
2025-02-28 14:37:50 +08:00
lyndon-li and GitHub
81609484ae
Merge pull request #8728 from ywk253100/250227_pvb
...
Return directly if no pod volme backup are tracked
2025-02-28 11:16:26 +08:00
Lyndon-Li
3c323060c0
issue 8475: refactor build-from-source doc
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-02-27 18:48:10 +08:00
Wenkai Yin(尹文开)
ee43d040a6
Return directly if no pod volme backup are tracked
...
Return directly if no pod volme backup are tracked
Fixes #8723
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2025-02-27 16:56:03 +08:00
lyndon-li and GitHub
a7f977f198
Merge pull request #8727 from Lyndon-Li/bump-up-kopia-0.19.0
...
Run the E2E test on kind / build (push) Failing after 6m33s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 37s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m3s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 55s
Bump up kopia to 0.19.0
2025-02-27 15:59:05 +08:00
Lyndon-Li
f12b9c15b2
bump up kopia to 0.19.0
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-02-27 13:35:47 +08:00
Shubham Pampattiwar and GitHub
0eb1040a0a
Add labels as a criteria for volume policy ( #8713 )
...
Run the E2E test on kind / build (push) Failing after 6m23s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 38s
Close stale issues and PRs / stale (push) Successful in 9s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m5s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 55s
* Add labels as a criteria for volume policy
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
handle err
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
use labels selector.matches
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove fetching pvc from volume policy filtering
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add more ut coverage
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
* minor updates
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
use VolumeFilterData struct in GetMatchAction func
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update parsePVC func and add more ut
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
lint fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
---------
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-02-26 10:02:45 -05:00
Wenkai Yin(尹文开) and GitHub
a45c9f27e8
Merge pull request #8715 from Lyndon-Li/issue-fix-8706
...
Run the E2E test on kind / build (push) Failing after 6m45s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 36s
Close stale issues and PRs / stale (push) Successful in 9s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 55s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 44s
Issue 8706: for immediate volumes, get node from volumeattachment
2025-02-25 14:25:45 +08:00
Xun Jiang/Bruce Jiang and GitHub
f79b825cf1
Merge pull request #8684 from blackpiglet/7979_fix
...
7979 fix
2025-02-25 13:27:01 +08:00
Xun Jiang/Bruce Jiang and GitHub
ad08c7a3ff
Merge pull request #8712 from sseago/pod-initcontainer-securitycontext
...
Copy SecurityContext from Containers[0] if present for PVR
2025-02-25 11:02:57 +08:00
lyndon-li and GitHub
564e77465b
Merge pull request #8581 from kaovilai/configKopiaMaintInterval
...
Configurable Kopia Maintenance Interval
2025-02-25 10:56:23 +08:00
Xun Jiang
6b7dd12bf7
Modify VS and VSC restore actions.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-02-25 10:44:45 +08:00
Scott Seago
21db5f8853
Copy SecurityContext from Containers[0] if present for PVR
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-02-24 15:23:29 -05:00
lyndon-li and GitHub
9295be4cc0
Merge pull request #8714 from kaovilai/gitignore_debug.test
...
Run the E2E test on kind / build (push) Failing after 5m44s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m8s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 43s
Ignore debug.test* from vscode debug
2025-02-24 14:20:52 +08:00
Tiger Kaovilai
178b6e3db5
add more maintenance interval unit tests
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-21 14:22:11 -06:00
Lyndon-Li
bf0d909524
issue 8706: for immediate volumes, get node from volumeattachment
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-02-21 13:27:44 +08:00