(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:
serviceName: {{ tuple "postgresql" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
podManagementPolicy: "Parallel"
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_statefulset" | indent 2 }}
replicas: {{ .Values.pod.replicas.server }}
selector:
matchLabels:

View File

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