aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/core/deploy
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-24 17:31:08 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-24 17:31:08 +0200
commitcfb1d623d9711156a1195312afa5cebadc8a6697 (patch)
tree78acc1e564d2e0e053f9be21ac5b0ec29f48048e /cluster/prod/app/core/deploy
parenta0c8280c02855fa2731d3f89df1dec0ae9627990 (diff)
downloadnixcfg-cfb1d623d9711156a1195312afa5cebadc8a6697.tar.gz
nixcfg-cfb1d623d9711156a1195312afa5cebadc8a6697.zip
Reconfigure services to use correct tricot url, TLS fails
Diffstat (limited to 'cluster/prod/app/core/deploy')
-rw-r--r--cluster/prod/app/core/deploy/core.hcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/cluster/prod/app/core/deploy/core.hcl b/cluster/prod/app/core/deploy/core.hcl
index f57f21d..b87f15d 100644
--- a/cluster/prod/app/core/deploy/core.hcl
+++ b/cluster/prod/app/core/deploy/core.hcl
@@ -34,8 +34,8 @@ job "core" {
}
template {
- data = "{{ key \"secrets/consul/consul-ca.crt\" }}"
- destination = "secrets/consul-ca.crt"
+ data = "{{ key \"secrets/consul/consul.crt\" }}"
+ destination = "secrets/consul.crt"
}
template {
@@ -53,8 +53,8 @@ job "core" {
DIPLONAT_REFRESH_TIME=60
DIPLONAT_EXPIRATION_TIME=300
DIPLONAT_CONSUL_NODE_NAME={{ env "attr.unique.hostname" }}
-DIPLONAT_CONSUL_URL=https://localhost:8501
-DIPLONAT_CONSUL_CA_CERT=/etc/diplonat/consul-ca.crt
+DIPLONAT_CONSUL_URL=https://consul.service.prod.consul:8501
+DIPLONAT_CONSUL_CA_CERT=/etc/diplonat/consul.crt
DIPLONAT_CONSUL_CLIENT_CERT=/etc/diplonat/consul-client.crt
DIPLONAT_CONSUL_CLIENT_KEY=/etc/diplonat/consul-client.key
RUST_LOG=debug