Repository navigation
Legion 0.1.17
Image signatures.
- Image policies. An
ImagePolicylets a namespace run the images it covers only when they carry a good cosign key-pair signature by one of its keys. It is enforced, or only warns. An update under a policy waits, with its old tasks running, while the registry can't be read. The signature is checked on the digest the deployment runs, so a tag moved afterwards changes nothing. - Shared with jailer. Signatures are made and checked by one module,
legion_image::cosign, which jailer signs with, so what jailer signs is what Legion checks. - Fixed: an image covered by a policy and named by digest, or loaded onto the node, could start before its check. It waits for it now.
Install
On FreeBSD 15 for amd64, as root:
tar -xf legion-0.1.17-freebsd15-amd64.tar.xz --strip-components 1 -C /usr/localthen follow Install in the README. To upgrade: service legion stop, unpack as above, service legion start; running containers are adopted. Upgrade managers one at a time, then workers (see Versions in the design); the upgrade path from the release before is tested on every release.
Check the download with sha256 -c $(cat legion-0.1.17-freebsd15-amd64.tar.xz.sha256 | cut -d ' ' -f 1) legion-0.1.17-freebsd15-amd64.tar.xz.