fix db migration helm hook

This commit is contained in:
Ishaan Jaff 2024-11-12 12:13:42 -08:00
parent 503e4a4ad5
commit 07d7ac3ede

View file

@ -13,7 +13,12 @@ spec:
containers:
- name: prisma-migrations
image: "ghcr.io/berriai/litellm:main-stable"
command: ["python", "/litellm/proxy/prisma_migration.py"]
command: ["/bin/sh", "-c"]
args:
- |
pwd
ls -la
python ../../../litellm/proxy/prisma_migration.py
env:
{{- if .Values.db.deployStandalone }}
- name: DATABASE_URL