Parameter 'DBAAS_NODE_COUNT' defines how many DBAAS nodes belongs to one
DBAAS group. For the time being node count in HA deployment is 3 and in
standalone deployment 1.
Issue-Id: RIC-113
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ib99d74dba4d485dbe72bc937083edf3b684fe229
{{- if $.Values.dbaas.enableHighAvailability }}
DBAAS_SERVICE_SENTINEL_PORT: {{ include "common.serviceport.dbaas.sentinel" . | quote }}
DBAAS_MASTER_NAME: {{ $.Values.dbaas.redis.masterGroupName }}
+ DBAAS_NODE_COUNT: {{ $.Values.dbaas.haReplicas | quote }}
+{{- else }}
+ DBAAS_NODE_COUNT: {{ $.Values.dbaas.saReplicas | quote }}
{{- end }}
DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" $ }}.{{ $platformNameSpace }}
DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.redis" $ | quote }}