mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-25 06:56:07 -03:30
terraform/openstack: add network_dns_domain variable (#5093)
This allows the user to optionally specify the dns_domain attribute on the generated internal kubernetes network.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f6a63d88a7
commit
3732c3a9b1
@@ -8,6 +8,7 @@ resource "openstack_networking_router_v2" "k8s" {
|
||||
resource "openstack_networking_network_v2" "k8s" {
|
||||
name = "${var.network_name}"
|
||||
count = "${var.use_neutron}"
|
||||
dns_domain = var.network_dns_domain != null ? "${var.network_dns_domain}" : null
|
||||
admin_state_up = "true"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user