12 Commits

Author SHA1 Message Date
Andrey Smirnov
01981eb1c6
feat: update Talos to 1.6.0
Also update CAPI to 1.6.0.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-12-15 17:59:33 +04:00
Andrey Smirnov
baaece89a6
feat: update for Talos 1.5.0
Bump CAPI, controller-runtime, Talos dependencies, Kubernetes.

Fix some compatibility issues, but should be no functional changes.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-08-22 15:20:43 +04:00
Andrey Smirnov
fbcd02a45d
feat: update for Talos 1.3.0
Rename to siderolabs, bump dependencies, controller-runtime, get rid of
netaddr, new SideroLink API, etc.

Use bootstrap cluster with a control plane + worker to avoid nasty
restarts when host-mode SideroLink IP pops up.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-12-16 16:35:30 +04:00
Andrey Smirnov
c29d4645d9
feat: make MetalMachineTemplate immutable
This allows proper upgrades by replacing the `MetalMachineTemplate`.

If the `MetalMachineTemployment` is mutated, the changes are not rolled
out automatically.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-04-18 22:31:22 +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
Noel Georgi
025ff047d0
feat: additional printer colums
Add additional printer columns

Signed-off-by: Noel Georgi <git@frezbo.dev>
2021-12-14 21:49:04 +05:30
Andrey Smirnov
ab291034e5
feat: implement SideroLink
Fixes #615

This implements the SideroLink integration on Sidero side. This feature
requires Talos 0.14 from master as of right now.

SideroLink status is stored in `ServerBinding` resource for each server.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-11-25 22:06:51 +03:00
Artem Chernyshev
af646a7170
chore: bump Go deps, tools, pkgs, alpine versions
Resolves: #596, resolves: #595, resolves: #594,
resolves: #593, resolves: #588, resolves: #587,
resolves: #584, resolves: #581, resolves: #580,
resolves: #577, resolves: #576, resolves: #557

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2021-10-12 21:13:08 +03:00
Gerard de Leeuw
bb52e71861
feat: support CAPI v1alpha4
This PR will add all of the changes necessary for supporting CAPI v1alpha4 resources.

Signed-off-by: Gerard de Leeuw <gdeleeuw@leeuwit.nl>
Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2021-10-08 23:09:26 +03: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