adding the ability to change the default podManagementPolicy for StatefulSets
All checks were successful
ci/woodpecker/pr/debug Pipeline was successful

This commit is contained in:
bodaciousbiscuits 2024-05-19 21:31:19 -05:00
parent a2c1de646b
commit 39b37833c5
2 changed files with 3 additions and 0 deletions

View file

@ -11,6 +11,7 @@ spec:
{{- if eq .Values.deployment.kind "StatefulSet" }}
replicas: {{ .Values.deployment.replicaCount }}
serviceName: {{ include "garage.fullname" . }}
podManagementPolicy: {{ .Values.deployment.podManagementPolicy }}
{{- end }}
template:
metadata:

View file

@ -96,6 +96,8 @@ deployment:
kind: StatefulSet
# Number of StatefulSet replicas/garage nodes to start
replicaCount: 3
# If using statefulset, allow Parallel or OrderedReady (default)
podManagementPolicy: OrderedReady
image:
repository: dxflrs/amd64_garage