Skip to content

Commit

Permalink
[keycloakx] feat: Add minReadySeconds config option
Browse files Browse the repository at this point in the history
Signed-off-by: Fran Sanjuán <[email protected]>
  • Loading branch information
francescsanjuanmrf committed Sep 30, 2024
1 parent c5b93d7 commit ab14572
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/keycloakx/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:
podManagementPolicy: {{ .Values.podManagementPolicy }}
updateStrategy:
type: {{ .Values.updateStrategy }}
{{- if .Values.minReadySeconds }}
minReadySeconds: {{ .Values.minReadySeconds }}
{{- end }}
template:
metadata:
annotations:
Expand Down
3 changes: 3 additions & 0 deletions charts/keycloakx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ podManagementPolicy: OrderedReady
# StatefulSet's update strategy
updateStrategy: RollingUpdate

# StatefulSet's minReadySeconds configuration
minReadySeconds: ""

# Pod restart policy. One of `Always`, `OnFailure`, or `Never`
restartPolicy: Always

Expand Down

0 comments on commit ab14572

Please sign in to comment.