diff options
author | Alex Auvolat <alex@adnab.me> | 2024-01-17 12:38:53 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-01-17 12:38:53 +0100 |
commit | a21493745d9ce9791319a06243a2c6f10a55eaaa (patch) | |
tree | 529ac51ed1cde97322b0a28fee52ad7b264be522 /cluster/prod | |
parent | 56e4dd954fa5e0baa5fbd5fbf1de12ca10318a82 (diff) | |
download | nixcfg-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.hcl | 2 | ||||
-rw-r--r-- | cluster/prod/app/garage/deploy/garage.hcl | 2 |
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 { |