5 Commits

Author SHA1 Message Date
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
Andrey Smirnov
f8fed5c6c7
feat: use OCI registry as a configuration storage
Drop additional configuration ID HMAC, and instead take direct sha256 of
the contents. This matches content-addressable scheme of the OCI
registry, so we can use it directly.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-05 21:45:12 +04:00
Andrey Smirnov
a4aa38c9ec
feat: implement PXE frontend
Also, improve error reporting and add more tests for invalid requests.

Fixes #7

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-01 23:05:00 +04:00
Andrey Smirnov
803ffa15a5
feat: initial version
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>
2023-09-01 00:21:19 +04:00