mirror of
https://github.com/outbackdingo/iac-talos-cluster.git
synced 2026-01-27 10:19:15 +00:00
- use bpg/proxmox instead of TheGameProfi/proxmox (or telmate/proxmox) - add macaddress provider - rename var talos_worker_nodes to worker_nodes - split var talos_iso_image_location into talos_iso_destination_filename and talos_iso_destination_storage_pool
14 lines
398 B
HCL
14 lines
398 B
HCL
# use kubectl to poll the readiness status of the nodes
|
|
data "external" "talos-nodes-ready" {
|
|
depends_on = [null_resource.talos-cluster-up]
|
|
|
|
program = concat([
|
|
"go",
|
|
"run",
|
|
"${path.module}/cmd/nodes-ready",
|
|
],
|
|
[for i, cfg in proxmox_virtual_environment_vm.talos-control-plane : cfg.name],
|
|
[for i, cfg in proxmox_virtual_environment_vm.talos-worker-node : cfg.name],
|
|
)
|
|
}
|