Skip to content

Commit

Permalink
Add new envs (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw authored Sep 19, 2024
1 parent 713bddb commit 6169aea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/v3-backend/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: v3-backend
version: 3.4.1
appVersion: v2.0.26
version: 3.4.2
appVersion: v2.0.27
kubeVersion: "^1.20.0-0"
description: The StakeWise backend application.
type: application
Expand Down
2 changes: 2 additions & 0 deletions charts/v3-backend/templates/common-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ data:
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 }}
FALLBACK_GRAPH_EXIT_REQUESTS_TABLE: {{ .Values.settings.fallbackGraph.exitRequestsTable | 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_EXIT_REQUESTS_TABLE: {{ .Values.settings.stageGraph.exitRequestsTable | quote }}
{{- end }}
4 changes: 3 additions & 1 deletion charts/v3-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,15 @@ settings:
postgresUser: ""
postgresPassword: ""
vaultsTable: ""
exitRequestsTable: ""
stageGraph:
postgresHost: ""
postgresPort: ""
postgresDB: ""
postgresUser: ""
postgresPassword: ""
vaultsTable: ""
exitRequestsTable: ""

postgres:
host: localhost
Expand All @@ -97,7 +99,7 @@ settings:
image:
registry: "europe-west4-docker.pkg.dev"
repository: "stakewiselabs/private/v3-backend"
tag: "v2.0.26"
tag: "v2.0.27"
pullPolicy: IfNotPresent
pullSecrets: []

Expand Down

0 comments on commit 6169aea

Please sign in to comment.