summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomek Osinski <tomasz.osinski2@orange.com>2018-06-27 17:50:44 +0200
committerTomek Osinski <tomasz.osinski2@orange.com>2018-06-27 17:50:44 +0200
commit75a807b6ac515bd2c34098c4aabadb0f8c3486b6 (patch)
tree53a1439945cf59b4dc62c64a3d58319314828eaa
parentc0937f9b63acb4d86ec445f73e6ffe3dfb96d7a3 (diff)
Fix aai-champ service
Make aai-champ run on non-rancher k8s Change-Id: I96346202a6b204036665819f8b6a17017a3cf20a Issue-ID: OOM-1269 Signed-off-by: osinstom <tomasz.osinski2@orange.com>
-rw-r--r--kubernetes/aai/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml b/kubernetes/aai/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml
index b3d7bc22b8..b2c41ecd7e 100644
--- a/kubernetes/aai/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml
+++ b/kubernetes/aai/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml
@@ -30,7 +30,7 @@ xsi:schemaLocation="
{{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
{{- $global := . }}
- <entry key="storage.hostname" value="{{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }}"/>
+ <entry key="storage.hostname" value="{{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-{{$global.Values.global.cassandra.serviceName}}-{{ $i }}.{{$global.Values.global.cassandra.serviceName}},{{- end }}"/>
<entry key="storage.port" value="9160"/>
</util:map>