(postgresql) Support update strategy snippet
- Add support for the update strategy helm-toolkit snippet Change-Id: I7abedec017cb043a38f4e176028d76fdc505de12
This commit is contained in:
parent
eefcf33f61
commit
3844f4af77
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user