From 435bf92ac94555b4ef9a0c37dee63b9a32f5e53b Mon Sep 17 00:00:00 2001 From: Marco Colli Date: Sat, 27 Jul 2024 10:23:53 +0200 Subject: [PATCH] Improve PodDisruptionBudget: set maxUnavailable to 25% instead of 50% --- lib/cuber/templates/deployment.yml.erb | 2 +- lib/cuber/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cuber/templates/deployment.yml.erb b/lib/cuber/templates/deployment.yml.erb index 58f5c8e..2703444 100644 --- a/lib/cuber/templates/deployment.yml.erb +++ b/lib/cuber/templates/deployment.yml.erb @@ -71,7 +71,7 @@ metadata: app.kubernetes.io/version: <%= @options[:release].to_s.to_json %> app.kubernetes.io/managed-by: cuber spec: - maxUnavailable: "50%" + maxUnavailable: "25%" selector: matchLabels: app: web-proc diff --git a/lib/cuber/version.rb b/lib/cuber/version.rb index d322716..e8f6d17 100644 --- a/lib/cuber/version.rb +++ b/lib/cuber/version.rb @@ -1,3 +1,3 @@ module Cuber - VERSION = '1.11.0'.freeze + VERSION = '1.12.0'.freeze end