mirror of
https://github.com/puppetmaster/typhoon.git
synced 2025-07-24 03:11:33 +02:00
Add temporary variables for multi-nic testing
* Accept ordered lists of controller and worker networkd configs * Do not rely on these variables. They will be replaced with a cleaner mechanism at a future date
This commit is contained in:
@ -87,6 +87,7 @@ data "template_file" "controller-configs" {
|
||||
etcd_initial_cluster = "${join(",", formatlist("%s=https://%s:2380", var.controller_names, var.controller_domains))}"
|
||||
k8s_dns_service_ip = "${module.bootkube.kube_dns_service_ip}"
|
||||
ssh_authorized_key = "${var.ssh_authorized_key}"
|
||||
networkd_content = "${element(var.controller_networkds, count.index)}"
|
||||
}
|
||||
}
|
||||
|
||||
@ -106,5 +107,6 @@ data "template_file" "worker-configs" {
|
||||
domain_name = "${element(var.worker_domains, count.index)}"
|
||||
k8s_dns_service_ip = "${module.bootkube.kube_dns_service_ip}"
|
||||
ssh_authorized_key = "${var.ssh_authorized_key}"
|
||||
networkd_content = "${element(var.worker_networkds, count.index)}"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user