From 7e0d55fd74d1d471ca61e14ac1bc76faa42b5f54 Mon Sep 17 00:00:00 2001 From: antares-sw <23400824+antares-sw@users.noreply.github.com> Date: Fri, 5 Jul 2024 13:21:03 +0300 Subject: [PATCH] Add new envs to backend (#551) --- charts/v3-backend/Chart.yaml | 2 +- charts/v3-backend/templates/common-configmap.yaml | 3 +++ charts/v3-backend/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/v3-backend/Chart.yaml b/charts/v3-backend/Chart.yaml index 1134f7ca..eef923ec 100644 --- a/charts/v3-backend/Chart.yaml +++ b/charts/v3-backend/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: v3-backend -version: 3.3.3 +version: 3.3.4 appVersion: v1.6.5 kubeVersion: "^1.20.0-0" description: The StakeWise backend application. diff --git a/charts/v3-backend/templates/common-configmap.yaml b/charts/v3-backend/templates/common-configmap.yaml index 97fcfbf7..0c9240b4 100644 --- a/charts/v3-backend/templates/common-configmap.yaml +++ b/charts/v3-backend/templates/common-configmap.yaml @@ -27,6 +27,9 @@ data: CONSENSUS_ENDPOINTS: {{ .Values.settings.consensusEndpoints | quote }} EXCHANGE_RATE_EXECUTION_ENDPOINTS: {{ .Values.settings.exchangeRateExecutionEndpoints | quote }} EXCHANGE_RATE_CONSENSUS_ENDPOINTS: {{ .Values.settings.exchangeRateConsensusEndpoints | quote }} + CONSENSUS_TIMEOUT: {{ .Values.settings.consensusTimeout | quote }} + CONSENSUS_RETRY_TIMEOUT: {{ .Values.settings.consensusRetryTimeout | quote }} + SEND_TELEGRAM_NOTIFICATIONS: {{ .Values.settings.sendTelegramNotifaction | quote }} diff --git a/charts/v3-backend/values.yaml b/charts/v3-backend/values.yaml index c2327a04..3b305907 100644 --- a/charts/v3-backend/values.yaml +++ b/charts/v3-backend/values.yaml @@ -53,6 +53,8 @@ settings: consensusEndpoints: "" exchangeRateExecutionEndpoints: "" exchangeRateConsensusEndpoints: "" + consensusTimeout: "30" + consensusRetryTimeout: "60" memcachedUrl: "" brokerUrl: ""