talos
28 строк · 1.1 Кб
1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5// Package talos18 provides compatibility constants for Talos 1.8.
6package talos18
7
8import (
9"github.com/blang/semver/v4"
10)
11
12// MajorMinor is the major.minor version of Talos 1.8.
13var MajorMinor = [2]uint64{1, 8}
14
15// MinimumHostUpgradeVersion is the minimum version of Talos that can be upgraded to 1.8.
16var MinimumHostUpgradeVersion = semver.MustParse("1.5.0")
17
18// MaximumHostDowngradeVersion is the maximum (not inclusive) version of Talos that can be downgraded to 1.8.
19var MaximumHostDowngradeVersion = semver.MustParse("1.10.0")
20
21// DeniedHostUpgradeVersions are the versions of Talos that cannot be upgraded to 1.8.
22var DeniedHostUpgradeVersions = []semver.Version{}
23
24// MinimumKubernetesVersion is the minimum version of Kubernetes is supported with 1.8.
25var MinimumKubernetesVersion = semver.MustParse("1.26.0")
26
27// MaximumKubernetesVersion is the maximum version of Kubernetes is supported with 1.8.
28var MaximumKubernetesVersion = semver.MustParse("1.31.99")
29