From https://github.com/k3s-io/k3s/releases find the git hash of the release.
For example, v1.19.3+k3s1 is 974ad30
-
run
go get github.com/k3s-io/k3s@HASH
-
Go to the go.mod file at k3s' release tag, and copy the
requires
section to Ruckstack's go.mod -
Sync go module