[CPS] Set postgres replica strategy
[oom.git] / 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 }}