aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilien <me@mricher.fr>2024-05-25 18:35:53 +0000
committermaximilien <me@mricher.fr>2024-05-25 18:35:53 +0000
commitd38509ef4b36a558c6aea71b52d27ba561ad57a4 (patch)
tree7aabea80725017397f9986de3152c7fcd079ae68
parenta2c1de646bce4a96cf8dc526f82bd88bcf3dde70 (diff)
parent39b37833c529bb5f2ec7431f2beffeb7a245c8df (diff)
downloadgarage-d38509ef4b36a558c6aea71b52d27ba561ad57a4.tar.gz
garage-d38509ef4b36a558c6aea71b52d27ba561ad57a4.zip
Merge pull request 'adding the ability to change the default podManagementPolicy for StatefulSets' (#823) from bodaciousbiscuits/garage:main into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/823 Reviewed-by: maximilien <me@mricher.fr>
-rw-r--r--script/helm/garage/templates/workload.yaml1
-rw-r--r--script/helm/garage/values.yaml2
2 files changed, 3 insertions, 0 deletions
diff --git a/script/helm/garage/templates/workload.yaml b/script/helm/garage/templates/workload.yaml
index 340c0054..aba9202b 100644
--- a/script/helm/garage/templates/workload.yaml
+++ b/script/helm/garage/templates/workload.yaml
@@ -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:
diff --git a/script/helm/garage/values.yaml b/script/helm/garage/values.yaml
index 56afa2b2..63164b9b 100644
--- a/script/helm/garage/values.yaml
+++ b/script/helm/garage/values.yaml
@@ -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