Commit ebbb1098 authored by Derek Nola's avatar Derek Nola

Update VERSION_K8S to handle any k3s revision

parent f5c6472b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment