fix redis endpoint and chalice health endpoints (#1138)
* chore(helm): Adding redis string from global config Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com> * fix(chalice): health check url for alerts and assist Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com> --------- Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
193030657a
commit
a71a708647
2 changed files with 3 additions and 4 deletions
|
|
@ -14,9 +14,9 @@ def app_connection_string(name, port, path):
|
|||
|
||||
|
||||
HEALTH_ENDPOINTS = {
|
||||
"alerts": app_connection_string("alerts-openreplay", 8888, "metrics"),
|
||||
"alerts": app_connection_string("alerts-openreplay", 8888, "health"),
|
||||
"assets": app_connection_string("assets-openreplay", 8888, "metrics"),
|
||||
"assist": app_connection_string("assist-openreplay", 8888, "metrics"),
|
||||
"assist": app_connection_string("assist-openreplay", 8888, "health"),
|
||||
"chalice": app_connection_string("chalice-openreplay", 8888, "metrics"),
|
||||
"db": app_connection_string("db-openreplay", 8888, "metrics"),
|
||||
"ender": app_connection_string("ender-openreplay", 8888, "metrics"),
|
||||
|
|
|
|||
|
|
@ -43,10 +43,9 @@ spec:
|
|||
{{- .Values.healthCheck | toYaml | nindent 10}}
|
||||
{{- end}}
|
||||
env:
|
||||
{{- include "openreplay.env.redis_string" .Values.global.redis | nindent 12 }}
|
||||
- name: KAFKA_SERVERS
|
||||
value: "{{ .Values.global.kafka.kafkaHost }}"
|
||||
- name: REDIS_STRING
|
||||
value: "{{ .Values.global.redis.redisHost }}"
|
||||
- name: ch_username
|
||||
value: "{{ .Values.global.clickhouse.username }}"
|
||||
- name: ch_password
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue