fix(helm): fix helm charts migrations using wrong image (#907)

* fix(helm): fix helm charts migrations using wrong image

* fixed migrations
This commit is contained in:
Waleed Latif
2025-08-07 23:11:17 -07:00
committed by GitHub
parent 9bd3491eac
commit 004cd3339d
+2 -1
View File
@@ -38,9 +38,10 @@ spec:
- name: migrations
image: {{ include "sim.image" (dict "context" . "image" .Values.migrations.image) }}
imagePullPolicy: {{ .Values.migrations.image.pullPolicy }}
command: ["/bin/bash", "-c"]
command: ["/bin/sh", "-c"]
args:
- |
cd /app/apps/sim
export DATABASE_URL="{{ include "sim.databaseUrl" . }}"
bun run db:migrate
{{- if .Values.postgresql.enabled }}