Merge "[CPS] Set postgres replica strategy"
authorJack Lucas <jflos@sonoris.net>
Wed, 6 Apr 2022 15:22:32 +0000 (15:22 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 6 Apr 2022 15:22:32 +0000 (15:22 +0000)
kubernetes/common/postgres/templates/_deployment.tpl

index 341b4c8..1051aaf 100644 (file)
@@ -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 }}