Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
platforms/openstack/neutron/main.tf: Use DNS names for etcd endpoints
Browse files Browse the repository at this point in the history
TLS certs for etcd are generated based on this variable. Previously, this
was using the bare IP addresses rather than DNS names, which is less
robust, and was causing TLS failures for external etcd.
  • Loading branch information
Levi Blackstone committed Feb 16, 2018
1 parent 3ccef6f commit c73988d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/openstack/neutron/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module "bootkube" {

etcd_backup_size = "${var.tectonic_etcd_backup_size}"
etcd_backup_storage_class = "${var.tectonic_etcd_backup_storage_class}"
etcd_endpoints = "${module.dns.etcd_a_nodes}"
etcd_endpoints = "${data.template_file.etcd_hostname_list.*.rendered}"
self_hosted_etcd = "${var.tectonic_self_hosted_etcd}"

master_count = "${var.tectonic_master_count}"
Expand Down

0 comments on commit c73988d

Please sign in to comment.