diff options
author | Jack Lucas <jflos@sonoris.net> | 2022-04-06 15:22:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-04-06 15:22:32 +0000 |
commit | 494c45928ffea39d892549eb1ce28e58bd9f3746 (patch) | |
tree | aeade46496aac21f985a361e61a71cdfe6828e33 /kubernetes | |
parent | 80703891e5b49fada0a5f7774a917e4f4bf39876 (diff) | |
parent | 6b41d876e5e0358542bd07b207973494b0f68b7f (diff) |
Merge "[CPS] Set postgres replica strategy"
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/common/postgres/templates/_deployment.tpl | 2 |
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 }} |