summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-07-04 10:37:04 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-07-04 10:51:38 +0200
commita2c62c0855c3318405638d027ad5b376d8f2bee1 (patch)
tree7d20b9a5309f0a18fcdec5977e1b710361a17656 /roles/etcd_common
parent950bb48b4961f430cda887dc94642a8a1c1a3663 (diff)
downloadopenshift-a2c62c0855c3318405638d027ad5b376d8f2bee1.tar.gz
openshift-a2c62c0855c3318405638d027ad5b376d8f2bee1.tar.bz2
openshift-a2c62c0855c3318405638d027ad5b376d8f2bee1.tar.xz
openshift-a2c62c0855c3318405638d027ad5b376d8f2bee1.zip
use master etcd certificates when delegating oadm migrate etcd-ttl
Diffstat (limited to 'roles/etcd_common')
-rw-r--r--roles/etcd_common/defaults/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/etcd_common/defaults/main.yml b/roles/etcd_common/defaults/main.yml
index b5b38c1e1..b1bfa4592 100644
--- a/roles/etcd_common/defaults/main.yml
+++ b/roles/etcd_common/defaults/main.yml
@@ -44,6 +44,10 @@ etcd_ca_serial: "{{ etcd_ca_dir }}/serial"
etcd_ca_crl_number: "{{ etcd_ca_dir }}/crlnumber"
etcd_ca_default_days: 1825
+r_etcd_common_master_peer_cert_file: /etc/origin/master/master.etcd-client.crt
+r_etcd_common_master_peer_key_file: /etc/origin/master/master.etcd-client.key
+r_etcd_common_master_peer_ca_file: /etc/origin/master/master.etcd-ca.crt
+
# etcd server & certificate vars
etcd_hostname: "{{ inventory_hostname }}"
etcd_ip: "{{ ansible_default_ipv4.address }}"