re-add node-taints after rebase

This commit is contained in:
phaer
2022-02-08 09:05:36 +01:00
parent 797af82081
commit d6fe4152c9
2 changed files with 2 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ resource "hcloud_server" "first_control_plane" {
node-ip = local.first_control_plane_network_ip
advertise-address = local.first_control_plane_network_ip
token = random_password.k3s_token.result
node-taint = var.allow_scheduling_on_control_plane ? [] : [ "node-role.kubernetes.io/master:NoSchedule" ]
})
destination = "/etc/rancher/k3s/config.yaml"