Browse Source

Add the subnet_cidr as a required argument to the network module

pull/2895/head
Derek Lemon 6 years ago
parent
commit
27d62941b2
2 changed files with 2 additions and 0 deletions
  1. 1
      contrib/terraform/openstack/kubespray.tf
  2. 1
      contrib/terraform/openstack/sample-inventory/cluster.tf

1
contrib/terraform/openstack/kubespray.tf

@ -3,6 +3,7 @@ module "network" {
external_net = "${var.external_net}"
network_name = "${var.network_name}"
subnet_cidr = "${var.subnet_cidr}"
cluster_name = "${var.cluster_name}"
dns_nameservers = "${var.dns_nameservers}"
}

1
contrib/terraform/openstack/sample-inventory/cluster.tf

@ -41,5 +41,6 @@ number_of_k8s_nodes_no_floating_ip = 4
# networking
network_name = "<network>"
external_net = "<UUID>"
subnet_cidr = "<cidr>"
floatingip_pool = "<pool>"
Loading…
Cancel
Save