terraform fmt
This commit is contained in:
parent
d6fe4152c9
commit
af78d8fc86
@ -69,7 +69,7 @@ resource "hcloud_server" "first_control_plane" {
|
|||||||
node-ip = local.first_control_plane_network_ip
|
node-ip = local.first_control_plane_network_ip
|
||||||
advertise-address = local.first_control_plane_network_ip
|
advertise-address = local.first_control_plane_network_ip
|
||||||
token = random_password.k3s_token.result
|
token = random_password.k3s_token.result
|
||||||
node-taint = var.allow_scheduling_on_control_plane ? [] : [ "node-role.kubernetes.io/master:NoSchedule" ]
|
node-taint = var.allow_scheduling_on_control_plane ? [] : ["node-role.kubernetes.io/master:NoSchedule"]
|
||||||
})
|
})
|
||||||
destination = "/etc/rancher/k3s/config.yaml"
|
destination = "/etc/rancher/k3s/config.yaml"
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ resource "hcloud_server" "control_planes" {
|
|||||||
advertise-address = cidrhost(hcloud_network.k3s.ip_range, 3 + count.index)
|
advertise-address = cidrhost(hcloud_network.k3s.ip_range, 3 + count.index)
|
||||||
tls-san = cidrhost(hcloud_network.k3s.ip_range, 3 + count.index)
|
tls-san = cidrhost(hcloud_network.k3s.ip_range, 3 + count.index)
|
||||||
token = random_password.k3s_token.result
|
token = random_password.k3s_token.result
|
||||||
node-taint = var.allow_scheduling_on_control_plane ? [] : [ "node-role.kubernetes.io/master:NoSchedule" ]
|
node-taint = var.allow_scheduling_on_control_plane ? [] : ["node-role.kubernetes.io/master:NoSchedule"]
|
||||||
})
|
})
|
||||||
destination = "/etc/rancher/k3s/config.yaml"
|
destination = "/etc/rancher/k3s/config.yaml"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user