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>
This commit is contained in:
Xun Jiang
2026-05-11 16:15:20 +08:00
parent ce360b4033
commit 5e3cb1eb68
14 changed files with 140 additions and 106 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=$TARGETPLATFORM golang:1.25.9-trixie
FROM --platform=$TARGETPLATFORM golang:1.25.10-trixie
ARG GOPROXY
+1
View File
@@ -29,6 +29,7 @@ import (
func main() {
outTemplateFilename := os.Args[1]
// #nosec G304,G703 -- outTemplateFilename is generated from internal logic and not user-controllable
outFile, err := os.OpenFile(outTemplateFilename, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0644)
if err != nil {
log.Fatal(err)