aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-01-17 12:38:53 +0100
committerAlex Auvolat <alex@adnab.me>2024-01-17 12:38:53 +0100
commita21493745d9ce9791319a06243a2c6f10a55eaaa (patch)
tree529ac51ed1cde97322b0a28fee52ad7b264be522 /cluster/prod
parent56e4dd954fa5e0baa5fbd5fbf1de12ca10318a82 (diff)
downloadnixcfg-a21493745d9ce9791319a06243a2c6f10a55eaaa.tar.gz
nixcfg-a21493745d9ce9791319a06243a2c6f10a55eaaa.zip
prod: update diplonat and make garage restart on template changes again
Diplonat update prevents unnecessary flapping of autodiscovered ip addresses, which was the cause of useless restarts of the garage daemon. But in principle we want Garage to be restarted if the ipv6 address changes as it indicates changes in the network.
Diffstat (limited to 'cluster/prod')
-rw-r--r--cluster/prod/app/core/deploy/diplonat.hcl2
-rw-r--r--cluster/prod/app/garage/deploy/garage.hcl2
2 files changed, 2 insertions, 2 deletions
diff --git a/cluster/prod/app/core/deploy/diplonat.hcl b/cluster/prod/app/core/deploy/diplonat.hcl
index 6f2b796..ce5bccf 100644
--- a/cluster/prod/app/core/deploy/diplonat.hcl
+++ b/cluster/prod/app/core/deploy/diplonat.hcl
@@ -13,7 +13,7 @@ job "core-diplonat" {
driver = "docker"
config {
- image = "lxpz/amd64_diplonat:6"
+ image = "lxpz/amd64_diplonat:7"
network_mode = "host"
readonly_rootfs = true
privileged = true
diff --git a/cluster/prod/app/garage/deploy/garage.hcl b/cluster/prod/app/garage/deploy/garage.hcl
index 4964a37..180f4d9 100644
--- a/cluster/prod/app/garage/deploy/garage.hcl
+++ b/cluster/prod/app/garage/deploy/garage.hcl
@@ -44,7 +44,7 @@ job "garage" {
template {
data = file("../config/garage.toml")
destination = "secrets/garage.toml"
- change_mode = "noop"
+ #change_mode = "noop"
}
template {