mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-10-30 01:52:18 +00:00
14 lines
372 B
HCL
14 lines
372 B
HCL
|
|
resource "local_file" "worker_patch" {
|
|
content = templatefile("${path.module}/templates/worker.patch.yaml.tpl",
|
|
merge(var.kubernetes, {
|
|
lbv4 = local.ipv4_vip
|
|
nodeSubnets = var.vpc_main_cidr
|
|
labels = "project.io/node-pool=worker"
|
|
})
|
|
)
|
|
|
|
filename = "${path.module}/templates/worker.patch.yaml"
|
|
file_permission = "0600"
|
|
}
|