Skip to content

Commit

Permalink
Fixing stats url env condition in frontend deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nzenchik committed Feb 26, 2024
1 parent b42ea5e commit 1e75cce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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.4.2

### Fixes

- Fixing stats url condition in frontend deployment

## 1.4.1

### Fixes
Expand Down
4 changes: 2 additions & 2 deletions charts/blockscout-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ 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.4.1
version: 1.4.2

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "5.3.0"
appVersion: "6.1.0"
2 changes: 1 addition & 1 deletion charts/blockscout-stack/templates/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- name: NEXT_PUBLIC_APP_HOST
value: {{ .Values.frontend.ingress.hostname | quote }}
{{- end }}
{{- if .Values.stats.ingress.enabled }}
{{- if and .Values.stats.ingress.enabled .Values.stats.enabled }}
- name: NEXT_PUBLIC_STATS_API_HOST
value: "https://{{ .Values.stats.ingress.hostname }}"
{{- end }}
Expand Down

0 comments on commit 1e75cce

Please sign in to comment.