summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-09-13 15:42:17 +0100
committerMichael Arrastia <MArrasti@amdocs.com>2018-09-13 15:42:17 +0100
commit925a7f5a2aea6f46cfa153469c115a614a5622ec (patch)
tree5bac3f62427575f57e716924701a4e827a46d966 /kubernetes
parenta859647740e19b62c44244e256c48a8847900259 (diff)
[Champ] Fix startup issue
Correct cassandra configuration to allow microservice to start. Change-Id: I6f3b8bd80fbc73ddffc009e5f41263135d2f0a59 Issue-ID: AAI-1587 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/aai/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml3
1 files changed, 1 insertions, 2 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 9d7ddd1af1..325982b0ac 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
@@ -46,8 +46,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.port" value="9160"/>
+ <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 }}"/>
</util:map>
<!-- Janus Implementation -->