Skip to content

Commit

Permalink
Merge pull request #1422 from krunalhinguu/remove-support-1.25-and-1.26
Browse files Browse the repository at this point in the history
[v2.9] Remove k8s 1.25 and 1.26 from rancher v2.9.x
  • Loading branch information
krunalhinguu authored Jun 25, 2024
2 parents a8fba30 + 86bfb97 commit c1823fd
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 38 deletions.
18 changes: 9 additions & 9 deletions channels-rke2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.25.13+rke2r1
minChannelServerVersion: v2.7.2-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: &serverArgs-v1-25-13-rke2r1
<<: *serverArgs-v1-24-2-rke2r1
tls-san-security:
Expand All @@ -1398,7 +1398,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.25.15+rke2r2
minChannelServerVersion: v2.7.2-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: &serverArgs-v1-25-15-rke2r2
<<: *serverArgs-v1-25-13-rke2r1
kube-cloud-controller-manager-arg:
Expand Down Expand Up @@ -1437,7 +1437,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.25.16+rke2r1
minChannelServerVersion: v2.7.2-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v1-25-15-rke2r2
agentArgs: *agentArgs-v1-25-15-rke2r2
charts: &charts-v1-25-16-rke2r1
Expand Down Expand Up @@ -1529,7 +1529,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.26.8+rke2r1
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: &serverArgs-v1-26-8-rke2r1
<<: *serverArgs-v1-24-2-rke2r1
tls-san-security:
Expand All @@ -1552,7 +1552,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.26.10+rke2r2
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: &serverArgs-v1-26-10-rke2r2
<<: *serverArgs-v1-26-8-rke2r1
kube-cloud-controller-manager-arg:
Expand Down Expand Up @@ -1584,7 +1584,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.26.11+rke2r1
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v1-26-10-rke2r2
agentArgs: *agentArgs-v1-25-15-rke2r2
charts: &charts-v1-26-11-rke2r1
Expand All @@ -1604,7 +1604,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.26.13+rke2r1
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v1-26-10-rke2r2
agentArgs: *agentArgs-v1-25-15-rke2r2
charts: &charts-v1-26-13-rke2r1
Expand All @@ -1621,7 +1621,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.26.14+rke2r1
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: &serverArgs-v1-26-14-rke2r1
<<: *serverArgs-v1-26-10-rke2r2
cni:
Expand Down Expand Up @@ -1668,7 +1668,7 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.26.15+rke2r1
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v1-26-14-rke2r1
agentArgs: *agentArgs-v1-25-15-rke2r2
charts: &charts-v1-26-15-rke2r1
Expand Down
18 changes: 9 additions & 9 deletions channels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -445,19 +445,19 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.25.13+k3s1
minChannelServerVersion: v2.7.2-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v6
agentArgs: *agentArgs-v3
featureVersions: *featureVersions-v1
- version: v1.25.15+k3s2
minChannelServerVersion: v2.7.2-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v6
agentArgs: *agentArgs-v3
featureVersions: *featureVersions-v1
- version: v1.25.16+k3s4
minChannelServerVersion: v2.7.2-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v6
agentArgs: &agentArgs-v4
<<: *agentArgs-v3
Expand All @@ -484,25 +484,25 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.26.8+k3s1
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v6
agentArgs: *agentArgs-v3
featureVersions: *featureVersions-v1
- version: v1.26.10+k3s2
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v6
agentArgs: *agentArgs-v3
featureVersions: *featureVersions-v1
- version: v1.26.11+k3s2
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v6
agentArgs: *agentArgs-v4
featureVersions: *featureVersions-v1
- version: v1.26.13+k3s2
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: &serverArgs-v7
<<: *serverArgs-v6
embedded-registry:
Expand All @@ -516,13 +516,13 @@ releases:
featureVersions: *featureVersions-v1
- version: v1.26.14+k3s1
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v7
agentArgs: *agentArgs-v5
featureVersions: *featureVersions-v1
- version: v1.26.15+k3s1
minChannelServerVersion: v2.7.5-alpha1
maxChannelServerVersion: v2.9.99
maxChannelServerVersion: v2.8.99
serverArgs: *serverArgs-v7
agentArgs: *agentArgs-v5
featureVersions: *featureVersions-v1
Expand Down
44 changes: 24 additions & 20 deletions data/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -14570,11 +14570,15 @@
},
"v1.25": {
"minRKEVersion": "1.4.0-rc0",
"minRancherVersion": "2.7.2-patch0"
"maxRKEVersion": "1.5.99",
"minRancherVersion": "2.7.2-patch0",
"maxRancherVersion": "2.8.99"
},
"v1.26": {
"minRKEVersion": "1.4.0-rc0",
"minRancherVersion": "2.7.5-patch0"
"maxRKEVersion": "1.5.99",
"minRancherVersion": "2.7.5-patch0",
"maxRancherVersion": "2.8.99"
},
"v1.27": {
"minRKEVersion": "1.5.0-rc0",
Expand Down Expand Up @@ -23291,7 +23295,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.2-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -23459,7 +23463,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.2-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -23630,7 +23634,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.2-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -24281,7 +24285,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -24449,7 +24453,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -24620,7 +24624,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -24797,7 +24801,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -24977,7 +24981,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -25157,7 +25161,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"cluster-cidr": {
Expand Down Expand Up @@ -41081,7 +41085,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.2-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down Expand Up @@ -41346,7 +41350,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.2-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down Expand Up @@ -41614,7 +41618,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.2-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down Expand Up @@ -42664,7 +42668,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down Expand Up @@ -42929,7 +42933,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down Expand Up @@ -43197,7 +43201,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down Expand Up @@ -43465,7 +43469,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down Expand Up @@ -43733,7 +43737,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down Expand Up @@ -44002,7 +44006,7 @@
"featureVersions": {
"encryption-key-rotation": "2.0.0"
},
"maxChannelServerVersion": "v2.9.99",
"maxChannelServerVersion": "v2.8.99",
"minChannelServerVersion": "v2.7.5-alpha1",
"serverArgs": {
"audit-policy-file": {
Expand Down
4 changes: 4 additions & 0 deletions pkg/rke/k8s_version_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,10 +666,14 @@ func loadK8sVersionInfo() map[string]v3.K8sVersionInfo {
"v1.25": {
MinRancherVersion: "2.7.2-patch0",
MinRKEVersion: "1.4.0-rc0",
MaxRancherVersion: "2.8.99",
MaxRKEVersion: "1.5.99",
},
"v1.26": {
MinRancherVersion: "2.7.5-patch0",
MinRKEVersion: "1.4.0-rc0",
MaxRancherVersion: "2.8.99",
MaxRKEVersion: "1.5.99",
},
"v1.27": {
MinRancherVersion: "2.8.0-patch0",
Expand Down

0 comments on commit c1823fd

Please sign in to comment.