Xun Jiang/Bruce Jiang and GitHub
25402b6209
[1.18] Deprecate inactive maintained packages ( #9912 )
...
Run the E2E test on kind / get-go-version (push) Successful in 59s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Main CI / get-go-version (push) Successful in 14s
Run the E2E test on kind / build (push) Failing after 1m48s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 25s
* Replace github.com/robfig/cron/v3 by github.com/netresearch/go-cron
Replace k8s.io/utils/pointer with k8s.io/utils/ptr
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
* Replace gopkg.in/yaml.v3 by go.yaml.in/yaml/v3
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
* Replace github.com/joho/godotenv.
Move the needed code into Velero repository.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
* Replace github.com/pkg/errors by github.com/cockroachdb/errors
Change errors.Cause to errors.Is, because github.com/cockroachdb/errors
New() function create a error with error stack with depth 1, but
github.com/pkg/errors's New() function create error with no depth.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
---------
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
2026-07-10 11:20:34 +08:00
Xun Jiang/Bruce Jiang and GitHub
c8ca0670d2
Bump depedencies to fix CVEs for v1.18.2 ( #9919 )
...
* Bump depedencies to fix CVEs for v1.18.2
* Bump base image to paketobuildpacks/run-jammy-tiny:0.2.139
* Bump Golang to 1.25.11-trixie
* Bump golang.org/x/crypto to v0.53.0
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
* Fix GitHub action failures.
* Use helm/kind-action to replace engineerd/setup-kind
* Update MinIO Dockerfile URL
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
---------
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-06-15 09:23:23 -04:00
Xun Jiang/Bruce Jiang and GitHub
f90a37302e
Merge pull request #9884 from blackpiglet/jxun/1.18/bump_dependency_packages
...
[1.18] Remove several deperacated or inactively maintained packages
2026-06-10 13:47:07 +08:00
Xun Jiang
47b3192670
Bump k8s library versions to v0.33.11
...
Bump the ginkgo version in the E2E test Makefile.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-12 12:01:56 +08:00
Xun Jiang
5e3cb1eb68
Bump Velero dependencies to latest version.
...
* Fix UT errors: non-constant format string in call to ...
* Fix linter issues.
* Not touch the k8s client version and the controller-runtime version.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-11 16:15:20 +08:00
Xun Jiang
ce360b4033
Use string.Builder to concatenate string in loop.
...
* Fix TestFindVolumeRestoresForPodLegacy error.
* Stablize the TestExecute case in pvc_action_test.go
* Use toolchain to set the specific version for go.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-11 15:33:34 +08:00
Xun Jiang
d245d3b0d5
Bump golang.net/x/net to 0.51.0 to fix CVE-2026-27141
...
Bump paketobuildpacks/run-jammy-tiny to latest tag: 0.2.129
Update the minio Dockerfile directory.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-05-06 14:58:26 +08:00
Xun Jiang
780f5518a5
Fix CVEs for v1.18.1
...
* Bump golang to 1.25.9-trixie
* Bump jammy to 0.2.126
* Bump google.golang.org/grpc and google.golang.org/api in restic to 1.79.3 to fix CVE-2026-33186
* Bump github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream to 1.7.8 to fix GHSA-xmrv-pmrh-hhx2
* Bump github.com/aws/aws-sdk-go-v2/service/s3 to 1.97.3 to fix GHSA-xmrv-pmrh-hhx2
* Bump github.com/moby/spdystream to 0.5.1 to fix CVE-2026-35469
* Bump go.opentelemetry.io/otel/sdk to 1.43.0 to fix CVE-2026-39883
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-04-24 16:44:28 +08:00
Shubham Pampattiwar
124824a478
Bump external-snapshotter to v8.4.0 for VGS v1beta2 support
...
Kubernetes 1.34 introduced VolumeGroupSnapshot v1beta2 API and
deprecated v1beta1. Distributions running K8s 1.34+ (e.g. OpenShift
4.21+) have removed v1beta1 VGS CRDs entirely, breaking Velero's
VGS functionality on those clusters.
This change bumps external-snapshotter/client/v8 from v8.2.0 to
v8.4.0 and migrates all VGS API usage from v1beta1 to v1beta2.
The v1beta2 API is structurally compatible - the Spec-level types
(GroupSnapshotHandles, VolumeGroupSnapshotContentSource) are
unchanged. The Status-level change (VolumeSnapshotHandlePairList
replaced by VolumeSnapshotInfoList) does not affect Velero as it
does not directly consume that type.
Fixes #9694
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2026-04-10 17:16:58 -07:00
dependabot[bot] and Xun Jiang/Bruce Jiang
4cb9c7b9a2
Bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4
...
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose ) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Commits](https://github.com/go-jose/go-jose/compare/v4.1.3...v4.1.4 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
dependency-version: 4.1.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-08 10:11:48 +08:00
dependabot[bot] and Xun Jiang
6055bd5478
Bump google.golang.org/grpc from 1.77.0 to 1.79.3
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.77.0 to 1.79.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.77.0...v1.79.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-19 16:33:59 +08:00
Lyndon-Li
ce2b4c191f
issue 9460: flush buffer when uploader completes
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-03-12 11:26:30 +08:00
Xun Jiang
ffa65605a6
Bump go.opentelemetry.io/otel/sdk to 1.40.0 to fix CVE-2026-24051.
...
Bump Linux base image to paketobuildpacks/run-jammy-tiny:0.2.104
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-03-02 17:09:23 +08:00
Xun Jiang/Bruce Jiang and GitHub
c9e26256fa
Bump Golang version to v1.25.7 ( #9536 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m26s
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
Fix test case issue and add UT.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-02-10 15:50:23 -05:00
Lyndon-Li
c556603ce2
bump kopia to 0.22.3
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-12-30 16:44:52 +08:00
Xun Jiang and Xun Jiang/Bruce Jiang
758f6a4847
Bump Golang version from 1.24-bookworm to 1.25-bookworm
...
Bump golangci-lint to v1.25.0, because golangci-lint start to support
Golang v1.25 since v1.24.0, and v1.26.x was not stable yet.
Align action pr-linter-check's golangci-lint version to v1.25.0
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-11-26 14:16:42 +08:00
Lyndon-Li
e63486b677
fix-linter-error
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-11-24 17:26:59 +08:00
dependabot[bot] and Xun Jiang/Bruce Jiang
960a596e7b
Bump golang.org/x/crypto from 0.40.0 to 0.45.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.40.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.40.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-24 17:09:09 +08:00
Priyansh Choudhary and GitHub
f1476defde
Update AzureAD Microsoft Authentication Library to v1.5.0 ( #9244 )
...
Run the E2E test on kind / build (push) Failing after 9s
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 4s
Close stale issues and PRs / stale (push) Failing after 6m3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 38s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 2s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 6s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 11m22s
* Update AzureAD Microsoft Authentication Library to v1.5.0
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Added Changelog
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
---------
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-09-11 14:07:46 -04:00
Xun Jiang
e8208097ba
Bump k8s library to v1.33.
...
Replace deprecated EventExpansion method with WithContext methods.
Modify UTs.
Align the E2E ginkgo CLI version with go.mod
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-09-10 17:58:38 +08:00
Xun Jiang
dbbfb705e9
Use 1.24 instead of v1.24.0, and remove toolchain.
...
The reason is toolchain cannot update automatically.
If 1.24 can force CI use the latest patch version,
and it will not force user to upgrade their local go version,
this should be the better approach.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-07-24 11:30:08 +08:00
Lyndon-Li
34f8b73507
bump up kopia to v0.21.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-07-22 15:56:04 +08:00
Lyndon-Li
e6377ff2fd
Merge branch 'main' into bump-up-kopia-0.21.1
2025-07-22 13:42:37 +08:00
Lyndon-Li
b5502330e5
bump up kopia to v0.21.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-07-22 13:40:12 +08:00
Shubham Pampattiwar
a73a150d98
Accommodate VGS workflows in PVC CSI plugin
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
lint fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add unit tests for getVSForPVC func
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Use v1beta1 instead of v1 v1alpha1
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
go mod tidy
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update updateVGSCreatedVS func to use retry on conflict
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update minor fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix ut assert
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Address PR feedback
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
minor updates
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove unsused func and add todo for dep upgrades
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-07-21 11:36:40 -07:00
Matthieu MOREL and GitHub
e88fbb6fa5
chore: enable exptostd linter ( #9086 )
...
Run the E2E test on kind / build (push) Failing after 7m47s
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 39s
Close stale issues and PRs / stale (push) Successful in 20s
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 1m21s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m28s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m28s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-07-17 17:16:00 -04:00
Daniel Jiang and GitHub
2e83a3c680
Merge pull request #9038 from kaovilai/metrics_unit_test
...
Run the E2E test on kind / build (push) Failing after 7m4s
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 / Build (push) Failing after 39s
Close stale issues and PRs / stale (push) Successful in 18s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m38s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m29s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m37s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m22s
Add tests for backup and restore metrics with adhoc backups
2025-07-11 18:27:25 +08:00
Daniel Jiang and Xun Jiang/Bruce Jiang
a550910f36
Add Gauge metric for BSL availability
...
The label of the gauge is the name of BSL
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2025-07-03 17:36:19 +08:00
Tiger Kaovilai and Xun Jiang/Bruce Jiang
5a5abb59ba
Add tests for backup and restore metrics with adhoc backups
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-07-03 10:32:37 +08:00
Lyndon-Li
2e7d11e3b6
bump kopia v0.20.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-06-18 13:35:12 +08:00
08929d2e1c
Bump golang.org/x/net from 0.36.0 to 0.38.0 ( #8872 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 02:39:30 -04:00
efad9a0e94
Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 ( #8806 )
...
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 15:01:52 +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
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
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
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
Tiger Kaovilai and GitHub
a3cee616dc
Upgrade go.mod k8s.io/ go.mod to v0.31.3 and set klog.SetLogger() for client-go ( #8450 )
...
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
build-image / Build (push) Failing after 10s
Main CI / Build (push) Failing after 31s
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 45s
Also bumped to support upgraded k8s.io/ deps.
- controller-gen to v0.16.5
- sigs.k8s.io/controller-runtime v0.19.2
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-17 15:05:10 -05:00
Lyndon-Li
7caa52c1fa
bump up kopia
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-23 16:01:12 +08:00
Lyndon-Li
4ce7361f5a
recall repo maintenance history on restart
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-07 12:58:43 +08:00
Tiger Kaovilai
8cb04bba33
CVE-2024-45337 CVE-2024-45338
...
Replaces #8514
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-12-21 00:59:48 +07:00
Lyndon-Li
3cd85f5b43
ping kopia to 0.18.2
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-03 13:06:26 +08:00
Wenkai Yin(尹文开) and GitHub
8320df44fd
Merge pull request #8275 from ywk253100/241008_discovery
...
Bump up version of client-go and controller-runtime
2024-10-28 13:51:17 +08:00
Lyndon-Li
9d5bb455a6
bump up kopia for 1.15
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-10-16 15:45:05 +08:00
Wenkai Yin(尹文开)
0a4e417aab
Bump up version of client-go and controller-runtime
...
Bump up version of client-go to v0.30.5
Bump up version of controller-runtime to v0.18.5
Fixes #8274
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-08 18:53:12 +08:00
Xun Jiang/Bruce Jiang and GitHub
bf6215c894
Merge pull request #7793 from kaovilai/upgrade_robfig/cron/v3
...
Upgrade to robfig/cron/v3 to support time zone specification
2024-09-11 14:02:58 +08:00
Lyndon-Li
a80c9359bf
bump up kopia
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-29 13:10:08 +08:00
lyndon-li and GitHub
55e027897c
Merge pull request #8010 from blackpiglet/7961_fix
...
Bump Ginkgo to v2.
2024-07-17 17:19:08 +08:00
Xun Jiang
7a3b947961
Bump Ginkgo to v2.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-07-17 15:31:23 +08:00
Matthieu MOREL and GitHub
c69f47d5d2
Migrate from github.com/golang/protobuf to google.golang.org/protobuf ( #7593 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-07-16 16:28:07 -04:00