Browse Source

Fix CA cert environment variable for ectd v3 (#4381)

pull/4401/head
Qasim Sarfraz 5 years ago
committed by Kubernetes Prow Robot
parent
commit
0a3cf1a087
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/etcd/handlers/backup.yml

2
roles/etcd/handlers/backup.yml

@ -52,7 +52,7 @@
ETCDCTL_API: 3 ETCDCTL_API: 3
ETCDCTL_CERT: "{{ etcd_cert_dir }}/admin-{{ inventory_hostname }}.pem" ETCDCTL_CERT: "{{ etcd_cert_dir }}/admin-{{ inventory_hostname }}.pem"
ETCDCTL_KEY: "{{ etcd_cert_dir }}/admin-{{ inventory_hostname }}-key.pem" ETCDCTL_KEY: "{{ etcd_cert_dir }}/admin-{{ inventory_hostname }}-key.pem"
ETCDCTL_CA_FILE: "{{ etcd_cert_dir }}/ca.pem"
ETCDCTL_CACERT: "{{ etcd_cert_dir }}/ca.pem"
retries: 3 retries: 3
register: etcd_backup_v3_command register: etcd_backup_v3_command
until: etcd_backup_v3_command.rc == 0 until: etcd_backup_v3_command.rc == 0

Loading…
Cancel
Save