Commit Graph

4 Commits

Author SHA1 Message Date
Andrey Smirnov
8013aa06cd
test: replace platform metadata test
It seems that the integration test introduced in
https://github.com/siderolabs/talos/pull/10792 is causing some
unintented side-effects in kube-apiserver -> kubelet communication (most
probably around the TLS certificate??).

Instead of assigning dummy external IP, create a dummy link.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-04-30 16:56:12 +04:00
Andrey Smirnov
8db34624c6
fix: handle correctly changing platform network config
The bug was with incorrect condition: if `activeNetworkConfig` was ever
set to non-nil value, it was stuck with this value forever, despite new
network config being available with `networkConfig`.

In `talosctl dashboard` case, Talos `metal` platform always reports
initial data (before META is available) which doesn't have any network
config, but later on sends updates (if something updates META), so this
bug leads to Talos being stuck with initial empty network config.

Fixes #10787

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-04-24 20:04:46 +04:00
Andrey Smirnov
6eee57b167
feat: add support for GCP instance tags
Same change as AWS.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-04-08 13:49:37 +04:00
Andrey Smirnov
60448b516e
feat: add support for instance tags on AWS
We can add on other platforms as well as we go.

See https://github.com/siderolabs/omni/issues/1059

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-04-08 12:57:56 +04:00