forked from phoenix/litellm-mirror
fix db migration helm hook
This commit is contained in:
parent
503e4a4ad5
commit
07d7ac3ede
1 changed files with 6 additions and 1 deletions
|
@ -13,7 +13,12 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: prisma-migrations
|
- name: prisma-migrations
|
||||||
image: "ghcr.io/berriai/litellm:main-stable"
|
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:
|
env:
|
||||||
{{- if .Values.db.deployStandalone }}
|
{{- if .Values.db.deployStandalone }}
|
||||||
- name: DATABASE_URL
|
- name: DATABASE_URL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue