refactor: simplify homelab bootstrap around static IPs and fresh runs
Some checks failed
Terraform Plan / Terraform Plan (push) Failing after 10s
Some checks failed
Terraform Plan / Terraform Plan (push) Failing after 10s
Make Terraform the source of truth for node IPs, remove guest-agent/SSH discovery from the normal workflow path, simplify the bootstrap controller to a fresh-run flow, and swap the initial CNI to Flannel so cluster readiness is easier to prove before reintroducing more complex reconcile behavior.
This commit is contained in:
@@ -11,8 +11,8 @@ output "control_plane_vm_names" {
|
||||
|
||||
output "control_plane_vm_ipv4" {
|
||||
value = {
|
||||
for vm in proxmox_vm_qemu.control_planes :
|
||||
vm.name => vm.default_ipv4_address
|
||||
for i in range(var.control_plane_count) :
|
||||
proxmox_vm_qemu.control_planes[i].name => var.control_plane_ips[i]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ output "worker_vm_names" {
|
||||
|
||||
output "worker_vm_ipv4" {
|
||||
value = {
|
||||
for vm in proxmox_vm_qemu.workers :
|
||||
vm.name => vm.default_ipv4_address
|
||||
for i in range(var.worker_count) :
|
||||
proxmox_vm_qemu.workers[i].name => var.worker_ips[i]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user