summaryrefslogtreecommitdiffstats
path: root/charts/aai-graphadmin/resources/config/janusgraph-cached.properties
diff options
context:
space:
mode:
Diffstat (limited to 'charts/aai-graphadmin/resources/config/janusgraph-cached.properties')
-rw-r--r--charts/aai-graphadmin/resources/config/janusgraph-cached.properties7
1 files changed, 2 insertions, 5 deletions
diff --git a/charts/aai-graphadmin/resources/config/janusgraph-cached.properties b/charts/aai-graphadmin/resources/config/janusgraph-cached.properties
index 6a28dee..82e7ea9 100644
--- a/charts/aai-graphadmin/resources/config/janusgraph-cached.properties
+++ b/charts/aai-graphadmin/resources/config/janusgraph-cached.properties
@@ -22,17 +22,14 @@ query.smart-limit=false
{{ if .Values.global.config.cluster.cassandra.dynamic }}
-{{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
-{{- $global := . }}
-
storage.backend=cassandra
-storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-{{$global.Values.global.cassandra.serviceName}}-{{ $i }}.{{$global.Values.global.cassandra.serviceName}},{{- end }}
+storage.hostname={{.Values.global.cassandra.serviceName}}
storage.cassandra.keyspace=aaigraph
storage.cassandra.read-consistency-level=LOCAL_QUORUM
storage.cassandra.write-consistency-level=LOCAL_QUORUM
-storage.cassandra.replication-factor=3
+storage.cassandra.replication-factor={{.Values.global.cassandra.replicas}}
storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy
{{ else }}