Updated providers, formatting
This commit is contained in:
@@ -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
|
||||
}),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user