aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-07-14 17:47:19 +0200
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-07-14 17:47:19 +0200
commit2c43fe0fb4589c4abbe07cce40e5434fcabeee8a (patch)
tree017efa18f7d62910491c99d3dd779c707e6289af
parentb6c083cf934e9632de36de15352349f98f28a2c7 (diff)
downloadnixcfg-2c43fe0fb4589c4abbe07cce40e5434fcabeee8a.tar.gz
nixcfg-2c43fe0fb4589c4abbe07cce40e5434fcabeee8a.zip
Revert "staging: enable IPv4 diplonat (UPnP) for corrin site"
This reverts commit 22dba1f35cab74f6ecdc20d30eca4ee295810e8f. This site is now also a production site, so from now on UPnP will only be configured from the production 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 160004f..b6a83aa 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={{ $site := env "meta.site" }}{{ if eq $site "corrin" }}false{{ else }}true{{ end }}
+DIPLONAT_IPV6_ONLY=true
DIPLONAT_CONSUL_NODE_NAME={{ env "attr.unique.hostname" }}
DIPLONAT_CONSUL_URL=https://localhost:8501
DIPLONAT_CONSUL_CA_CERT=/etc/diplonat/consul-ca.crt