Skip to content

Commit

Permalink
Merge pull request #1134 from kube-hetzner/fix/control-plane-lb-ip
Browse files Browse the repository at this point in the history
feat: explicit ip for the control-plane LB, as Hetzner's automatic IP…
  • Loading branch information
mysticaltech authored Dec 23, 2023
2 parents 1f86491 + 3f73aa2 commit 7261b08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions control_planes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ resource "hcloud_load_balancer_network" "control_plane" {
load_balancer_id = hcloud_load_balancer.control_plane.*.id[0]
subnet_id = hcloud_network_subnet.control_plane.*.id[0]
enable_public_interface = var.control_plane_lb_enable_public_interface
ip = cidrhost(hcloud_network_subnet.control_plane.*.ip_range[0], 1)
}

resource "hcloud_load_balancer_target" "control_plane" {
Expand Down

0 comments on commit 7261b08

Please sign in to comment.