57 Commits

Author SHA1 Message Date
Andrey Smirnov
bf6c2e7db2
feat: update to Talos 1.12.0
Update to the latest.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-12-24 20:49:00 +04:00
Laura Brehm
3f1c8dc81e
feat: bump talos to v1.12.0-beta.0
This required a lot of bumps to keep things working:
- `siderolabs/tools` to `v1.12.0-1-g188885e` (this is bumped to the HEAD
  of the `release-1.12` branch to include Go bump)
- `siderolabs/pkgs` to `v1.12.0`

Additionally, due to
52db66e8d9m,
had to replace `protoc` with `buf` and add an appropriate `buf.yaml`.

Also includes some `talos@v1.12.0-beta.0` related non-trivial changes in
sfyra tests.

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2025-12-02 16:09:09 +01:00
Laura Brehm
08267933be
chore: use typed config resources in metadata server
Replaced handcrafted `map[string]any` patches with Talos type imports.

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2025-12-01 21:06:00 +04:00
Andrey Smirnov
6186aacbf3
release(v0.6.11): prepare release
This is the official v0.6.11 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-09-02 17:35:08 +04:00
Andrey Smirnov
55df6d441b
feat: update Talos to v1.11.0
See https://github.com/siderolabs/talos/issues/11578

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-09-02 16:43:53 +04:00
Andrey Smirnov
24f40fa7ea
release(v0.6.10): prepare release
This is the official v0.6.10 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-06-11 14:05:06 +04:00
Noel Georgi
0371f8e9da
release(v0.6.9): prepare release
This is the official v0.6.9 release.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-05-02 19:59:56 +05:30
Andrey Smirnov
37843417f9
feat: update Talos and CAPI to 1.10
Fix compatibility issues, adapt to changes in Talos and Cluster API.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-04-24 16:12:19 +04:00
Noel Georgi
b27fca4f56
feat: use kres to manage github actions
Use kres to manage GitHub actions.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-04-09 20:57:55 +05:30
Andrey Smirnov
f51331a820
release(v0.6.7): prepare release
This is the official v0.6.7 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-20 14:08:14 +04:00
Andrey Smirnov
de84f7e542
feat: update to Talos 1.9.0
Fix number of small issues around CAPI 1.9.0, add more CP tests.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-20 00:15:46 +04:00
Andrey Smirnov
b6fe15df7e
feat: update for Talos 1.8
Bump CAPI, fix other issues.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-11 19:19:29 +04:00
Andrey Smirnov
d439b10b60
release(v0.6.5): prepare release
This is the official v0.6.5 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-05-23 21:11:29 +04:00
Andrey Smirnov
c59c6a4ad8
release(v0.6.4): prepare release
This is the official v0.6.4 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-04-19 21:19:56 +04:00
Ksawery Kuczyński
b3f0131393
feat: add support for strategic merge patches
This commit implements strategic merge patch by reusing Talos
configpatcher patch handling. Furthermore, a unit test scenario has been
added to ensure its functionality.

Fixes: #1259

Signed-off-by: Ksawery Kuczyński <ksawerykuczynskikk@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-04-18 18:53:00 +04:00
Andrey Smirnov
ea8e1265af
release(v0.6.3): prepare release
This is the official v0.6.3 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-01-23 15:46:00 +04:00
Andrey Smirnov
ae5910fab1
release(v0.6.2): prepare release
This is the official v0.6.2 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-12-15 18:37:48 +04:00
Andrey Smirnov
56744cfb03
feat: provide a way to disable DHCP proxy
Also bump some minor dependencies.

Fixes #1212
Fixes #1201

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-10-12 17:07:50 +04:00
Andrey Smirnov
95ff080149
release(v0.6.0): prepare release
This is the official v0.6.0 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-08-29 22:11:55 +04:00
Gerard de Leeuw
f88ee6d2e6
feat: add proxy DHCP server
Implement proxy DHCP server which ehnahnces IPAM DHCP response with boot
information.

