Commit Graph
100 Commits
Author SHA1 Message Date
micqdf 92084c3e1a Merge pull request 'fix: enable nix-command for remote gc and use --sudo' (#60) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 2m55s
Reviewed-on: #60
2026-02-28 22:58:28 +00:00
micqdf 6a77c96ad9 Merge branch 'master' into stage
Terraform Plan / Terraform Plan (push) Successful in 19s
2026-02-28 22:57:59 +00:00
micqdf 45e818b113 fix: enable nix-command for remote gc and use --sudo
Terraform Plan / Terraform Plan (push) Successful in 21s
2026-02-28 22:55:15 +00:00
micqdf 47ec65a7fd Merge pull request 'stage' (#59) from stage into master
Terraform Apply / Terraform Apply (push) Has been cancelled
Reviewed-on: #59
2026-02-28 22:45:17 +00:00
micqdf 97795fe376 Merge branch 'master' into stage
Terraform Plan / Terraform Plan (push) Successful in 15s
2026-02-28 22:44:17 +00:00
micqdf 24c3f56399 fix: add timeout and retry for terraform refresh-heavy plans
Terraform Plan / Terraform Plan (push) Successful in 5m22s
2026-02-28 22:23:01 +00:00
micqdf f5d9eba9d0 feat: parallelize worker rebuilds with retry and timeout
Terraform Plan / Terraform Plan (push) Has been cancelled
2026-02-28 22:15:48 +00:00
micqdf 3e720f1d58 Merge pull request 'stage' (#58) from stage into master
Terraform Apply / Terraform Apply (push) Has been cancelled
Reviewed-on: #58
2026-02-28 21:29:05 +00:00
micqdf 23a85cc099 Merge branch 'master' into stage
Terraform Plan / Terraform Plan (push) Successful in 14s
2026-02-28 21:28:58 +00:00
micqdf 824e3c09d1 update: increase VM disk sizes for kubeadm nodes
Terraform Plan / Terraform Plan (push) Successful in 13s
2026-02-28 21:25:44 +00:00
micqdf 327c07314c fix: reclaim remote nix store space before rebuild
Terraform Plan / Terraform Plan (push) Successful in 13s
2026-02-28 21:24:26 +00:00
micqdf 21425c363d Merge pull request 'fix: force bash for remote kubeadm commands' (#57) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 10m49s
Reviewed-on: #57
2026-02-28 21:09:49 +00:00
micqdf f6805f8a39 Merge branch 'master' into stage
Terraform Plan / Terraform Plan (push) Successful in 13s
2026-02-28 21:07:53 +00:00
micqdf 3b5d04dda2 fix: force bash for remote kubeadm commands
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 21:06:35 +00:00
micqdf f5675d2a84 Merge pull request 'fix: preconfigure remote nix trusted-users before rebuild' (#56) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 6m40s
Reviewed-on: #56
2026-02-28 20:58:58 +00:00
micqdf cf98bdf229 Merge branch 'master' into stage
Terraform Plan / Terraform Plan (push) Successful in 14s
2026-02-28 20:58:27 +00:00
micqdf ba912810d1 fix: preconfigure remote nix trusted-users before rebuild
Terraform Plan / Terraform Plan (push) Successful in 12s
2026-02-28 20:25:50 +00:00
micqdf 727c21e43b Merge pull request 'stage' (#55) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 9m38s
Reviewed-on: #55
2026-02-28 20:13:44 +00:00
micqdf 70ff5ccef9 Merge branch 'master' into stage
Terraform Plan / Terraform Plan (push) Successful in 14s
2026-02-28 20:11:37 +00:00
micqdf 5c037d9a99 fix: prefer root SSH for deploy and trust micqdf in nix
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 20:03:26 +00:00
micqdf 244887e9c2 fix: auto-detect SSH login user for node operations
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 19:25:48 +00:00
micqdf 129c639e4d Merge pull request 'fix: ignore recurrent Proxmox cloud-init drift fields' (#54) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 9m39s
Reviewed-on: #54
2026-02-28 19:13:39 +00:00
micqdf 6105a314b7 Merge remote-tracking branch 'origin/master' into stage
Terraform Plan / Terraform Plan (push) Successful in 13s
2026-02-28 19:09:38 +00:00
micqdf 89bc2242cb fix: ignore recurrent Proxmox cloud-init drift fields
Terraform Plan / Terraform Plan (push) Successful in 12s
2026-02-28 19:06:38 +00:00
micqdf fce8f9c70c Merge pull request 'fix: allow required VM reboots and serialize apply' (#53) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 2m4s
Reviewed-on: #53
2026-02-28 19:02:04 +00:00
micqdf c1c1b3d7f7 Merge remote-tracking branch 'origin/master' into stage
Terraform Plan / Terraform Plan (push) Successful in 19s
2026-02-28 19:00:36 +00:00
micqdf cc40dff49a fix: allow required VM reboots and serialize apply
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 18:55:07 +00:00
micqdf 812fcb8066 Merge pull request 'fix: ignore cloud-init ssh drift on existing VMs' (#52) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 26s
Reviewed-on: #52
2026-02-28 18:51:57 +00:00
micqdf d190f64181 fix: ignore cloud-init ssh drift on existing VMs
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 18:46:14 +00:00
micqdf 2126cf5004 Merge pull request 'fix: repair SSH key step quoting in workflows' (#51) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 25s
Reviewed-on: #51
2026-02-28 18:38:07 +00:00
micqdf 2a5ecebd99 fix: repair SSH key step quoting in workflows
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 18:36:58 +00:00
micqdf 17ac3fad4c Merge pull request 'fix: support base64 SSH private keys in workflows' (#50) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 5m14s
Reviewed-on: #50
2026-02-28 18:25:36 +00:00
micqdf 3ee5cfa823 fix: support base64 SSH private keys in workflows
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 18:13:56 +00:00
micqdf 2078afa8a3 Merge pull request 'fix: normalize escaped SSH private key secrets' (#49) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 5m10s
Reviewed-on: #49
2026-02-28 18:06:31 +00:00
micqdf 2d9d6cdcd5 fix: normalize escaped SSH private key secrets
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 17:57:58 +00:00
micqdf 8b363497b7 Merge pull request 'fix: prefer SSH_KEY_PRIVATE and validate keypair fingerprint' (#48) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 5m8s
Reviewed-on: #48
2026-02-28 17:50:47 +00:00
micqdf 03fff813ac fix: prefer SSH_KEY_PRIVATE and validate keypair fingerprint
Terraform Plan / Terraform Plan (push) Successful in 13s
2026-02-28 17:40:25 +00:00
micqdf a8195f97dc Merge pull request 'fix: force explicit SSH identity for kubeadm remote operations' (#47) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 4m53s
Reviewed-on: #47
2026-02-28 17:22:56 +00:00
micqdf c94c1f61d8 fix: force explicit SSH identity for kubeadm remote operations
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 17:16:31 +00:00
micqdf 7cdb0bb00b Merge pull request 'fix: preseed known_hosts for kubeadm SSH operations' (#46) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 4m48s
Reviewed-on: #46
2026-02-28 17:09:04 +00:00
micqdf 046de9b3d4 fix: preseed known_hosts for kubeadm SSH operations
Terraform Plan / Terraform Plan (push) Successful in 19s
2026-02-28 17:07:43 +00:00
micqdf b75e6b0124 Merge pull request 'fix: avoid PATH override that hides bash on runners' (#45) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 4m55s
Reviewed-on: #45
2026-02-28 17:01:34 +00:00
micqdf b6ce31ad6c fix: avoid PATH override that hides bash on runners
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 17:01:00 +00:00
micqdf 6f2fa0ef06 Merge pull request 'fix: load nix profile from root path on act runners' (#44) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 1m47s
Reviewed-on: #44
2026-02-28 16:57:42 +00:00
micqdf 71890c00c0 fix: load nix profile from root path on act runners
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:57:08 +00:00
micqdf f8379e6d08 Merge pull request 'fix: add nixbld users as explicit group members' (#43) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 1m3s
Reviewed-on: #43
2026-02-28 16:55:01 +00:00
micqdf 8d809355eb fix: add nixbld users as explicit group members
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:53:41 +00:00
micqdf 0f171a668b Merge pull request 'fix: provision nixbld users for root nix install' (#42) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 35s
Reviewed-on: #42
2026-02-28 16:52:35 +00:00
micqdf 7759c47fea fix: provision nixbld users for root nix install
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 16:49:45 +00:00
micqdf 8b83bb9d3a Merge pull request 'fix: create /nix when installing nix on root runners' (#41) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 33s
Reviewed-on: #41
2026-02-28 16:48:13 +00:00
micqdf 9e922dd62c fix: create /nix when installing nix on root runners
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:47:22 +00:00
micqdf 3539ae9b50 Merge pull request 'stage' (#40) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 32s
Reviewed-on: #40
2026-02-28 16:44:18 +00:00
micqdf 5669305e59 feat: make kubeadm workflows auto-scale with terraform outputs
Terraform Plan / Terraform Plan (push) Successful in 19s
2026-02-28 16:43:22 +00:00
micqdf f341816112 feat: run kubeadm reconcile after terraform apply on master
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 16:39:04 +00:00
micqdf c04ef106a3 fix: install nix tooling in bootstrap workflow when missing
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:36:42 +00:00
micqdf c154ff4d15 Merge pull request 'stage' (#39) from stage into master
Terraform Apply / Terraform Apply (push) Successful in 27s
Reviewed-on: #39
2026-02-28 16:34:24 +00:00
micqdf 8bcc162956 feat: auto-discover kubeadm node IPs from terraform state
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:31:23 +00:00
micqdf b0779c51c0 feat: add gitea workflows for kubeadm bootstrap and reset
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:26:51 +00:00
micqdf 9fe845b53d feat: add repeatable kubeadm rebuild and reset scripts
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:24:45 +00:00
micqdf 885a92f494 chore: add lightweight flake checks for kubeadm configs
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:19:37 +00:00
micqdf 91dd20e60e fix: escape shell expansion in kubeadm helper scripts
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:12:25 +00:00
micqdf abac6300ca refactor: generate kubeadm host configs from flake
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 16:09:05 +00:00
micqdf 7206d8cd41 feat: implement kubeadm bootstrap scaffolding for Nix nodes
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 16:04:14 +00:00
micqdf a42d44bb27 Merge pull request 'stage' (#38) from stage into master
Terraform Apply / Terraform Apply (push) Successful in 27s
Reviewed-on: #38
2026-02-28 15:41:58 +00:00
micqdf a99516a2a3 chore: format terraform configuration
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 15:41:14 +00:00
micqdf 5c69abf9ff fix: disable automatic reboot for proxmox VM updates
Terraform Plan / Terraform Plan (push) Failing after 10s
2026-02-28 15:40:18 +00:00
micqdf 5fc8bcc406 Merge pull request 'update: set wk-3 worker cores to 4' (#37) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 2m54s
Reviewed-on: #37
2026-02-28 15:36:30 +00:00
micqdf 16d5a87586 update: set wk-3 worker cores to 4
Terraform Plan / Terraform Plan (push) Successful in 18s
2026-02-28 15:35:52 +00:00
micqdf 9a02c05983 Merge pull request 'fix: harden destroy workflow and recover state push' (#36) from stage into master
Terraform Apply / Terraform Apply (push) Successful in 5m13s
Reviewed-on: #36
2026-02-28 15:20:29 +00:00
micqdf 1304afd793 fix: harden destroy workflow and recover state push
Terraform Plan / Terraform Plan (push) Successful in 13s
2026-02-28 15:17:42 +00:00
micqdf d1dcbe0feb Merge pull request 'fix: harden apply workflow for gitea runner' (#35) from stage into master
Terraform Apply / Terraform Apply (push) Has been cancelled
Reviewed-on: #35
2026-02-28 15:14:24 +00:00
micqdf df4740071a fix: harden apply workflow for gitea runner
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 15:10:33 +00:00
micqdf 54c0b684c8 Merge pull request 'fix: remove proxmox snippet dependency for cloud-init' (#34) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 5m14s
Reviewed-on: #34
2026-02-28 14:53:00 +00:00
micqdf 2577669e12 fix: remove proxmox snippet dependency for cloud-init
Terraform Plan / Terraform Plan (push) Successful in 12s
2026-02-28 14:48:14 +00:00
micqdf dd3a37dfd1 Merge pull request 'stage' (#33) from stage into master
Terraform Apply / Terraform Apply (push) Failing after 3m19s
Reviewed-on: #33
2026-02-28 14:44:40 +00:00
micqdf 35f0a0dccb fix: disable terraform wrapper in plan workflow
Terraform Plan / Terraform Plan (push) Successful in 17s
2026-02-28 14:41:47 +00:00
micqdf 583d5c3591 fix: use gitea checkout action in plan workflow
Terraform Plan / Terraform Plan (push) Failing after 26s
2026-02-28 14:39:45 +00:00
micqdf 77626ed93c fix: restore checkout in plan workflow
Terraform Plan / Terraform Plan (push) Failing after 27s
2026-02-28 14:38:21 +00:00
micqdf a5d5ddb618 fix: remove checkout action from plan workflow
Terraform Plan / Terraform Plan (push) Failing after 2s
2026-02-28 14:35:48 +00:00
micqdf a5f8d72bff fix: disable artifact upload in plan workflow
Terraform Plan / Terraform Plan (push) Failing after 16s
2026-02-28 14:28:33 +00:00
micqdf 335254b7b2 fix: remove cross-variable validation from worker lists
Terraform Plan / Terraform Plan (push) Failing after 17s
Terraform variable validation blocks can only reference the variable itself, so list length checks against worker_count were removed to restore init/plan.
2026-02-28 14:19:00 +00:00
micqdf 21be01346b feat: refactor infra to cp/wk kubeadm topology
Terraform Plan / Terraform Plan (push) Failing after 9s
Provision 3 thin control planes and 3 workers with role-specific sizing and VMID ranges (701/711), generate per-node cloud-init snippets with SSH key injection, and add NixOS kubeadm host/module scaffolding for cp-1..3 and wk-1..3.
2026-02-28 14:16:55 +00:00
micqdf ba1884bbc5 Merge pull request 'chore: disable VM tailscale bootstrap for now' (#32) from stage into master
Terraform Apply / Terraform Apply (push) Successful in 1m55s
Reviewed-on: #32
2026-02-28 13:47:11 +00:00
micqdf c516c8ba35 chore: disable VM tailscale bootstrap for now
Terraform Plan / Terraform Plan (push) Successful in 17s
Remove tailscale auth/bootstrap from cloud-init and workflows, keeping VM provisioning focused on core network behind pfSense while preserving SSH key cloud-init setup.
2026-02-28 13:46:11 +00:00
micqdf 8b8bab77b0 Merge pull request 'fix: make cloud-init tailscale bootstrap resilient' (#31) from stage into master
Terraform Apply / Terraform Apply (push) Successful in 1m58s
Reviewed-on: #31
2026-02-28 13:31:07 +00:00
micqdf 93bba9fbfc fix: make cloud-init tailscale bootstrap resilient
Terraform Plan / Terraform Plan (push) Successful in 17s
Add retry loop for tailscale up during first boot and fallback without tag advertisement when tag auth is unavailable, so nodes still join tailnet.
2026-02-28 13:24:24 +00:00
micqdf 6ef807e59c Merge pull request 'refactor: move tailscale join fully into cloud-init' (#30) from stage into master
Terraform Apply / Terraform Apply (push) Successful in 2m2s
Reviewed-on: #30
2026-02-28 13:20:48 +00:00
micqdf 8887a8bb87 refactor: move tailscale join fully into cloud-init
Terraform Plan / Terraform Plan (push) Successful in 18s
Remove guest-agent enrollment workflow, pass TS auth key through Terraform variables/secrets, and run tailscale up with tag:k8s during cloud-init bootstrap alongside SSH key injection.
2026-02-28 13:13:34 +00:00
micqdf 32b1fcec58 Merge pull request 'fix: use POST for Proxmox guest agent ping endpoint' (#29) from stage into master
Terraform Apply / Terraform Apply (push) Has been cancelled
Reviewed-on: #29
2026-02-28 13:03:18 +00:00
micqdf c87bb16f10 fix: use POST for Proxmox guest agent ping endpoint
Terraform Plan / Terraform Plan (push) Successful in 19s
Proxmox returns 501 for GET /agent/ping; switch to POST so tailscale enrollment can detect guest-agent readiness.
2026-02-28 13:02:02 +00:00
micqdf a891109ee9 Merge pull request 'stage' (#28) from stage into master
Terraform Apply / Terraform Apply (push) Has been cancelled
Reviewed-on: #28
2026-02-28 12:58:11 +00:00
micqdf 0ea9888854 fix: include SSH key variable in destroy workflow
Terraform Plan / Terraform Plan (push) Successful in 17s
Pass SSH_KEY_PUBLIC in secrets.auto.tfvars so terraform destroy plan no longer prompts for required cloud-init variable.
2026-02-28 12:56:51 +00:00
micqdf 3261b18f37 improve: fail fast and surface guest-agent API errors
Terraform Plan / Terraform Plan (push) Failing after 23s
Reduce agent wait timeout and print HTTP/auth errors during enrollment so hangs are visible and permission issues are diagnosable.
2026-02-28 12:52:15 +00:00
micqdf 2d455929bd Merge pull request 'stage' (#27) from stage into master
Terraform Apply / Terraform Apply (push) Has been cancelled
Reviewed-on: #27
2026-02-28 12:48:21 +00:00
micqdf 9740e9c6fb fix: strip newlines from SSH_KEY_PUBLIC secret in workflows
Terraform Plan / Terraform Plan (push) Successful in 17s
Normalize SSH public key secret before writing secrets.auto.tfvars so wrapped/multiline key pastes do not break Terraform parsing.
2026-02-28 12:46:25 +00:00
micqdf f12e15e566 Merge remote-tracking branch 'origin/master' into stage
Terraform Plan / Terraform Plan (push) Failing after 14s
2026-02-28 12:45:15 +00:00
micqdf b3521d6c02 chore: remove baked SSH key from template user
Rely on cloud-init SSH key injection from secrets for access rotation instead of storing an authorized key in the template config.
2026-02-28 12:45:04 +00:00
micqdf 17834b3aa7 update: rotate SSH access via cloud-init secret
Terraform Plan / Terraform Plan (push) Successful in 17s
Inject SSH public key through Terraform/cloud-init from Gitea secret so access can be rotated without rebuilding the template image.
2026-02-28 12:36:20 +00:00
micqdf 017d5ce00d Merge pull request 'stage' (#26) from stage into master
Terraform Apply / Terraform Apply (push) Has been cancelled
Reviewed-on: #26
2026-02-28 12:14:24 +00:00
micqdf 6fada2f32a refactor: use direct tailscale auth-key enrollment
Terraform Plan / Terraform Plan (push) Successful in 18s
Stop writing auth keys to guest files and enroll nodes by running tailscale up directly via Proxmox guest agent with VM-name hostnames.
2026-02-28 12:12:58 +00:00