Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updating charts to use common resource template
[oom.git]
/
kubernetes
/
oof
/
charts
/
oof-has
/
charts
/
oof-has-cassandra
/
templates
/
deployment.yaml
diff --git
a/kubernetes/oof/charts/oof-has/charts/oof-has-cassandra/templates/deployment.yaml
b/kubernetes/oof/charts/oof-has/charts/oof-has-cassandra/templates/deployment.yaml
index
f16b09f
..
aed92e5
100644
(file)
--- a/
kubernetes/oof/charts/oof-has/charts/oof-has-cassandra/templates/deployment.yaml
+++ b/
kubernetes/oof/charts/oof-has/charts/oof-has-cassandra/templates/deployment.yaml
@@
-78,7
+78,7
@@
spec:
- name: {{ include "common.fullname" . }}-data
mountPath: /var/lib/cassandra/data
resources:
- name: {{ include "common.fullname" . }}-data
mountPath: /var/lib/cassandra/data
resources:
-{{
toYaml (pluck .Values.flavor .Values.resources| first)
| indent 12 }}
+{{
include "common.resources" .
| indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}