Signed-off-by: Gerard de Leeuw <gdeleeuw@leeuwit.nl>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2023-08-24 21:56:15 +04:00
Andrey Smirnov
049a5faad7
release(v0.6.0-alpha.0): prepare release
This is the official v0.6.0-alpha.0 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2023-04-20 14:56:42 +04:00
Andrey Smirnov
b6235eb4bd
test: drop tests with old Talos compatibility
We no longer support Talos releases without SideroLink.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2023-04-05 17:50:37 +04:00
Andrey Smirnov
7c7a377857
feat: add extended hardware information to Server and ServerClass CRDs
This is final part of #735, previous part in #823.

This imports all remaining changes with some fixups minus the webhook
changes.

This change adds detailed hardware information to the Server CRD.
Hardware info is extracted by the agent from SMBIOS.
The ServerClass CRD is also updated so more precise qualifiers can be used.

Co-authored-by: Gerard de Leeuw <gdeleeuw@leeuwit.nl>
Signed-off-by: Gerard de Leeuw <gdeleeuw@leeuwit.nl>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-04-15 20:43:07 +03:00
Spencer Smith
9438ca8e8a
chore: fix gpg check and sfyra build
This PR fixes the gpg check as well as adds the clusterctl workaround to
make sfyra build properly.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2022-03-29 11:35:26 -04:00
Andrey Smirnov
36ebc2a056
docs: document SideroLink and other 0.5.0 new features
Includes bumps to the pkgs/tools for Go 1.17.7 and new kernel version.

Added clusterctl move label to the `siderolink` root secret.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-14 19:17:12 +03:00
Andrey Smirnov
0a967a8c3f
feat: configure boot from disk method on Server/ServerClass level
Fixes #661

Also added docs for new field and other missing spec fields.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-04 17:34:57 +03:00
Andrey Smirnov
7912509347
refactor: cleanup and deduplicate the code which matches SideroLink IPs
Use same matcher in both log receiever and event receiver. Fix panic in
event receiver.

Bump CAPI and remove cert-manager temporary hack.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-03 20:28:34 +03:00
Andrey Smirnov
003f6a73ec
fix: don't boot from not ready environments
If the environment is not ready, don't boot from it, as it would fail
anyways.

Fixes #658

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-02 21:49:21 +03:00
Artem Chernyshev
b30fbe4317
feat: set server PXEBooted condition only after Talos gets installed
Now `PXEBooted` condition is derived from `TalosInstalled` condition of
the linked `ServerBinding`.
This makes the node to use `pxe` boot until Talos installation succeeds.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2022-01-17 16:43:52 +03:00
Artem Chernyshev
fe41335457
feat: introduce new conditions in the metalmachine
- `TalosConfigLoaded` is set to false when the config load has failed.
- `TalosConfigValidated` is set to false when the config validation
fails on the node.
- `TalosInstalled` is set to true/false when talos installer finishes.

All conditions are set by the adapter on the `ServerBinding`, then
copied to the `MetalMachine`.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2021-12-29 15:42:08 +03:00
Artem Chernyshev
6454dee29c
feat: populate addresses and hostname in ServerBindings
Get addresses from the events coming into events sink container.

Add v1beta1 support.
Update `metalmachine_controller` to set providerID earlier and add
ProviderSet condition to be set after the cluster nodes actually get
patched with the provider ID as well.

The condition is required to trigger reconcile on CAPI `machines`,
otherwise it never picks `Node` ready condition.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2021-12-27 14:55:18 +03:00
Artem Chernyshev
d5f8f4e96d
release(v0.5.0-alpha.0): prepare release
This is the official v0.5.0-alpha.0 release.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2021-12-16 17:54:35 +03:00
Andrey Smirnov
4cfdedaf97
feat: provide a way to configure IPMI PXE method
Fixes #274

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-09 17:03:31 +03:00
Noel Georgi
e77bf54a31
feat: support cordoning server
Adds `cordoned` field to *server* spec to prevent allocation

