Skip to content

Commit

Permalink
support upgrade kubernetes to v1.31 (#2440)
Browse files Browse the repository at this point in the history
Signed-off-by: pixiake <[email protected]>
  • Loading branch information
pixiake authored Oct 30, 2024
1 parent f08bfe8 commit ee1cf9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/kk/pkg/version/kubernetes/version_enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const (
V128
V129
V130
V131
)

var VersionList = []Version{
Expand All @@ -55,6 +56,7 @@ var VersionList = []Version{
V128,
V129,
V130,
V131,
}

func (v Version) String() string {
Expand Down Expand Up @@ -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"
}
Expand Down

0 comments on commit ee1cf9b

Please sign in to comment.