Secure copy etcd TLS credentials to controllers only

* Controllers receive etcd TLS credentials
* Controllers and workers receive a kubeconfig
This commit is contained in:
Dalton Hubble
2017-10-14 20:41:18 -07:00
parent 5c1ed37ff5
commit 9ec8ec4afc
2 changed files with 31 additions and 7 deletions

View File

@ -1,5 +1,5 @@
# Secure copy kubeconfig to all nodes to activate kubelet.service
resource "null_resource" "copy-secrets" {
resource "null_resource" "copy-kubeconfig" {
count = "${length(var.worker_names)}"
connection {