aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-04-21 12:03:35 +0200
committerAlex Auvolat <alex@adnab.me>2023-04-21 12:03:35 +0200
commitc4598bd84fa000ea1631bab8d67a0c8f1929141c (patch)
tree5207ca1a4180df8afe296ee43107d69654afb7bb /cluster/prod/app
parent0b3332fd3234a13fc5d780f94a74133d1e7ba199 (diff)
downloadnixcfg-c4598bd84fa000ea1631bab8d67a0c8f1929141c.tar.gz
nixcfg-c4598bd84fa000ea1631bab8d67a0c8f1929141c.zip
Diplonat on bespin, ipv6-only
Diffstat (limited to 'cluster/prod/app')
-rw-r--r--cluster/prod/app/core/deploy/diplonat.hcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/cluster/prod/app/core/deploy/diplonat.hcl b/cluster/prod/app/core/deploy/diplonat.hcl
index bf56fd5..d6f8423 100644
--- a/cluster/prod/app/core/deploy/diplonat.hcl
+++ b/cluster/prod/app/core/deploy/diplonat.hcl
@@ -1,5 +1,5 @@
job "core:diplonat" {
- datacenters = ["orion", "neptune", "scorpio"]
+ datacenters = ["orion", "neptune", "scorpio", "bespin"]
type = "system"
priority = 90
@@ -53,6 +53,9 @@ DIPLONAT_CONSUL_URL=https://consul.service.prod.consul:8501
DIPLONAT_CONSUL_TLS_SKIP_VERIFY=true
DIPLONAT_CONSUL_CLIENT_CERT=/etc/diplonat/consul-client.crt
DIPLONAT_CONSUL_CLIENT_KEY=/etc/diplonat/consul-client.key
+{{ if env "meta.site" | eq "bespin" }}
+DIPLONAT_IPV6_ONLY=true
+{{ end }}
RUST_LOG=debug
EOH
destination = "secrets/env"