9 Commits

Author SHA1 Message Date
Andrey Smirnov
a1421e0701
feat: implement compatibility with Talos 1.2-1.3
Lower min version to 1.2.0, pull in fixes for `imager` from Talos.

Add new tests for v1.3.7 as an example.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-12-22 19:14:42 +04:00
Artem Chernyshev
01fcbf16c4
feat: implement HTTP API client
The client provides methods to create schematics, Talos versions, and
extensions version.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2023-11-30 21:56:55 +03:00
Andrey Smirnov
84113ca06a
feat: implement SecureBoot asset generation
Fixes #19

Using Talos implementation of custom SecureBoot signers, provide full
implementation of SecureBoot assets signed either by static local PKI or
Azure Key Vault reference.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-11-30 14:32:00 +04:00
Andrey Smirnov
3d99e0a696
fix: generation of SBC images
Fixes #43

Depends on https://github.com/siderolabs/talos/pull/7907

Installer image size got bigger, add assertions for additional arm64
files.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-10-30 14:40:08 +04:00
Andrey Smirnov
3dcb29d8ee
feat: sign generated installer image
Image Factory now signs the generated asset using cosign flow with a
fixed key. Image Factory also verifies the signature before redirecting
to the image. This way we ensure the consistency of the cache.

The signing ECDSA private key (PEM-encoded) should be supplied as
`--signing-key-path` flag.

Fixes #29

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-10-24 15:33:13 +04:00
Andrew Rynhard
91bbcd2c82
chore: rename with new nomenclature
Themes the nomenclature to align with Talos Linux

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-18 22:30:22 +04:00
Andrey Smirnov
cf73db9b91
feat: implement support for system extensions
Fixes #13

This builds on top of extensions catalog (see
https://github.com/siderolabs/extensions/pull/225), and existing support
for specifying extension in the flavor.

Image Service resolve the list of extensions requested for a specific
version of Talos into a list of container images, pulls them, and
attaches them to the image request.

Image Service also provides endpoints to get information about available
Talos versions, supported extensions for each version, etc.

I also refactored a bit flow around fetching & verifying image to re-use
it in other flows, added support for authentication to the registry.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-13 21:45:50 +04:00
Andrey Smirnov
cf250cd103
chore: rename 'configuration' to 'flavor'
No changes, just tons of renames.

Fixes #11

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-07 13:47:34 +04:00
Andrey Smirnov
47c6aeabc4
feat: implement registry frontend
This allows to pull an installer image for a given version of Talos and
configuration.

The actual image is served from the registry, the image service is only
a frontend that redirects to the registry.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-07 00:00:38 +04:00