diff --git a/CHANGES.md b/CHANGES.md index cc8eca62..24305e81 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,7 +5,11 @@ Notable changes between versions. ## Latest * Update Calico from v3.23.1 to [v3.23.3](https://github.com/projectcalico/calico/releases/tag/v3.23.3) -* Remove use of deprecated Terraform [template](https://registry.terraform.io/providers/hashicorp/template) provider +* Remove use of deprecated Terraform [template](https://registry.terraform.io/providers/hashicorp/template) provider ([#1194](https://github.com/poseidon/typhoon/pull/1194)) + +### Google + +* Fix bug provisioning clusters with multiple controller nodes ([#1195](https://github.com/poseidon/typhoon/pull/1195)) ## v1.24.3 diff --git a/google-cloud/fedora-coreos/kubernetes/bootstrap.tf b/google-cloud/fedora-coreos/kubernetes/bootstrap.tf index 91f70c53..a4d0131e 100644 --- a/google-cloud/fedora-coreos/kubernetes/bootstrap.tf +++ b/google-cloud/fedora-coreos/kubernetes/bootstrap.tf @@ -4,7 +4,7 @@ module "bootstrap" { cluster_name = var.cluster_name api_servers = [format("%s.%s", var.cluster_name, var.dns_zone)] - etcd_servers = google_dns_record_set.etcds.*.name + etcd_servers = [for fqdn in google_dns_record_set.etcds.*.name : trimsuffix(fqdn, ".")] networking = var.networking network_mtu = 1440 pod_cidr = var.pod_cidr diff --git a/google-cloud/flatcar-linux/kubernetes/bootstrap.tf b/google-cloud/flatcar-linux/kubernetes/bootstrap.tf index 91f70c53..a4d0131e 100644 --- a/google-cloud/flatcar-linux/kubernetes/bootstrap.tf +++ b/google-cloud/flatcar-linux/kubernetes/bootstrap.tf @@ -4,7 +4,7 @@ module "bootstrap" { cluster_name = var.cluster_name api_servers = [format("%s.%s", var.cluster_name, var.dns_zone)] - etcd_servers = google_dns_record_set.etcds.*.name + etcd_servers = [for fqdn in google_dns_record_set.etcds.*.name : trimsuffix(fqdn, ".")] networking = var.networking network_mtu = 1440 pod_cidr = var.pod_cidr