fix: make etcd listen on all interfaces (localhost included)
This commit is contained in:
@@ -298,10 +298,10 @@ let
|
||||
enable = true;
|
||||
clientCertAuth = true;
|
||||
peerClientCertAuth = true;
|
||||
listenClientUrls = mkForce ["https://${host.address}:2379"];
|
||||
listenPeerUrls = mkForce ["https://${host.address}:2380"];
|
||||
advertiseClientUrls = mkForce ["https://${host.address}:2379"];
|
||||
initialAdvertisePeerUrls = mkForce ["https://${host.address}:2380"];
|
||||
listenClientUrls = mkForce ["https://0.0.0.0:2379"];
|
||||
listenPeerUrls = mkForce ["https://0.0.0.0:2380"];
|
||||
advertiseClientUrls = mkForce ["https://0.0.0.0:2379"];
|
||||
initialAdvertisePeerUrls = mkForce ["https://0.0.0.0:2380"];
|
||||
name = "${host.name}";
|
||||
certFile = secret "etcd";
|
||||
keyFile = secret "etcd-key";
|
||||
@@ -325,7 +325,6 @@ let
|
||||
hosts = [
|
||||
"etcd.local"
|
||||
"etcd.cluster.local"
|
||||
"etcd.${domain}"
|
||||
host.name
|
||||
host.address
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user