mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
Use Pre-existing Floating IP for Bastion (#8214)
* use pre-existing floating IP for bastion * document bastion_fips in readme
This commit is contained in:
@@ -28,7 +28,7 @@ resource "openstack_networking_floatingip_v2" "k8s_node" {
|
||||
}
|
||||
|
||||
resource "openstack_networking_floatingip_v2" "bastion" {
|
||||
count = var.number_of_bastions
|
||||
count = length(var.bastion_fips) > 0 ? 0 : var.number_of_bastions
|
||||
pool = var.floatingip_pool
|
||||
depends_on = [null_resource.dummy_dependency]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user