Generate individual certificates for k8s hosts

This commit is contained in:
Matthew Mosesohn
2016-12-27 14:02:45 +03:00
parent 3b0918981e
commit 3f274115b0
6 changed files with 101 additions and 39 deletions

View File

@@ -8,8 +8,8 @@ clusters:
users:
- name: kubelet
user:
client-certificate: {{ kube_cert_dir }}/node.pem
client-key: {{ kube_cert_dir }}/node-key.pem
client-certificate: {{ kube_cert_dir }}/node-{{ inventory_hostname }}.pem
client-key: {{ kube_cert_dir }}/node-{{ inventory_hostname }}-key.pem
contexts:
- context:
cluster: local