omni/.github
Utku Ozdemir 6a807c12ef
Some checks are pending
default / default (push) Waiting to run
default / e2e-backups (push) Blocked by required conditions
default / e2e-forced-removal (push) Blocked by required conditions
default / e2e-scaling (push) Blocked by required conditions
default / e2e-short (push) Blocked by required conditions
default / e2e-short-secureboot (push) Blocked by required conditions
default / e2e-templates (push) Blocked by required conditions
default / e2e-upgrades (push) Blocked by required conditions
default / e2e-workload-proxy (push) Blocked by required conditions
feat: push a partial config to machines in maintenance mode
Our goal is to ensure that the machines connected to Omni have always a correct machine config.

To do that, push a partial config with an `EventSinkConfig` and a `KmsgLogConfig` to the machines in maintenance mode.

If they have an existing partial config, merge the new documents with it.

Re-apply this partial config each time the machine disconnects and reconnects (siderolink public key changes), as it might mean the machine could have been rebooted and lost its in-memory partial config.

Note: we do not push a `SideroLinkConfig`, as if the machine is already connected to Omni, it has its SideroLink configured one way or the other. Additionally, we do not want to interfere/overwrite the join token machine uses to connect.
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2025-02-20 23:21:59 +01:00
..
2024-02-29 17:19:57 +04:00