Skip to content

Commit

Permalink
Add same config for keycloak chart
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 ab14572 commit 2dc1535
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/keycloak/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,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/keycloak/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2dc1535

Please sign in to comment.