fix: Ensure correct nodeIPs are set on workernodes

This commit is contained in:
Peter 2025-12-16 21:23:01 +01:00
parent 628443c06c
commit f2acafd737
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
2 changed files with 3 additions and 1 deletions

View file

@ -76,7 +76,6 @@ resource "talos_machine_configuration_apply" "config_apply_worker" {
templatefile("${path.module}/templates/machineconfig-worker.yaml.tmpl", {
hostname = each.value.name
cluster_name = var.node_config.cluster_name
vip_address = var.node_config.cluster_endpoint
node_name = format("%s.wheatley.in", var.node_config.proxmox_node)
storage_address = each.value.storage_address
machine_type = each.value.type

View file

@ -23,6 +23,9 @@ machine:
extraConfig:
imageGCHighThresholdPercent: 75
imageGCLowThresholdPercent: 70
nodeIP:
validSubnets:
- 10.13.37.0/24
kernel:
modules:
- name: drbd