Skip to content

Commit

Permalink
Set account flag env to indexer too (#49)
Browse files Browse the repository at this point in the history
* Adding missing vars to indexer pods
---------

Co-authored-by: Nick Zenchik <[email protected]>
  • Loading branch information
alik-agaev and nzenchik authored Dec 25, 2024
1 parent 23ec0d4 commit 4c2abce
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
6 changes: 6 additions & 0 deletions charts/blockscout-stack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ChangeLog

## 1.9.1

### Fix

- Adding missing variables to indexer pod when running separate from API.

## 1.9.0

### Feature
Expand Down
2 changes: 1 addition & 1 deletion charts/blockscout-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.9.0
version: 1.9.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
22 changes: 22 additions & 0 deletions charts/blockscout-stack/templates/blockscout-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,26 @@ spec:
value: "4000"
- name: CHAIN_ID
value: {{ .Values.config.network.id | quote }}
{{- if .Values.config.account.enabled }}
- name: ACCOUNT_ENABLED
value: "true"
{{- end }}
{{- if .Values.config.testnet }}
- name: SHOW_TESTNET_LABEL
value: "true"
{{- end }}
{{- if .Values.config.nameService.enabled }}
- name: MICROSERVICE_BENS_ENABLED
value: 'true'
- name: MICROSERVICE_BENS_URL
value: {{ .Values.config.nameService.url }}
{{- end }}
{{- if .Values.userOpsIndexer.enabled }}
- name: MICROSERVICE_ACCOUNT_ABSTRACTION_ENABLED
value: 'true'
- name: MICROSERVICE_ACCOUNT_ABSTRACTION_URL
value: "https://{{ .Values.userOpsIndexer.ingress.hostname }}"
{{- end }}
- name: DISABLE_WEBAPP
value: "true"
- name: API_V1_READ_METHODS_DISABLED
Expand All @@ -346,6 +366,8 @@ spec:
{{- if and .Values.config.network.currency.symbol (not .Values.config.network.currency.dualToken) }}
- name: COIN
value: {{ .Values.config.network.currency.symbol | quote }}
- name: COIN_NAME
value: {{ .Values.config.network.currency.symbol | quote }}
{{- end }}
{{- range $key, $value := .Values.blockscout.env }}
- name: {{ $key }}
Expand Down

0 comments on commit 4c2abce

Please sign in to comment.