1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-13 13:40:22 +00:00

use sha256 for checksumming when k8s version >= 1.31.6

This commit is contained in:
Jacob Lindgren
2025-02-11 14:01:21 -06:00
parent 7f8c3a482b
commit 929f282fe2
3 changed files with 88 additions and 10 deletions

View File

@@ -17,8 +17,9 @@ import (
)
const (
WorkerThreads = 50
SemVerK8sVersion122OrHigher = ">=1.22.0-rancher0"
WorkerThreads = 50
SemVerK8sVersion122OrHigher = ">=1.22.0-rancher0"
SemVerK8sVersion1316OrHigher = ">=1.31.6-rancher0"
)
var ProxyEnvVars = [3]string{"HTTP_PROXY", "HTTPS_PROXY", "NO_PROXY"}