Skip to content

Commit

Permalink
interlay-firesquid - add db migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 committed Nov 29, 2022
1 parent 2789aea commit 6ac53ad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/interlay-firesquid/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: 0.1.7
version: 0.1.8

# 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
12 changes: 12 additions & 0 deletions charts/interlay-firesquid/templates/deployment-processor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ spec:
serviceAccountName: {{ include "interlay-firesquid.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: dbmigrations
args:
- yarn db:migrate
command:
- sh
- -c
envFrom:
- secretRef:
name: {{ .Values.processor.secretName }}
image: "{{ .Values.processor.image }}"
imagePullPolicy: {{ .Values.processor.imagePullPolicy }}
containers:
- name: processor
securityContext:
Expand Down

0 comments on commit 6ac53ad

Please sign in to comment.