aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-05-30 23:42:48 +0200
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-05-30 23:42:48 +0200
commit22dba1f35cab74f6ecdc20d30eca4ee295810e8f (patch)
tree5cbbdcfd0e432c85dced98e61fb05902419bcd4a /cluster
parent7c174d6746cf4a16d0549ebfa27df5011cd006b8 (diff)
downloadnixcfg-22dba1f35cab74f6ecdc20d30eca4ee295810e8f.tar.gz
nixcfg-22dba1f35cab74f6ecdc20d30eca4ee295810e8f.zip
staging: enable IPv4 diplonat (UPnP) for corrin site
Diffstat (limited to 'cluster')
-rw-r--r--cluster/staging/app/core/deploy/diplonat.hcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster/staging/app/core/deploy/diplonat.hcl b/cluster/staging/app/core/deploy/diplonat.hcl
index 16bc27b..3e3310f 100644
--- a/cluster/staging/app/core/deploy/diplonat.hcl
+++ b/cluster/staging/app/core/deploy/diplonat.hcl
@@ -54,7 +54,7 @@ job "core-diplonat" {
data = <<EOH
DIPLONAT_REFRESH_TIME=60
DIPLONAT_EXPIRATION_TIME=300
-DIPLONAT_IPV6_ONLY=true
+DIPLONAT_IPV6_ONLY={{ $site := env "meta.site" }}{{ if eq $site "corrin" }}false{{ else }}true{{ end }}
DIPLONAT_CONSUL_NODE_NAME={{ env "attr.unique.hostname" }}
DIPLONAT_CONSUL_URL=https://localhost:8501
DIPLONAT_CONSUL_CA_CERT=/etc/diplonat/consul-ca.crt