Commit Graph

19 Commits

Author SHA1 Message Date
Reto Lehmann 1860700f6f
update k8s min version to 1.26.x and go deps to 1.27.x (#2832)
* update k8s min version to 1.26.0

* bump k8s go deps to latest v0.26 version

* Fix version_test

* bump k8s go deps to latest v0.27 version
2023-10-02 12:57:59 +00:00
pradnyavmw 05bfcf66c2
bump k8s dependencies and update min version to v1.25 (#2745)
* Update defaultMinimumVersion

* Fix issues that occurred after running update-k8s-deps

* Adding changes to vendor and other folders

* Add new files after running update-codegen

* Add newLine
2023-05-23 14:06:11 +00:00
Dave Protasowski dca788a951
Min K8s version is now 1.24 (#2639)
* bump k8s deps to the latest patch

* bump min version of k8s to 1.24
2022-11-15 19:27:37 +00:00
Paul Schweigert bc93b0add9
bump min kubernetes to v1.23 (#2595)
Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
2022-10-05 16:45:29 +00:00
Dave Protasowski 4d62e1dbb9
bump our min k8s version to 1.22 (#2485) 2022-04-07 21:01:45 +00:00
Dave Protasowski 768f44f3fc
bump our min version to 1.21 (#2397) 2022-01-18 07:11:32 -08:00
Kenjiro Nakayama 61a3edd11f
Add IsNum to true when set `-0` to minimumVersion.Pre (#2288)
* Add IsNum to true when set `-0` to minimumVersion.Pre.

This patch adds IsNum to true when set `-0` to minimumVersion.Pre.

For example, the version (`1.20.0-1095+9689d22dc3121e-dirty`) is not compared correctly:

```
2021/09/16 01:33:33 Failed to get k8s version kubernetes version "1.20.0-1095+9689d22dc3121e-dirty" is not compatible, need at least "1.20.0-" (this can be overridden with the env var "KUBERNETES_MIN_VERSION")
```

* Add comment
2021-09-16 05:50:39 -07:00
Dave Protasowski 4857ab6939
new k8s min version is 1.20 (#2283) 2021-09-14 09:41:11 -07:00
Kenjiro Nakayama 77ff8d962c
Bump k8s min k8s version to 1.19 (#2157)
* Bump min k8s version to 1.19

This patch bumps min k8s version to 1.19

Pelase also see https://github.com/knative/community/blob/main/mechanics/RELEASE-VERSIONING-PRINCIPLES.md#knative-serving-version-table

* Fix link

* Update link to mkdoc's
2021-06-15 07:33:21 -07:00
Kenjiro Nakayama a5005d37e6
Bump k8s min version to v1.18.0 (#2076)
* Bump k8s min version to v1.18.0

Minimum version for k8s was v1.18.x since v0.21.x but it was not updated:
https://github.com/knative/community/blob/main/mechanics/RELEASE-VERSIONING-PRINCIPLES.md#knative-serving-version-table
This patch updates it.

* Fix unit test
2021-03-30 22:48:22 -07:00
Markus Thömmes 45d3810627
Default to the lowest pre-release version to be the minimum (#1944) 2020-12-07 06:50:10 -08:00
Victor Agababov 0beb2d3816
Add tests for pre-release versions and add a better error message (#1884)
When we have pre-release version it is very unintuitive with the default error message, since just looking at the string
1.15.11-abs-1234 is larger than 1.15.11, but semver treats -abs-1234 as a prerelease version and hence smaller than
1.15.11.
So expand the error in this case
for #1883
2020-11-02 10:50:45 -08:00
Kenjiro Nakayama d24e6ce616
Bump kubernetes minimum version to v1.17.0 (#1880)
* Bump kubernetes minimum version to v1.17.0

This patch bumps up defaultMinimumVersion to v1.17.0

As per https://github.com/knative/community/issues/245#issuecomment-718316003,
v0.19(next release)'s minimum version is v1.17.

* Fix unit test
2020-11-02 06:23:36 -08:00
Dave Protasowski 65f13c6f68
bump k8s min version to 1.16.0 (#1455)
* bump k8s min version to 1.16.0

* update tests
2020-06-30 07:50:30 -07:00
Kenjiro Nakayama 6a46689984
bump the minimum version to 1.15.1 (#1070)
* bump the minimum version to 1.15.1

Kubernetes 1.15.0 has a bug in openapi and conversion webhook does not
allow to deploy any Knative resources by kubectl.
To avoid hit the issue, this patch bumps the minimum version to
1.15.1.

Please refer to https://github.com/knative/serving/issues/6787 for
more detail.

* Fix unit test
2020-02-10 17:16:07 -08:00
Markus Thömmes 2fbb9db15c Use another semver library to support build tags properly. (#1013) 2020-01-28 07:38:26 -08:00
Zhimin Xiang daee70aa95 bump the default minimum version to 1.15 (#971) 2020-01-06 11:48:49 -08:00
Matt Moore ba7564872c Bump the minimum Kubernetes version to 1.14.x (#683)
This will be the lowest supported version of upstream Kubernetes, once 1.16 has cut.
2019-09-18 18:03:47 -07:00
Markus Thömmes 80e5f98294 Add a utility to check against a minimum required version number. (#211)
* Add a utility to check against a minimum required version number.

* Export and rename interface.

* Happy new year.
2019-01-08 10:12:41 -08:00