From a21493745d9ce9791319a06243a2c6f10a55eaaa Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 17 Jan 2024 12:38:53 +0100 Subject: [PATCH] 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. --- cluster/prod/app/core/deploy/diplonat.hcl | 2 +- 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 {