mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 05:25:14 +09:00
Bumps all CVE-flagged dependencies in the kubevirt-csi-driver wrapper to their latest stable versions and adapts the local main.go to the new upstream service.NewKubevirtCSIDriver builder API. CVE-flagged bumps: - google.golang.org/grpc 1.65.0 -> 1.80.0 (GHSA-p77j-4mvh-x3m3, critical) - github.com/opencontainers/runc -> 1.4.2 (GHSA-cgrx-mc8f-2prm, GHSA-qw9x-cqr3-wc7r, GHSA-9493-h29p-rfm2 high, GHSA-jfvp-7x6p-h2pv medium) - golang.org/x/oauth2 -> 0.36.0 (GHSA-6v2p-p543-phr9, high) - golang.org/x/net -> 0.53.0 (GHSA-vvgc-356p-c3xw, GHSA-qxp5-gwg8-xv66 medium) Cascading bumps required to consume runc 1.4.2 (which removed libcontainer/userns) and the latest x/net (which requires Go 1.25+): - k8s.io/* replace block 0.31.4 -> 0.36.0 - kubevirt.io/csi-driver upstream pin -> 20260424143118-bee6c348c004 - go directive 1.22.0 -> 1.26.2 - builder image golang:1.22.5 -> golang:1.26 The upstream csi-driver split NewKubevirtCSIDriver into a builder chain (WithIdentityService / WithControllerService / WithNodeService); main.go is rewritten to call the new entry points and gate them on the runControllerService and runNodeService flags as before. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>