Skip to content

Commit

Permalink
Add kubernetes.io/cluster/my-kubernetes tag also to the master subnet
Browse files Browse the repository at this point in the history
  • Loading branch information
scholzj committed Jan 29, 2018
1 parent 6df14d4 commit 01222e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ AWS Kubernetes is a Kubernetes cluster deployed using [Kubeadm](https://kubernet

## Updates

* *29.1.2018:* Add automatically tag also to the master subnet
* *22.1.2018:* Update Calico to 3.0.1
* *22.1.2018:* Update to Kubernetes 1.9.2, Ingres 0.10.0 and Dashboard 1.8.2
* *6.1.2018:* Update to Kubernetes 1.9.1
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ data "template_file" "init_master" {
asg_name = "${var.cluster_name}-nodes"
asg_min_nodes = "${var.min_worker_count}"
asg_max_nodes = "${var.max_worker_count}"
aws_subnets = "${join(" ", var.worker_subnet_ids)}"
aws_subnets = "${join(" ", concat(var.worker_subnet_ids, list(var.master_subnet_id)))}"

}
}
Expand Down

0 comments on commit 01222e0

Please sign in to comment.