From ee1cf9b6d46ea979e8402326afe8a3d89b8b0f4b Mon Sep 17 00:00:00 2001 From: pixiake Date: Wed, 30 Oct 2024 17:00:47 +0800 Subject: [PATCH] support upgrade kubernetes to v1.31 (#2440) Signed-off-by: pixiake --- cmd/kk/pkg/version/kubernetes/version_enum.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/kk/pkg/version/kubernetes/version_enum.go b/cmd/kk/pkg/version/kubernetes/version_enum.go index 4a0be4535..7c8074fbc 100644 --- a/cmd/kk/pkg/version/kubernetes/version_enum.go +++ b/cmd/kk/pkg/version/kubernetes/version_enum.go @@ -40,6 +40,7 @@ const ( V128 V129 V130 + V131 ) var VersionList = []Version{ @@ -55,6 +56,7 @@ var VersionList = []Version{ V128, V129, V130, + V131, } func (v Version) String() string { @@ -83,6 +85,8 @@ func (v Version) String() string { return "v1.29" case V130: return "v1.30" + case V131: + return "v1.31" default: return "invalid option" }