Skip to content

Commit

Permalink
[blockscout-stack] Fixing stats configmap attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
nzenchik committed Feb 14, 2024
1 parent 8c9107a commit 26f5897
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 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.1

### Fixes

- Fixing stats volume attachment

## 1.4.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.4.0
version: 1.4.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
8 changes: 0 additions & 8 deletions charts/blockscout-stack/templates/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ spec:
envFrom:
- secretRef:
name: {{ include "blockscout-stack.fullname" . }}-frontend-env
{{- if .Values.stats.files.enabled }}
volumeMounts:
{{- range $key, $value := .Values.stats.files.list }}
- mountPath: {{ $.Values.stats.files.mountPath }}/{{ $key }}
name: stats-cm
subPath: {{ $key }}
{{- end }}
{{- end }}
{{- if .Values.frontend.readinessProbe.enabled }}
readinessProbe:
httpGet:
Expand Down
8 changes: 8 additions & 0 deletions charts/blockscout-stack/templates/stats-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ spec:
envFrom:
- secretRef:
name: {{ include "blockscout-stack.fullname" . }}-stats-env
{{- if .Values.stats.files.enabled }}
volumeMounts:
{{- range $key, $value := .Values.stats.files.list }}
- mountPath: {{ $.Values.stats.files.mountPath }}/{{ $key }}
name: stats-cm
subPath: {{ $key }}
{{- end }}
{{- end }}
{{- if .Values.stats.readinessProbe.enabled }}
readinessProbe:
httpGet:
Expand Down

0 comments on commit 26f5897

Please sign in to comment.