Add Authentication to etcd configuration

Added two flags needed to activate client and peer authentication in etcd
pull/152/head
Rory McCune 2017-04-03 18:59:08 +01:00 committed by Kelsey Hightower
parent d81abdbcf1
commit 77cc14e86a
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ ExecStart=/usr/bin/etcd \\
--peer-key-file=/etc/etcd/kubernetes-key.pem \\
--trusted-ca-file=/etc/etcd/ca.pem \\
--peer-trusted-ca-file=/etc/etcd/ca.pem \\
--peer-client-cert-auth \\
--client-cert-auth \\
--initial-advertise-peer-urls https://${INTERNAL_IP}:2380 \\
--listen-peer-urls https://${INTERNAL_IP}:2380 \\
--listen-client-urls https://${INTERNAL_IP}:2379,http://127.0.0.1:2379 \\