mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-07-27 14:13:53 +03:00
Add Authentication to etcd configuration
Added two flags needed to activate client and peer authentication in etcd
This commit is contained in:

committed by
Kelsey Hightower

parent
d81abdbcf1
commit
77cc14e86a
@@ -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 \\
|
||||
|
Reference in New Issue
Block a user