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