Install
Release binaries
Each release carries kurel
for Linux on amd64 and arm64 as kurel_<version>_linux_<arch>.tar.gz, with
checksums.txt, a Sigstore bundle signing it (checksums.txt.sigstore.json)
and an SBOM per archive. <version> is the tag without its v.
The steps below download a release and check that the go-kure release workflow
signed its checksums for launcher at that release’s tag. The workflow is shared
by every go-kure repository, so the certificate must also name
go-kure/launcher and the tag. They then check the archive against the
checksums and only then install kurel (into ~/.local/bin; use any directory
on your PATH). Each step runs only if the one before it succeeded:
From a checkout (Go)
This builds the kurel binary into $(go env GOPATH)/bin; make sure that
directory is on your PATH.
go install github.com/go-kure/launcher/cmd/kurel@<version> does not work:
launcher’s go.mod carries replace directives, mirrored from kure, that hold
k8s.io/kube-openapi and kustomize at the versions launcher builds with, and Go
refuses to install a module at a version when its go.mod has any.
Build a checkout
Use launcher as a Go library
Go applies replace directives only in the main module, so a module that
imports launcher does not get launcher’s. Copy the replace lines of launcher’s
go.mod at the version you require into your own go.mod, as kure asks of its
own consumers; without the k8s.io/kube-openapi one the build fails, and without
the kustomize ones it uses a different kustomize than Flux.
Verify
Next: the Quickstart.