mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-15 06:14:22 +03:00
Add support for LB in upcloud private zone (#11260)
This commit is contained in:
@@ -515,7 +515,7 @@ resource "upcloud_loadbalancer" "lb" {
|
||||
configured_status = "started"
|
||||
name = "${local.resource-prefix}lb"
|
||||
plan = var.loadbalancer_plan
|
||||
zone = var.zone
|
||||
zone = var.private_cloud ? var.public_zone : var.zone
|
||||
networks {
|
||||
name = "Private-Net"
|
||||
type = "private"
|
||||
|
||||
Reference in New Issue
Block a user