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