From 3b52e0407eac63ce5a67d7f768db1f21a3b81d0c Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Wed, 25 Nov 2020 07:35:19 +0100 Subject: [PATCH] fix hardcoded fallback version of k3s to v1.19.4-k3s1 --- version/version.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/version/version.go b/version/version.go index 7964a48e..eb65ea2b 100644 --- a/version/version.go +++ b/version/version.go @@ -35,8 +35,7 @@ var Version string var HelperVersionOverride string // K3sVersion should contain the latest version tag of k3s (hardcoded at build time) -// we're setting a default version for edge cases, because the 'latest' tag is not actively maintained -var K3sVersion = "v1.18.4+k3s1" // TODO: can we try to dynamically fetch the latest version at runtime and only fallback to this if it fails? +var K3sVersion = "v1.19.4-k3s1" // GetVersion returns the version for cli, it gets it from "git describe --tags" or returns "dev" when doing simple go build func GetVersion() string {