diff --git a/version/version.go b/version/version.go index 740defbfc9..299fb5029a 100644 --- a/version/version.go +++ b/version/version.go @@ -33,7 +33,7 @@ const ( // NOTE: If you are changing this line, please also update the minimum kubernetes // version listed here: // https://github.com/knative/docs/blob/main/docs/snippets/prerequisites.md - defaultMinimumVersion = "v1.29.0" + defaultMinimumVersion = "v1.30.0" ) func getMinimumVersion() string { diff --git a/version/version_test.go b/version/version_test.go index 59dcaddbd0..031a1ce491 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -40,7 +40,7 @@ func TestVersionCheck(t *testing.T) { wantError bool }{{ name: "greater version (patch)", - actualVersion: &testVersioner{version: "v1.29.1"}, + actualVersion: &testVersioner{version: "v1.30.1"}, }, { name: "greater version (patch), no v", actualVersion: &testVersioner{version: "1.30.1"}, @@ -60,16 +60,16 @@ func TestVersionCheck(t *testing.T) { versionOverride: "1.15.11-0", }, { name: "greater version (minor)", - actualVersion: &testVersioner{version: "v1.29.0"}, + actualVersion: &testVersioner{version: "v1.30.0"}, }, { name: "same version", - actualVersion: &testVersioner{version: "v1.29.0"}, + actualVersion: &testVersioner{version: "v1.30.0"}, }, { name: "same version with build", - actualVersion: &testVersioner{version: "v1.29.0+k3s.1"}, + actualVersion: &testVersioner{version: "v1.30.0+k3s.1"}, }, { name: "same version with pre-release", - actualVersion: &testVersioner{version: "v1.29.0-k3s.1"}, + actualVersion: &testVersioner{version: "v1.30.0-k3s.1"}, }, { name: "smaller version", actualVersion: &testVersioner{version: "v1.14.3"},