Skip to content

Commit 004cd33

Browse files
authored
fix(helm): fix helm charts migrations using wrong image (#907)
* fix(helm): fix helm charts migrations using wrong image * fixed migrations
1 parent 9bd3491 commit 004cd33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

helm/sim/templates/deployment-app.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ spec:
3838
- name: migrations
3939
image: {{ include "sim.image" (dict "context" . "image" .Values.migrations.image) }}
4040
imagePullPolicy: {{ .Values.migrations.image.pullPolicy }}
41-
command: ["/bin/bash", "-c"]
41+
command: ["/bin/sh", "-c"]
4242
args:
4343
- |
44+
cd /app/apps/sim
4445
export DATABASE_URL="{{ include "sim.databaseUrl" . }}"
4546
bun run db:migrate
4647
{{- if .Values.postgresql.enabled }}

0 commit comments

Comments
 (0)