Updated providers, formatting

This commit is contained in:
Max Pfeiffer
2026-01-03 18:02:06 +01:00
parent 8b0a6aba81
commit e533438a5b
6 changed files with 61 additions and 59 deletions

View File

@@ -32,15 +32,15 @@ resource "talos_machine_configuration_apply" "controlplane" {
node = each.key
config_patches = [
templatefile("${path.module}/templates/machine_config_patches_controlplane.tftpl", {
hostname = each.value.hostname == null ? format("%s-cp-%s", var.cluster_name, index(keys(var.node_data.controlplanes), each.key)) : each.value.hostname
install_disk = each.value.install_disk
install_image = each.value.install_image
ip_address = "${each.key}/24"
network = var.network
network_gateway = var.network_gateway
vip_shared_ip = var.cluster_vip_shared_ip
hostname = each.value.hostname == null ? format("%s-cp-%s", var.cluster_name, index(keys(var.node_data.controlplanes), each.key)) : each.value.hostname
install_disk = each.value.install_disk
install_image = each.value.install_image
ip_address = "${each.key}/24"
network = var.network
network_gateway = var.network_gateway
vip_shared_ip = var.cluster_vip_shared_ip
gateway_api_manifest = file("${path.module}/gateway-api/gateway-api-crds-v1.3.yaml")
cilium_manifest = data.helm_template.cilium.manifest
cilium_manifest = data.helm_template.cilium.manifest
}),
]
}