diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-07-04 10:37:04 +0200 |
---|---|---|
committer | Jan Chaloupka <jchaloup@redhat.com> | 2017-07-04 10:51:38 +0200 |
commit | a2c62c0855c3318405638d027ad5b376d8f2bee1 (patch) | |
tree | 7d20b9a5309f0a18fcdec5977e1b710361a17656 /roles/etcd_migrate/tasks | |
parent | 950bb48b4961f430cda887dc94642a8a1c1a3663 (diff) | |
download | openshift-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_migrate/tasks')
-rw-r--r-- | roles/etcd_migrate/tasks/migrate.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/etcd_migrate/tasks/migrate.yml b/roles/etcd_migrate/tasks/migrate.yml index 7f441568a..4f987a051 100644 --- a/roles/etcd_migrate/tasks/migrate.yml +++ b/roles/etcd_migrate/tasks/migrate.yml @@ -36,9 +36,9 @@ - name: Re-introduce leases (as a replacement for key TTLs) command: > oadm migrate etcd-ttl \ - --cert {{ etcd_peer_cert_file }} \ - --key {{ etcd_peer_key_file }} \ - --cacert {{ etcd_peer_ca_file }} \ + --cert {{ r_etcd_common_master_peer_cert_file }} \ + --key {{ r_etcd_common_master_peer_key_file }} \ + --cacert {{ r_etcd_common_master_peer_ca_file }} \ --etcd-address 'https://{{ etcd_peer }}:{{ etcd_client_port }}' \ --ttl-keys-prefix {{ item }} \ --lease-duration 1h |