(postgresql) Support update strategy snippet

- Add support for the update strategy helm-toolkit snippet

Change-Id: I7abedec017cb043a38f4e176028d76fdc505de12
This commit is contained in:
Hussey, Scott (sh8121) 2019-06-04 09:36:06 -05:00 committed by Pete Birley
parent eefcf33f61
commit 3844f4af77
2 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,7 @@ metadata:
spec: spec:
serviceName: {{ tuple "postgresql" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }} serviceName: {{ tuple "postgresql" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
podManagementPolicy: "Parallel" podManagementPolicy: "Parallel"
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_statefulset" | indent 2 }}
replicas: {{ .Values.pod.replicas.server }} replicas: {{ .Values.pod.replicas.server }}
selector: selector:
matchLabels: matchLabels:

View File

@ -58,6 +58,9 @@ pod:
prometheus_postgresql_exporter: 1 prometheus_postgresql_exporter: 1
lifecycle: lifecycle:
upgrades: upgrades:
statefulsets:
pod_replacement_strategy: OnDelete
partition: 0
deployments: deployments:
revision_history: 3 revision_history: 3
pod_replacement_strategy: RollingUpdate pod_replacement_strategy: RollingUpdate