Now Image Factory filters out pre-release versions for all releases but
the last one.
In the UI, now pre-release versions are shown.
Return proper 404 not found when someone requests something for
an unsupported version.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Fixes#4
This caches the result of the boot asset build (a call to Talos
`imager`) so that we don't rebuild the asset twice.
OCI Registry is used as a cache. An internal registry can be used for
caching, we don't need to expose it to the world.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
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>
Initial version of the image service.
Implements a basic configuration service, and HTTP frontend for assets.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>