From dc73a0bf2ccc05c06768ca6fc0d518e4c65f296d Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Wed, 12 Jun 2024 21:49:12 +0200 Subject: [PATCH] Update freshrss to 1.24.1 Fix rollout strategy for freshrss --- kubenix-modules/freshrss.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/kubenix-modules/freshrss.nix b/kubenix-modules/freshrss.nix index 79479ee..93e00d4 100644 --- a/kubenix-modules/freshrss.nix +++ b/kubenix-modules/freshrss.nix @@ -15,12 +15,22 @@ spec = { selector.matchLabels.app = "freshrss"; + strategy = { + type = "RollingUpdate"; + + rollingUpdate = { + maxSurge = 0; + maxUnavailable = 1; + }; + }; + template = { metadata.labels.app = "freshrss"; spec = { containers.freshrss = { - image = "freshrss/freshrss:1.24.0"; + image = "freshrss/freshrss:1.24.1"; + imagePullPolicy = "Always"; envFrom = [{ configMapRef.name = "freshrss"; }]; ports.web.containerPort = 80;