Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update Roles and fix Cassandra race cond.
[oom.git]
/
kubernetes
/
portal
/
charts
/
portal-cassandra
/
templates
/
deployment.yaml
diff --git
a/kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml
b/kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml
index
38c6028
..
2040794
100644
(file)
--- a/
kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml
+++ b/
kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml
@@
-75,15
+75,12
@@
spec:
name: localtime
readOnly: true
- name: cassandra-docker-entrypoint-initdb
name: localtime
readOnly: true
- name: cassandra-docker-entrypoint-initdb
- mountPath: /docker-entrypoint-initdb.d/zzz_portal.cql
- subPath: portal.cql
- - name: cassandra-docker-entrypoint-initdb
- mountPath: /docker-entrypoint-initdb.d/zzz_portalsdk.cql
- subPath: portalsdk.cql
+ mountPath: /docker-entrypoint-initdb.d/aaa_portal_single.cql
+ subPath: portal_single.cql
- 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 }}