Skip to content

Commit

Permalink
Fix empty env (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw authored Aug 27, 2024
1 parent f2dbc8c commit 87308ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/v3-backend/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: v3-backend
version: 3.3.8
version: 3.3.9
appVersion: v2.0.15
kubeVersion: "^1.20.0-0"
description: The StakeWise backend application.
Expand Down
6 changes: 5 additions & 1 deletion charts/v3-backend/templates/common-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,16 @@ data:
GRAPH_VAULTS_TABLE: {{ .Values.settings.graph.vaultsTable | quote }}
GRAPH_EXIT_REQUESTS_TABLE: {{ .Values.settings.graph.exitRequestsTable | quote }}

{{- if .Values.settings.fallbackGraph.postgresHost }}
FALLBACK_GRAPH_POSTGRES_HOST: {{ .Values.settings.fallbackGraph.postgresHost | quote }}
FALLBACK_GRAPH_POSTGRES_PORT: {{ .Values.settings.fallbackGraph.postgresPort | quote }}
FALLBACK_GRAPH_POSTGRES_DB: {{ .Values.settings.fallbackGraph.postgresDB | quote }}
FALLBACK_GRAPH_VAULTS_TABLE: {{ .Values.settings.fallbackGraph.vaultsTable | quote }}
{{- end }}

{{- if .Values.settings.stageGraph.postgresHost }}
STAGE_GRAPH_POSTGRES_HOST: {{ .Values.settings.stageGraph.postgresHost | quote }}
STAGE_GRAPH_POSTGRES_PORT: {{ .Values.settings.stageGraph.postgresPort | quote }}
STAGE_GRAPH_POSTGRES_DB: {{ .Values.settings.stageGraph.postgresDB | quote }}
STAGE_GRAPH_VAULTS_TABLE: {{ .Values.settings.stageGraph.vaultsTable | quote }}
STAGE_GRAPH_VAULTS_TABLE: {{ .Values.settings.stageGraph.vaultsTable | quote }}
{{- end }}

0 comments on commit 87308ea

Please sign in to comment.