feat: Add storage nic to worker nodes

This commit is contained in:
Peter 2025-12-15 16:15:11 +01:00
parent c533c7c070
commit 30d3b3b478
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
3 changed files with 18 additions and 0 deletions

View file

@ -93,6 +93,7 @@ module "controlplanes" {
node = {
id = local.vm-id_prefix + 10 + tonumber(replace(each.key, "cp", ""))
type = "controlplane"
name = format("k8s-wheatley-%s", each.value.name)
ipv4_address = each.value.ip_address
cpu = local.controlplanes.cpu
@ -114,6 +115,7 @@ module "workers" {
node = {
id = local.vm-id_prefix + 20 + tonumber(replace(each.key, "worker", ""))
type = "worker"
name = format("k8s-wheatley-%s", each.value.name)
ipv4_address = each.value.ip_address
cpu = local.workers.cpu