Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[CONSUL] Add limits to consul chart."
[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
456aa32
..
1048811
100644
(file)
--- a/
kubernetes/common/postgres/templates/_deployment.tpl
+++ b/
kubernetes/common/postgres/templates/_deployment.tpl
@@
-30,7
+30,6
@@
metadata:
heritage: {{ $dot.Release.Service }}
name: "{{ index $dot.Values "container" "name" $pgMode }}"
spec:
heritage: {{ $dot.Release.Service }}
name: "{{ index $dot.Values "container" "name" $pgMode }}"
spec:
- serviceName: {{ $dot.Values.service.name }}
replicas: 1
selector:
matchLabels:
replicas: 1
selector:
matchLabels:
@@
-147,8
+146,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 | indent 12 }}
+ resources: {{ include "common.resources" $dot | nindent 12 }}
{{- if $dot.Values.nodeSelector }}
nodeSelector:
{{ toYaml $dot.Values.nodeSelector | indent 10 }}
{{- if $dot.Values.nodeSelector }}
nodeSelector:
{{ toYaml $dot.Values.nodeSelector | indent 10 }}