Skip to content

Commit

Permalink
[blockscout-stack] Adding hook annotations for blockscout secret to b…
Browse files Browse the repository at this point in the history
…e created with migration job on new installation
  • Loading branch information
nzenchik committed Sep 10, 2024
1 parent 8c0d86b commit 7b55be1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 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.7

### Fix

- Adding hook annotations for blockscout secret to be created with migration job on new installation

## 1.6.6

### Fix
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.6.6
version: 1.6.7

# 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: "6.7.0"
appVersion: "6.8.0"
5 changes: 5 additions & 0 deletions charts/blockscout-stack/templates/blockscout-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ metadata:
name: {{ include "blockscout-stack.fullname" . }}-blockscout-env
labels:
{{- include "blockscout-stack.labels" . | nindent 4 }}
{{- if .Values.blockscout.separateApi.enabled }}
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook-weight: "-5"
{{- end }}
type: Opaque
data:
{{- range $key, $value := .Values.blockscout.envFromSecret }}
Expand Down

0 comments on commit 7b55be1

Please sign in to comment.