summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/postgres/templates
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2022-04-06 15:22:32 +0000
committerGerrit Code Review <gerrit@onap.org>2022-04-06 15:22:32 +0000
commit494c45928ffea39d892549eb1ce28e58bd9f3746 (patch)
treeaeade46496aac21f985a361e61a71cdfe6828e33 /kubernetes/common/postgres/templates
parent80703891e5b49fada0a5f7774a917e4f4bf39876 (diff)
parent6b41d876e5e0358542bd07b207973494b0f68b7f (diff)
Merge "[CPS] Set postgres replica strategy"
Diffstat (limited to 'kubernetes/common/postgres/templates')
-rw-r--r--kubernetes/common/postgres/templates/_deployment.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/postgres/templates/_deployment.tpl b/kubernetes/common/postgres/templates/_deployment.tpl
index 341b4c86c7..1051aaff0b 100644
--- a/kubernetes/common/postgres/templates/_deployment.tpl
+++ b/kubernetes/common/postgres/templates/_deployment.tpl
@@ -33,6 +33,8 @@ metadata:
name: "{{ index $dot.Values "container" "name" $pgMode }}"
spec:
replicas: 1
+ strategy:
+ type: Recreate
selector:
matchLabels:
app: {{ include "common.name" $dot }}-{{ $pgMode }}