Skip to content

Commit

Permalink
Replace MODE with APPLICATION_MODE env variable (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaranov authored Aug 21, 2024
1 parent 5ed0c57 commit edf221b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
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.6.6

### Fix

- Replace MODE with APPLICATION_MODE variable.

## 1.6.5

### Fix
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.6.5
version: 1.6.6

# 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
6 changes: 3 additions & 3 deletions charts/blockscout-stack/templates/blockscout-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ spec:
protocol: TCP
env:
{{- if .Values.blockscout.separateApi.enabled }}
- name: MODE
- name: APPLICATION_MODE
value: "api"
{{- else }}
- name: MODE
- name: APPLICATION_MODE
value: "all"
{{- end }}
- name: PORT
Expand Down Expand Up @@ -271,7 +271,7 @@ spec:
containerPort: 4000
protocol: TCP
env:
- name: MODE
- name: APPLICATION_MODE
value: "indexer"
- name: PORT
value: "4000"
Expand Down

0 comments on commit edf221b

Please sign in to comment.