diff options
author | bodaciousbiscuits <167443179+bodaciousbiscuits@users.noreply.github.com> | 2024-05-19 21:31:19 -0500 |
---|---|---|
committer | bodaciousbiscuits <167443179+bodaciousbiscuits@users.noreply.github.com> | 2024-05-19 21:31:19 -0500 |
commit | 39b37833c529bb5f2ec7431f2beffeb7a245c8df (patch) | |
tree | 7aabea80725017397f9986de3152c7fcd079ae68 /script/helm | |
parent | a2c1de646bce4a96cf8dc526f82bd88bcf3dde70 (diff) | |
download | garage-39b37833c529bb5f2ec7431f2beffeb7a245c8df.tar.gz garage-39b37833c529bb5f2ec7431f2beffeb7a245c8df.zip |
adding the ability to change the default podManagementPolicy for StatefulSets
Diffstat (limited to 'script/helm')
-rw-r--r-- | script/helm/garage/templates/workload.yaml | 1 | ||||
-rw-r--r-- | script/helm/garage/values.yaml | 2 |
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 |