Repository navigation
v1.23.1: reinstall encrypted nodes; fresh clusters bootstrap by themselves
Fixes
Found by running the fully automated nix run .#reinstall -- <master> --new-cluster on a live cluster whose nodes are all encrypted (#50).
- Reinstalling an encrypted node works. Its
/persistis inside LUKS, which GRUB can't read, so the installer didn't boot: the node fell back to NixOS, and nothing was erased.reinstallnow detects this and boots the installer through iPXE: a tiny iPXE on the node's plain boot partition, booted once (falling back to NixOS), fetches it over HTTP from another node. - Longhorn's first sync on a fresh cluster no longer fails with "app project default not found". The bootstrap waits for Argo CD's default project first.
- The gateway no longer stalls a fresh cluster. Traefik rejects a Gateway outright while its certificates don't exist yet, which v1.22 didn't account for. A Gateway rejected only for missing certificates now counts as healthy; any other rejection is still Degraded.
Result: an encrypted master rebuilt from scratch over the network, the workers joining, and every volume and Nextcloud's database restored, with data identical before and after.
Upgrading
Nothing to change in vars.nix.