Skip to content

Commit 277f6ec

Browse files
authored
update min k8s version (#58485)
1 parent ba29528 commit 277f6ec

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

istioctl/pkg/install/k8sversion/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
const (
2929
// MinK8SVersion is the minimum k8s version required to run this version of Istio
3030
// https://istio.io/docs/setup/platform-setup/
31-
MinK8SVersion = 29
31+
MinK8SVersion = 30
3232
UnSupportedK8SVersionLogMsg = "\nThe Kubernetes version %s is not supported by Istio %s. The minimum supported Kubernetes version is 1.%d.\n" +
3333
"Proceeding with the installation, but you might experience problems. " +
3434
"See https://istio.io/latest/docs/releases/supported-releases/ for a list of supported versions.\n"

istioctl/pkg/install/k8sversion/version_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ var (
8989
Minor: "29",
9090
GitVersion: "v1.29",
9191
}
92+
version1_30 = &version.Info{
93+
Major: "1",
94+
Minor: "30",
95+
GitVersion: "v1.30",
96+
}
9297
version1_19RC = &version.Info{
9398
Major: "1",
9499
Minor: "19",
@@ -264,6 +269,11 @@ func TestIsK8VersionSupported(t *testing.T) {
264269
},
265270
{
266271
version: version1_29,
272+
logMsg: fmt.Sprintf(UnSupportedK8SVersionLogMsg, version1_29.GitVersion, pkgVersion.Info.Version, MinK8SVersion),
273+
isValid: false,
274+
},
275+
{
276+
version: version1_30,
267277
isValid: true,
268278
},
269279
}

0 commit comments

Comments
 (0)