From 2dc15355860255a4cf274b7d48971c7bcbd954a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Sanju=C3=A1n?= Date: Mon, 30 Sep 2024 17:13:24 +0200 Subject: [PATCH] Add same config for keycloak chart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fran Sanjuán --- charts/keycloak/templates/statefulset.yaml | 3 +++ charts/keycloak/values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/charts/keycloak/templates/statefulset.yaml b/charts/keycloak/templates/statefulset.yaml index 52396a54..f94d15c0 100644 --- a/charts/keycloak/templates/statefulset.yaml +++ b/charts/keycloak/templates/statefulset.yaml @@ -24,6 +24,9 @@ spec: podManagementPolicy: {{ .Values.podManagementPolicy }} updateStrategy: type: {{ .Values.updateStrategy }} + {{- if .Values.minReadySeconds }} + minReadySeconds: {{ .Values.minReadySeconds }} + {{- end }} template: metadata: annotations: diff --git a/charts/keycloak/values.yaml b/charts/keycloak/values.yaml index 811a938d..75516f37 100644 --- a/charts/keycloak/values.yaml +++ b/charts/keycloak/values.yaml @@ -34,6 +34,9 @@ podManagementPolicy: Parallel # StatefulSet's update strategy updateStrategy: RollingUpdate +# StatefulSet's minReadySeconds configuration +minReadySeconds: "" + # Pod restart policy. One of `Always`, `OnFailure`, or `Never` restartPolicy: Always