From 41481c56c6d583ea6df95159db413fc9e9640d6a Mon Sep 17 00:00:00 2001 From: "Kajur, Harish (vk250x)" Date: Wed, 25 Apr 2018 16:44:35 -0400 Subject: Fix the janus graph cached properties missing the global release name Change-Id: Ieebed34bd115763dadd4452cf91ab1205f0f9c53 Issue-ID: AAI-1100 Signed-off-by: Kajur, Harish (vk250x) --- charts/aai-resources/resources/config/janusgraph-cached.properties | 4 ++-- charts/aai-traversal/resources/config/janusgraph-cached.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/aai-resources/resources/config/janusgraph-cached.properties b/charts/aai-resources/resources/config/janusgraph-cached.properties index 7e94ae4..e3128b8 100644 --- a/charts/aai-resources/resources/config/janusgraph-cached.properties +++ b/charts/aai-resources/resources/config/janusgraph-cached.properties @@ -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 diff --git a/charts/aai-traversal/resources/config/janusgraph-cached.properties b/charts/aai-traversal/resources/config/janusgraph-cached.properties index 7e94ae4..e3128b8 100644 --- a/charts/aai-traversal/resources/config/janusgraph-cached.properties +++ b/charts/aai-traversal/resources/config/janusgraph-cached.properties @@ -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 -- cgit 1.2.3-korg