Signed-off-by: Noel Georgi <git@frezbo.dev>
2021-11-26 22:45:33 +05:30
Artem Chernyshev
6e073e7ab1
fix: commit updated release.toml to master
Forgot to add it during release.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2021-10-13 17:01:40 +03:00
Spencer Smith
fb0da3cf50 release(v0.4.0-alpha.0): prepare release
This is the official v0.4.0-alpha.0 release.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-07-19 13:40:06 -07:00
Spencer Smith
6821dd2c0a feat: update paths of apps
This PR updates the naming of the two apps that make up sidero for
consistency. It also updates things like the Makefile, Dockerfile, and
kustomize to make sure image names are the same as these app names.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-05-26 10:36:02 -07:00
Andrey Smirnov
5bfcb9dff9 chore: remove parsebool script
The reason is same as in talos-systems/talos#3678, it breaks
release-tool.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-26 09:55:48 -07:00
Andrew Rynhard
99c3cd34f0 release(v0.3.0-alpha.1): prepare release
This is the official v0.3.0-alpha.1 release.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2021-05-20 11:23:59 -07:00
Andrey Smirnov
990263a6b3 feat: merge Sidero HTTP endpoints under a single port
This merges metadata server component into `metal-controller-manager`.

iPXE server, metadata server and gRPC server share a single HTTP
endpoint now.

For the users, it means that Sidero requires only a single port to be
exposed.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-18 05:51:25 -07:00
Andrey Smirnov
cf383ab630 chore: use release-tool to generate release notes
Publish release notes to the GitHub release automatically.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-14 11:11:33 -07:00
Spencer Smith
056f8c2942 release(v0.3.0-alpha.0): prepare release
This is the official v0.3.0-alpha.0 release.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-05-13 07:52:48 -07:00
Alexey Palazhchenko
3a6c5b93d3 chore: parse "boolean" variables
Makes make WITH_DEBUG=1 work.

Closes talos-systems/talos#3534.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-05-13 04:46:11 -07:00
Alexey Palazhchenko
b3afd17a8e feat: ship ServerClass "any"
Closes #310.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-05-07 07:46:58 -07:00
Alexey Palazhchenko
b17f37092c test: port improvements from Talos
REGISTRY_MIRROR_FLAGS can be set via direnv.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-04-28 08:46:57 -07:00
Andrey Smirnov
6665edbc65 release(v0.2.0-alpha.1): prepare release
This is the official v0.2.0-alpha.1 release.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-06 12:49:46 -07:00
Andrey Smirnov
b790d7afe2 fix: overwrite kernel args from --extra-agent-kernel-args
This allows to override default options (e.g. `console=ttyS0`) with
provided values. Make sure that full value is given for each option, as
any default values for the option are dropped if specified in
`--extra-agent-kernel-args`, e.g.
`--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`.

See also https://github.com/talos-systems/go-procfs/pull/5

Fixes #251

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-16 23:16:33 -08:00
Andrey Smirnov
907a66907f test: add simulated power management failures in testing mode
This injects power management failures in Sfyra (under test). By default
failures are not injected.

Two class of failures are supported:

* explicit (when client returns an error)
* silent (when client doesn't do the job, but error is not returned)

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-02 13:15:41 -08:00
Andrew Rynhard
d2f579a3ba chore: move to ghcr.io
We need to move to ghcr.io because docker.io is now rate limiting pulls.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-06 11:19:13 -08:00
Andrey Smirnov
2cff3cf2cf chore: update Sfyra for the new Talos release
In 0.7.0-alpha.4, asset names got changed slightly.

This bumps bootstrap cluster resources as 2GiB is not enough for CAPI.

Fixes a small bug with asset filenames in environment controller.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-06 14:30:58 -07:00