fix ip_not_available error

This commit is contained in:
Karim Naufal
2022-02-16 11:06:47 +01:00
parent 1165389fc3
commit 9fa2fc9edc
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ resource "hcloud_server" "agents" {
kubelet-arg = "cloud-provider=external"
flannel-iface = "eth1"
node-ip = cidrhost(hcloud_network_subnet.k3s.ip_range, 513 + count.index)
node-label = var.automatically_upgrade_k3s ? ["k3s-upgrade=true"] : []
node-label = var.automatically_upgrade_k3s ? ["k3s_upgrade=true"] : []
})
destination = "/tmp/config.yaml"
}