omni/internal/pkg/siderolink
Artem Chernyshev 03604222ea
feat: support passing extra data through the siderolink join token
This extra data is used in the infra provider to add the annotation to the
`siderolink.Link` as early as possible.
Then the `Machine` controller is changed to skip the `Links` that have
annotation `omni.sidero.dev/infra-provider` and do not have the label
`omni.sidero.dev/machine-request`.
This change makes not consistent `Links` to be ignored by the system,
until the are fully populated.

Also changed the infra provider interface to take siderolink connection
params as string instead of the resource.

Fixes: https://github.com/siderolabs/omni/issues/603

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2024-09-05 14:57:51 +03:00
..
trustd chore: initial commit 2024-02-29 17:19:57 +04:00
export_test.go chore: initial commit 2024-02-29 17:19:57 +04:00
loghandler_test.go feat: use circular buffer's new persistence option for machine logs 2024-06-10 20:49:57 +02:00
loghandler.go feat: use circular buffer's new persistence option for machine logs 2024-06-10 20:49:57 +02:00
machines.go fix: pass the logger to machine logs circular buffer 2024-08-21 10:10:05 +02:00
manager.go feat: support passing extra data through the siderolink join token 2024-09-05 14:57:51 +03:00
siderolink_test.go chore: allow multiple IP's for siderolink-wireguard-advertised-addr flag 2024-08-28 20:41:29 +03:00
siderolink.go feat: run embedded discovery service in Omni 2024-06-06 01:11:17 +02:00
wireguard.go fix: allow adding machines to Omni at higher speed 2024-04-25 17:30:12 +03:00