Fix nomad talking to consul

This commit is contained in:
Alex 2022-08-24 18:51:55 +02:00
parent 0d2d46f437
commit 1172e8e511
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -214,6 +214,9 @@ in
https = 8501;
dns = 53;
};
performance = {
rpc_hold_timeout = "70s";
};
recursors = [ cfg.nameservers ];
@ -251,7 +254,7 @@ in
serf = "${cfg.cluster_ip}";
};
consul = {
address = "consul.service.prod.consul:8501";
address = "localhost:8501";
ca_file = "/var/lib/nomad/pki/consul2022.crt";
cert_file = "/var/lib/nomad/pki/consul2022-client.crt";
key_file = "/var/lib/nomad/pki/consul2022-client.key";