Skip to content

Commit

Permalink
add extra environment variable for newer etcdctls.
Browse files Browse the repository at this point in the history
  • Loading branch information
julialongtin committed Oct 11, 2021
1 parent 5cdda2d commit e53f24e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/roles/etcd-helpers/templates/etcdctl3.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ export ETCDCTL_CA_FILE=/etc/ssl/etcd/ssl/ca.pem
export ETCDCTL_CERT=/etc/ssl/etcd/ssl/member-$HOST.pem
export ETCDCTL_KEY=/etc/ssl/etcd/ssl/member-$HOST-key.pem

#to support etcdctl 3.14
export ETCDCTL_CACERT=/etc/ssl/etcd/ssl/ca.pem

/usr/local/bin/etcdctl "$@"

0 comments on commit e53f24e

Please sign in to comment.