Fix the janus graph cached properties 59/44759/2
authorKajur, Harish (vk250x) <vk250x@att.com>
Wed, 25 Apr 2018 20:44:35 +0000 (16:44 -0400)
committerKajur, Harish (vk250x) <vk250x@att.com>
Wed, 25 Apr 2018 20:46:27 +0000 (16:46 -0400)
missing the global release name

Change-Id: Ieebed34bd115763dadd4452cf91ab1205f0f9c53
Issue-ID: AAI-1100
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
kubernetes/aai/charts/aai-resources/resources/config/janusgraph-cached.properties
kubernetes/aai/charts/aai-traversal/resources/config/janusgraph-cached.properties

index 7e94ae4..e3128b8 100644 (file)
@@ -24,10 +24,10 @@ query.fast-property=true
 query.smart-limit=false
 
 {{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
+{{- $global := . }}
 
-# the following parameters are not reloaded automatically and require a manual bounce
 storage.backend=cassandra
-storage.hostname={{- range $i, $e := until $seed_size }}aai-cassandra-{{ $i }},{{- end }}
+storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }}
 
 storage.cassandra.keyspace=aaigraph
 
index 7e94ae4..e3128b8 100644 (file)
@@ -24,10 +24,10 @@ query.fast-property=true
 query.smart-limit=false
 
 {{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
+{{- $global := . }}
 
-# the following parameters are not reloaded automatically and require a manual bounce
 storage.backend=cassandra
-storage.hostname={{- range $i, $e := until $seed_size }}aai-cassandra-{{ $i }},{{- end }}
+storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }}
 
 storage.cassandra.keyspace=aaigraph