mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 20:59:30 +00:00
Update VERSION_K8S to handle any k3s revision
Co-authored-by: Brad Davidson <brad@oatmail.org> Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
@@ -43,7 +43,7 @@ if [ -z "$VERSION_CRICTL" ]; then
|
||||
fi
|
||||
|
||||
VERSION_K8S_K3S=$(get-module-version k8s.io/kubernetes)
|
||||
VERSION_K8S=${VERSION_K8S_K3S%"-k3s2"}
|
||||
VERSION_K8S=${VERSION_K8S_K3S%-k3s*}
|
||||
if [ -z "$VERSION_K8S" ]; then
|
||||
VERSION_K8S="v0.0.0"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user