Skip to content

Commit

Permalink
Add new envs (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw authored Aug 26, 2024
1 parent 26ac790 commit f2dbc8c
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 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.3.7
appVersion: v2.0.14
version: 3.3.8
appVersion: v2.0.15
kubeVersion: "^1.20.0-0"
description: The StakeWise backend application.
type: application
Expand Down
10 changes: 10 additions & 0 deletions charts/v3-backend/templates/common-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ data:
GRAPH_POSTGRES_DB: {{ .Values.settings.graph.postgresDB | quote }}
GRAPH_VAULTS_TABLE: {{ .Values.settings.graph.vaultsTable | quote }}
GRAPH_EXIT_REQUESTS_TABLE: {{ .Values.settings.graph.exitRequestsTable | quote }}

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 }}

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 }}
4 changes: 4 additions & 0 deletions charts/v3-backend/templates/common-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ data:

GRAPH_POSTGRES_USER: {{ .Values.settings.graph.postgresUser | b64enc | quote }}
GRAPH_POSTGRES_PASSWORD: {{ .Values.settings.graph.postgresPassword | b64enc | quote }}
FALLBACK_GRAPH_POSTGRES_USER: {{ .Values.settings.fallbackGraph.postgresUser | b64enc | quote }}
FALLBACK_GRAPH_POSTGRES_PASSWORD: {{ .Values.settings.fallbackGraph.postgresPassword | b64enc | quote }}
STAGE_GRAPH_POSTGRES_USER: {{ .Values.settings.stageGraph.postgresUser | b64enc | quote }}
STAGE_GRAPH_POSTGRES_PASSWORD: {{ .Values.settings.stageGraph.postgresPassword | b64enc | quote }}

RATED_API_BEARER_TOKEN: {{ .Values.settings.ratedApiBearerToken | b64enc | quote }}
BEACONCHA_API_TOKEN: {{ .Values.settings.beaconchaApiToken | b64enc | quote }}
14 changes: 14 additions & 0 deletions charts/v3-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,20 @@ settings:
postgresPassword: ""
vaultsTable: ""
exitRequestsTable: ""
fallbackGraph:
postgresHost: ""
postgresPort: ""
postgresDB: ""
postgresUser: ""
postgresPassword: ""
vaultsTable: ""
stageGraph:
postgresHost: ""
postgresPort: ""
postgresDB: ""
postgresUser: ""
postgresPassword: ""
vaultsTable: ""

postgres:
host: localhost
Expand Down

0 comments on commit f2dbc8c

Please sign in to comment.