Skip to content

Commit

Permalink
set default k8s to v1.30.x (rancher#1515)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinarashah authored Oct 11, 2024
1 parent 06b4ce0 commit 339fe5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -15283,11 +15283,11 @@
"2.8.2": "v1.27.x",
"2.8.3": "v1.28.x",
"2.9.0": "v1.30.x",
"default": "v1.31.x"
"default": "v1.30.x"
},
"RKEDefaultK8sVersions": {
"0.3": "v1.16.3-rancher1-1",
"default": "v1.31.1-rancher1-1"
"default": "v1.30.5-rancher1-1"
},
"K8sVersionDockerInfo": {
"1.10": [
Expand Down
4 changes: 2 additions & 2 deletions pkg/rke/k8s_version_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ func loadRancherDefaultK8sVersions() map[string]string {
"2.8.3": "v1.28.x",
"2.9.0": "v1.30.x",
// rancher will use default if its version is absent
"default": "v1.31.x",
"default": "v1.30.x",
}
}

func loadRKEDefaultK8sVersions() map[string]string {
return map[string]string{
"0.3": "v1.16.3-rancher1-1",
// rke will use default if its version is absent
"default": "v1.31.1-rancher1-1",
"default": "v1.30.5-rancher1-1",
}
}

Expand Down

0 comments on commit 339fe5b

Please sign in to comment.