Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Fix resources indent
[oom.git]
/
kubernetes
/
common
/
postgres
/
templates
/
_deployment.tpl
diff --git
a/kubernetes/common/postgres/templates/_deployment.tpl
b/kubernetes/common/postgres/templates/_deployment.tpl
index
341b4c8
..
e0a0ffd
100644
(file)
--- 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
name: "{{ index $dot.Values "container" "name" $pgMode }}"
spec:
replicas: 1
+ strategy:
+ type: Recreate
selector:
matchLabels:
app: {{ include "common.name" $dot }}-{{ $pgMode }}
selector:
matchLabels:
app: {{ include "common.name" $dot }}-{{ $pgMode }}
@@
-156,7
+158,7
@@
spec:
- mountPath: /backup
name: {{ include "common.fullname" $dot }}-backup
readOnly: true
- mountPath: /backup
name: {{ include "common.fullname" $dot }}-backup
readOnly: true
- resources: {{ include "common.resources" $dot | nindent 1
2
}}
+ resources: {{ include "common.resources" $dot | nindent 1
0
}}
{{- if $dot.Values.nodeSelector }}
nodeSelector:
{{ toYaml $dot.Values.nodeSelector | indent 10 }}
{{- if $dot.Values.nodeSelector }}
nodeSelector:
{{ toYaml $dot.Values.nodeSelector | indent 10 }}