-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add version compatibility for Talos 1.6
This will be backported to 1.5, so that Talos 1.5 machinery will still provide compatibility for (future) Talos 1.6. Signed-off-by: Andrey Smirnov <[email protected]>
- Loading branch information
Showing
7 changed files
with
140 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
// Package talos16 provides compatibility constants for Talos 1.6. | ||
package talos16 | ||
|
||
import ( | ||
"github.com/blang/semver/v4" | ||
) | ||
|
||
// MajorMinor is the major.minor version of Talos 1.6. | ||
var MajorMinor = [2]uint64{1, 6} | ||
|
||
// MinimumHostUpgradeVersion is the minimum version of Talos that can be upgraded to 1.6. | ||
var MinimumHostUpgradeVersion = semver.MustParse("1.3.0") | ||
|
||
// MaximumHostDowngradeVersion is the maximum (not inclusive) version of Talos that can be downgraded to 1.6. | ||
var MaximumHostDowngradeVersion = semver.MustParse("1.8.0") | ||
|
||
// DeniedHostUpgradeVersions are the versions of Talos that cannot be upgraded to 1.6. | ||
var DeniedHostUpgradeVersions = []semver.Version{} | ||
|
||
// MinimumKubernetesVersion is the minimum version of Kubernetes is supported with 1.6. | ||
var MinimumKubernetesVersion = semver.MustParse("1.27.0") | ||
|
||
// MaximumKubernetesVersion is the maximum version of Kubernetes is supported with 1.6. | ||
var MaximumKubernetesVersion = semver.MustParse("1.29.99") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters