forked from kubernetes-sigs/kubespray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
etcd: use dynamic group for certs generation check (kubernetes-sigs#1…
…0610) We take advantage of group_by to create the list of nodes needing new certs, instead of manually looping inside a Jinja template. This should make the role more readable and less susceptible to white space problems.
- Loading branch information
1 parent
355ddda
commit adef492
Showing
3 changed files
with
21 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
cert_files: | ||
master: | ||
- "{{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem" | ||
- "{{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem" | ||
- "{{ etcd_cert_dir }}/admin-{{ inventory_hostname }}.pem" | ||
- "{{ etcd_cert_dir }}/admin-{{ inventory_hostname }}-key.pem" | ||
node: | ||
- "{{ etcd_cert_dir}}/node-{{ inventory_hostname }}.pem" | ||
- "{{ etcd_cert_dir}}/node-{{ inventory_hostname }}-key.pem" |