Skip to content

Commit

Permalink
kubeadm: drop 1.28 and add 1.31
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Tortuyaux <[email protected]>
  • Loading branch information
tormath1 committed Sep 12, 2024
1 parent cf464dd commit 4a563c1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions kola/tests/kubeadm/kubeadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var (
// testConfig holds params for various kubernetes releases
// and the nested params are used to render script templates
testConfig = map[string]map[string]interface{}{
"v1.30.1": map[string]interface{}{
"v1.31.0": map[string]interface{}{
"HelmVersion": "v3.13.2",
"MinMajorVersion": 3374,
// from https://github.com/flannel-io/flannel/releases
Expand All @@ -89,7 +89,7 @@ var (
"PodSubnet": "192.168.0.0/17",
"cgroupv1": false,
},
"v1.29.2": map[string]interface{}{
"v1.30.1": map[string]interface{}{
"HelmVersion": "v3.13.2",
"MinMajorVersion": 3374,
// from https://github.com/flannel-io/flannel/releases
Expand All @@ -102,7 +102,7 @@ var (
"PodSubnet": "192.168.0.0/17",
"cgroupv1": false,
},
"v1.28.7": map[string]interface{}{
"v1.29.2": map[string]interface{}{
"HelmVersion": "v3.13.2",
"MinMajorVersion": 3374,
// from https://github.com/flannel-io/flannel/releases
Expand All @@ -125,11 +125,11 @@ etcd:

func init() {
testConfigCgroupV1 := map[string]map[string]interface{}{}
testConfigCgroupV1["v1.28.7"] = map[string]interface{}{}
for k, v := range testConfig["v1.28.7"] {
testConfigCgroupV1["v1.28.7"][k] = v
testConfigCgroupV1["v1.29.2"] = map[string]interface{}{}
for k, v := range testConfig["v1.29.2"] {
testConfigCgroupV1["v1.29.2"][k] = v
}
testConfigCgroupV1["v1.28.7"]["cgroupv1"] = true
testConfigCgroupV1["v1.29.2"]["cgroupv1"] = true

registerTests := func(config map[string]map[string]interface{}) {
for version, params := range config {
Expand Down

0 comments on commit 4a563c1

Please sign in to comment.