(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:
|
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:
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user