consul config: update deprecated options

This commit is contained in:
Armaël Guéneau 2025-01-18 17:01:10 +01:00
parent cd629a86e9
commit fa0c3203f1

View file

@ -328,12 +328,14 @@ in
rpc_hold_timeout = "70s";
};
ca_file = "/var/lib/consul/pki/consul-ca.crt";
cert_file = "/var/lib/consul/pki/consul.crt";
key_file = "/var/lib/consul/pki/consul.key";
verify_incoming = true;
verify_outgoing = true;
verify_server_hostname = true;
tls.defaults = {
ca_file = "/var/lib/consul/pki/consul-ca.crt";
cert_file = "/var/lib/consul/pki/consul.crt";
key_file = "/var/lib/consul/pki/consul.key";
verify_incoming = true;
verify_outgoing = true;
};
tls.internal_rpc.verify_server_hostname = true;
};
services.nomad.enable = true;