mirror of https://github.com/k3s-io/k3s.git
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>pull/10780/head
parent
f5c6472b16
commit
ebbb109840
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue