aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-05-30 23:47:38 +0200
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-05-30 23:47:38 +0200
commitbdc7376df4b3116ecd2b5576d1bf2e26ff7878ed (patch)
treea7597d7b6331468d9a16caa4c36a07cb5778c08d
parent22dba1f35cab74f6ecdc20d30eca4ee295810e8f (diff)
downloadnixcfg-bdc7376df4b3116ecd2b5576d1bf2e26ff7878ed.tar.gz
nixcfg-bdc7376df4b3116ecd2b5576d1bf2e26ff7878ed.zip
staging: make tricot config closer to prod
-rw-r--r--cluster/staging/app/core/deploy/tricot.hcl9
1 files changed, 5 insertions, 4 deletions
diff --git a/cluster/staging/app/core/deploy/tricot.hcl b/cluster/staging/app/core/deploy/tricot.hcl
index 62c8030..576efa3 100644
--- a/cluster/staging/app/core/deploy/tricot.hcl
+++ b/cluster/staging/app/core/deploy/tricot.hcl
@@ -71,6 +71,7 @@ TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key
TRICOT_HTTP_BIND_ADDR=[::]:80
TRICOT_HTTPS_BIND_ADDR=[::]:443
TRICOT_METRICS_BIND_ADDR=[::]:9334
+TRICOT_WARMUP_CERT_MEMORY_STORE=true
RUST_LOG=tricot=debug
RUST_BACKTRACE=1
EOH
@@ -82,9 +83,6 @@ EOH
name = "tricot-http"
port = "http_port"
tags = [
- "d53-aaaa ${attr.unique.hostname}.machine.staging.deuxfleurs.org",
- "d53-aaaa ${meta.site}.site.staging.deuxfleurs.org",
- "d53-aaaa staging.deuxfleurs.org",
"(diplonat (tcp_port 80))"
]
address_mode = "host"
@@ -94,7 +92,10 @@ EOH
name = "tricot-https"
port = "https_port"
tags = [
- "(diplonat (tcp_port 443))"
+ "(diplonat (tcp_port 443))",
+ "d53-aaaa ${attr.unique.hostname}.machine.staging.deuxfleurs.org",
+ "d53-aaaa ${meta.site}.site.staging.deuxfleurs.org",
+ "d53-aaaa staging.deuxfleurs.org"
]
address_mode = "host"
}