fix the upgrade node label

This commit is contained in:
Karim Naufal
2022-02-16 09:23:28 +01:00
parent bcdc5603a3
commit 4aabee0dad
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, 257 + count.index)
node-label = var.automatically_upgrade_k3s ? ["k3s_upgrade=true"] : []
node-label = var.automatically_upgrade_k3s ? ["k3s-upgrade=true"] : []
})
destination = "/tmp/config.yaml"
}