diff options
author | Alex Auvolat <alex@adnab.me> | 2022-08-24 17:31:08 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-08-24 17:31:08 +0200 |
commit | cfb1d623d9711156a1195312afa5cebadc8a6697 (patch) | |
tree | 78acc1e564d2e0e053f9be21ac5b0ec29f48048e /cluster/prod/app/directory/deploy | |
parent | a0c8280c02855fa2731d3f89df1dec0ae9627990 (diff) | |
download | nixcfg-cfb1d623d9711156a1195312afa5cebadc8a6697.tar.gz nixcfg-cfb1d623d9711156a1195312afa5cebadc8a6697.zip |
Reconfigure services to use correct tricot url, TLS fails
Diffstat (limited to 'cluster/prod/app/directory/deploy')
-rw-r--r-- | cluster/prod/app/directory/deploy/directory.hcl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cluster/prod/app/directory/deploy/directory.hcl b/cluster/prod/app/directory/deploy/directory.hcl index 89f5ebc..cd503fc 100644 --- a/cluster/prod/app/directory/deploy/directory.hcl +++ b/cluster/prod/app/directory/deploy/directory.hcl @@ -41,8 +41,8 @@ job "directory" { } template { - data = "{{ key \"secrets/consul/consul-ca.crt\" }}" - destination = "secrets/consul-ca.crt" + data = "{{ key \"secrets/consul/consul.crt\" }}" + destination = "secrets/consul.crt" } template { @@ -57,9 +57,9 @@ job "directory" { template { data = <<EOH -CONSUL_HTTP_ADDR=https://localhost:8501 +CONSUL_HTTP_ADDR=https://consul.service.prod.consul:8501 CONSUL_HTTP_SSL=true -CONSUL_CACERT=/etc/bottin/consul-ca.crt +CONSUL_CACERT=/etc/bottin/consul.crt CONSUL_CLIENT_CERT=/etc/bottin/consul-client.crt CONSUL_CLIENT_KEY=/etc/bottin/consul-client.key EOH |