Browse Source
Updated Openstack to terraform 0.12 (#5062)
Updated Openstack to terraform 0.12 (#5062)
* update openstack to terraform 0.12(.5) * replace cluter.tf with cluster.tfvars * update README.md to terraform 0.12 * update Openstack CI tests to use terraform 0.12 * specify terraform version in openstack README * gitlab CI to copy cluster.tfvars in case of openstack provider * The terraform/openstack dynamic inventory can read tfstate v4 (generated by terraform 0.12) and convert them internally ro v3 (as generated by terraform 0.11.x). Additionally the script has been updated to Python 3.pull/5088/head
Hugo Blom
5 years ago
committed by
Kubernetes Prow Robot
10 changed files with 83 additions and 37 deletions
Split View
Diff Options
-
12.gitlab-ci/terraform.yml
-
1contrib/terraform/openstack/.gitignore
-
10contrib/terraform/openstack/README.md
-
6contrib/terraform/openstack/kubespray.tf
-
8contrib/terraform/openstack/modules/compute/main.tf
-
2contrib/terraform/openstack/modules/ips/main.tf
-
8contrib/terraform/openstack/modules/ips/outputs.tf
-
6contrib/terraform/openstack/modules/network/main.tf
-
0contrib/terraform/openstack/sample-inventory/cluster.tfvars
-
67contrib/terraform/terraform.py
@ -1,4 +1,5 @@ |
|||
.terraform |
|||
*.tfvars |
|||
!sample-inventory\/cluster.tfvars |
|||
*.tfstate |
|||
*.tfstate.backup |
@ -1,15 +1,15 @@ |
|||
output "k8s_master_fips" { |
|||
value = ["${openstack_networking_floatingip_v2.k8s_master.*.address}"] |
|||
value = "${openstack_networking_floatingip_v2.k8s_master[*].address}" |
|||
} |
|||
|
|||
output "k8s_master_no_etcd_fips" { |
|||
value = ["${openstack_networking_floatingip_v2.k8s_master_no_etcd.*.address}"] |
|||
value = "${openstack_networking_floatingip_v2.k8s_master_no_etcd[*].address}" |
|||
} |
|||
|
|||
output "k8s_node_fips" { |
|||
value = ["${openstack_networking_floatingip_v2.k8s_node.*.address}"] |
|||
value = "${openstack_networking_floatingip_v2.k8s_node[*].address}" |
|||
} |
|||
|
|||
output "bastion_fips" { |
|||
value = ["${openstack_networking_floatingip_v2.bastion.*.address}"] |
|||
value = "${openstack_networking_floatingip_v2.bastion[*].address}" |
|||
} |
Write
Preview
Loading…
Cancel
Save