You've already forked kubespray-dualstack
chore: improvements in docs
This commit is contained in:
+5
-4
@@ -35,17 +35,18 @@ resource "libvirt_volume" "worker_images" {
|
||||
data "template_file" "user_data" {
|
||||
for_each = local.user_templates
|
||||
|
||||
template = file("${path.module}/configs/cloud-init/${each.value}")
|
||||
template = file("${path.root}/configs/cloud-init/${each.value}")
|
||||
vars = {
|
||||
hosts_file = base64encode(file("${path.module}/configs/hosts"))
|
||||
ssh_public_key = file("../.ssh/id_rsa.pub")
|
||||
hosts_file = base64encode(file("${path.root}/../configs/hosts"))
|
||||
manifest_file = base64encode(file("${path.root}/configs/k8s/manifest.yaml"))
|
||||
ssh_public_key = file("${path.root}/../.ssh/id_rsa.pub")
|
||||
}
|
||||
}
|
||||
|
||||
data "template_file" "network_config" {
|
||||
for_each = local.user_templates
|
||||
|
||||
template = file("${path.module}/configs/cloud-init/network.yaml.tpl")
|
||||
template = file("${path.root}/configs/cloud-init/network.yaml.tpl")
|
||||
vars = {
|
||||
ipv4_address = local.node_addrs[each.key].ipv4
|
||||
ipv4_prefix = local.ipv4_prefix
|
||||
|
||||
Reference in New Issue
Block a user