Merge pull request #695 from kubernetes-incubator/bug669

Force hardlink for calico/canal certs
This commit is contained in:
Bogdan Dobrelya 2016-12-07 18:25:09 +01:00 committed by GitHub
commit f7dd20f21c
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@
src: "{{ etcd_cert_dir }}/{{ item.s }}" src: "{{ etcd_cert_dir }}/{{ item.s }}"
dest: "{{ calico_cert_dir }}/{{ item.d }}" dest: "{{ calico_cert_dir }}/{{ item.d }}"
state: hard state: hard
force: yes
with_items: with_items:
- {s: "ca.pem", d: "ca_cert.crt"} - {s: "ca.pem", d: "ca_cert.crt"}
- {s: "node.pem", d: "cert.crt"} - {s: "node.pem", d: "cert.crt"}

View file

@ -18,6 +18,7 @@
src: "{{ etcd_cert_dir }}/{{ item.s }}" src: "{{ etcd_cert_dir }}/{{ item.s }}"
dest: "{{ canal_cert_dir }}/{{ item.d }}" dest: "{{ canal_cert_dir }}/{{ item.d }}"
state: hard state: hard
force: yes
with_items: with_items:
- {s: "ca.pem", d: "ca_cert.crt"} - {s: "ca.pem", d: "ca_cert.crt"}
- {s: "node.pem", d: "cert.crt"} - {s: "node.pem", d: "cert.crt"}