106 Commits

Author SHA1 Message Date
Fabian Reinold
c173a4a275 Helm Chart: add ingress-only labels (#17348)
* feat(helm): add ingress-only labels

* feat(helm): add ingress configuration tests

* chore(helm): bump chart version
2025-12-02 22:30:54 -08:00
Saar wintrov
777ef628d2 Enhancement(helm): ServiceMonitor template rendering (#17038)
* Metadata: fix 401 when audio/transcriptions

* check if str, CR fixes

* Added new helmchart functionality

* .

* .

* adding new tests
2025-11-24 20:53:02 -08:00
tushar8408
5f94b372f8 Migration job labels (#16831)
* Add dynamic pod labels and annotations to migrations job

* Bump chart version to 0.4.8
2025-11-19 09:53:21 -08:00
YutaSaito
645f84c02e fix: add imagePullSecrets to migrations-job (#15681) 2025-10-18 13:56:31 -07:00
Krish Dholakia
cf3c18a420 Merge pull request #13855 from edify42/allow-no-db-url
feat(helm): Allow no DATABASE_URL to be set on migration job to keep the behaviour same as deployment
2025-09-06 22:02:01 -07:00
Abhinav
b6c26c3365 helm(chart): add optional PodDisruptionBudget for litellm proxy (#14062) (#14093) 2025-09-01 12:21:44 -07:00
Const-antine
f8d1e03450 rework tests 2025-08-28 13:39:09 -04:00
Const-antine
1350336515 fix tests 2025-08-28 13:30:11 -04:00
Const-antine
d3b526041f better formatting 2025-08-28 13:18:36 -04:00
Const-antine
730e9c90a2 fix formatting 2025-08-28 13:18:33 -04:00
Const-antine
5d973ea06e update readme 2025-08-28 13:18:26 -04:00
Const-antine
409429ddd6 add new tests 2025-08-28 13:18:23 -04:00
Const-antine
ff4040bbe1 add functionality to mount existing configmap if needed 2025-08-28 13:18:05 -04:00
Jugal D. Bhatt
d63f5f99e9 Enhance database configuration: add support for optional endpointKey in values.yaml and update deployment/migrations job templates to conditionally source DATABASE_HOST from the secret if endpointKey is set. (#13763) 2025-08-21 14:58:50 -07:00
Ishaan Jaff
f498cf4901 Fix - Ensure Helm chart auto generated master keys follow sk-xxxx format (#13871)
* docs - master key

* fix - auto generate sk-xxx prefixed key

* test master key fix

* fix master key gen
2025-08-21 14:34:21 -07:00
Ed Kim
c88a13c58b add unit test which confirms the removal of DATABASE_URL
Signed-off-by: Ed Kim <edward.kim@lendi.com.au>
2025-08-21 21:08:18 +10:00
edward kim
418b70b38e fixes
Signed-off-by: edward kim <edward.kim@lendi.com.au>
2025-08-21 17:44:54 +10:00
edward kim
2bd3daa742 fixes the mounting of this only when deployStandalone is true
Signed-off-by: edward kim <edward.kim@lendi.com.au>
2025-08-21 17:39:31 +10:00
Mattias Andersson
89f71af4cd Add possibility to configure resources for migrations-job in Helm chart 2025-08-14 17:08:26 +02:00
unique-jakub
f58807ff6e Add labels to migrations job template (#13343)
* set labels on the migration job

* update comment to retrigger the pipeline
2025-08-07 09:41:24 -07:00
Jugal D. Bhatt
7cf3b4682a [Separate Health App] Update Helm Deployment.yaml (#13162)
* add helm deployment fix

* clean deployment
2025-08-01 16:50:23 -07:00
unique-jakub
3edb71e617 allow helm hooks for migrations job (#13174) 2025-07-31 21:51:07 -07:00
Marvin Huetter
d23a6e3ea4 fix: best practices suggest this to set to true (#12809)
The order of the specification is important here, k8s will take the last value as truth. Push down to be sure schema update is done by migration job
2025-07-29 15:40:12 -07:00
Anton
f05ec34e11 feat: Add envVars and extraEnvVars support to Helm migrations job (#12591)
- Add support for envVars (simple key-value pairs) in migrations job
- Add support for extraEnvVars (complex environment variable configurations)
- Include comprehensive test coverage for both envVars and extraEnvVars
- Ensure backward compatibility with existing configurations
- Tests verify proper rendering of environment variables in container spec
2025-07-14 22:24:13 -07:00
Victor Krylov
1d58fc5429 Add deployment annotations (#11849)
* Add deployment annotations

* Correct the indent and simplify if 0 annotations
2025-06-19 20:11:31 -07:00
Steven Aldinger
b8bdf98a4b feat(helm): [BerriAI/litellm#11648] support extraContainers in migrations-job.yaml (#11649) 2025-06-11 23:16:06 -07:00
Gunjan Solanki
f1cc2d544e feat(helm): Add loadBalancerClass support for LoadBalancer services (#11064)
* feat(helm): Add loadBalancerClass support for LoadBalancer services

Adds the ability to specify a loadBalancerClass when using LoadBalancer service type.
This enables integration with custom load balancer implementations like Tailscale.

* fixup! feat(helm): Add loadBalancerClass support for LoadBalancer services
2025-05-22 22:45:14 -07:00
Ishaan Jaff
f3291bde4d fix for serviceAccountName on migration job (#10258) 2025-04-23 20:56:31 -07:00
Manuel Cañete
c4ea1ab61b feat: add extraEnvVars to the helm deployment (#9292) 2025-04-11 10:32:16 -07:00
Marcus Hynfield
cc7d59a11e Add service annotations to litellm-helm chart (#9840) 2025-04-08 21:42:09 -07:00
Krish Dholakia
1604f87663 install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637)
* build(README.md): initial commit adding a separate folder for additional proxy files. Meant to reduce size of core package

* build(litellm-proxy-extras/): new pip package for storing migration files

allows litellm proxy to use migration files, without adding them to core repo

* build(litellm-proxy-extras/): cleanup pyproject.toml

* build: move prisma migration files inside new proxy extras package

* build(run_migration.py): update script to write to correct folder

* build(proxy_cli.py): load in migration files from litellm-proxy-extras

Closes https://github.com/BerriAI/litellm/issues/9558

* build: add MIT license to litellm-proxy-extras

* test: update test

* fix: fix schema

* bump: version 0.1.0 → 0.1.1

* build(publish-proxy-extras.sh): add script for publishing new proxy-extras version

* build(liccheck.ini): add litellm-proxy-extras to authorized packages

* fix(litellm-proxy-extras/utils.py): move prisma migrate logic inside extra proxy pkg

easier since migrations folder already there

* build(pre-commit-config.yaml): add litellm_proxy_extras to ci tests

* docs(config_settings.md): document new env var

* build(pyproject.toml): bump relevant files when litellm-proxy-extras version changed

* build(pre-commit-config.yaml): run poetry check on litellm-proxy-extras as well
2025-03-29 15:27:09 -07:00
Krrish Dholakia
95e5dfae5a build(ci_cd/): add migration script 2025-03-29 08:48:48 -07:00
Dbzman
7c85054bad fix: wrong indentation for ttlSecondsAfterFinished (#9611) 2025-03-28 13:20:12 -07:00
Krish Dholakia
cdcc8ea9b7 Connect UI to "LiteLLM_DailyUserSpend" spend table - enables usage tab to work at 1m+ spend logs (#9603)
* feat(spend_management_endpoints.py): expose new endpoint for querying user's usage at 1m+ spend logs

Allows user to view their spend at 1m+ spend logs

* build(schema.prisma): add api_requests to dailyuserspend table

* build(migration.sql): add migration file for new column to daily user spend table

* build(prisma_client.py): add logic for copying over migration folder, if deploy/migrations present in expected location

enables easier testing of prisma migration flow

* build(ui/): initial commit successfully using the dailyuserspend table on the UI

* refactor(internal_user_endpoints.py): refactor `/user/daily/activity` to give breakdowns by provider/model/key

* feat: feature parity (cost page) with existing 'usage' page

* build(ui/): add activity tab to new_usage.tsx

gets to feature parity on 'All Up' page of 'usage.tsx'

* fix(proxy/utils.py): count number of api requests in daily user spend table

allows us to see activity by model on new usage tab

* style(new_usage.tsx): fix y-axis to be in ascending order of date

* fix: fix linting errors

* fix: fix ruff check errors
2025-03-27 23:29:15 -07:00
Krrish Dholakia
72c0ad419f build(migration.sql): add migration file for new dailyusertable
documents prisma db changes
2025-03-26 17:11:25 -07:00
Krish Dholakia
132d3f7baa feat(prisma-migrations): add baseline db migration file (#9565)
adds initial baseline db migration file

enables future schema changes to be documented via .sql files
2025-03-26 16:22:56 -07:00
Manuel Cañete
44373baeee feat: make masterkey secret configurable 2025-03-16 12:39:13 +01:00
Manuel Cañete
fb4ebf0fd4 ci: add helm unittest 2025-03-08 01:29:25 +01:00
Manuel Cañete
7b65809139 feat: enhance migrations job with additional configurable properties (#8636) 2025-02-26 16:08:17 -08:00
Ashwin Madavan
40a3af7d61 chore: set ttlSecondsAfterFinished on the migration job in the litellm-helm chart (#8593)
* chore: add ttlSecondsAfterFinished to values.yaml

* chore: set ttlSecondsAfterFinished on the job

* chore: bump version in Chart.yaml
2025-02-26 14:21:37 -08:00
Ishaan Jaff
4081aeb15e (helm) - allow specifying envVars on values.yaml + add helm lint test (#7789)
* litellm use envVars values.yaml

* fix values.yaml

* add helm lint to ci/cd pipeline

* working values.yaml

* add helm tests to ci/cd

* fix helm chart testing

* update helm tests

* fix helm test

* fix use test values in ci

* fix busy box testing on helm

* fix test-values.yaml

* update helm tests

* fix test connection
2025-01-15 21:11:17 -08:00
Zackeus Bengtsson
801f450e8c feat(helm): add securityContext and pull policy values to migration job (#7652)
* fix(helm): corrected indentation in migration-job.yaml

* feat(helm): add securityContext and pull policy values to migration job
2025-01-15 12:51:08 -08:00
Ishaan Jaff
7259452285 (helm) - bug fix - allow using migrationJob.enabled variable within job (#7639)
* wrap migration job in conditional

* use enabled flag in values.yaml

* run migration job

* argo cd fixes

* fix values in image repo
2025-01-08 18:47:33 -08:00
Low Jian Sheng
9cfd7c790a Prevent istio injection for db migrations cron job (#7513)
* allow option to prevent istio injection

* make annotations more generic

* make annotations empty

* revert comment deletions
2025-01-04 22:45:19 -08:00
Steven Crake
e74b35fe70 fix: migration job for existing db (#6792) 2024-12-04 08:40:09 -08:00
Ishaan Jaff
f2e6025c65 fix prisma migration 2024-11-13 17:04:58 -08:00
Ishaan Jaff
0e2c16e948 fix migration job 2024-11-13 17:02:06 -08:00
Ishaan Jaff
b56b5dce7f fix migrations-job.yaml 2024-11-13 16:59:34 -08:00
Ishaan Jaff
b5183ce31b fix migration job 2024-11-13 16:56:09 -08:00
Ishaan Jaff
da5da64d27 fix yaml on migrations job 2024-11-13 16:48:22 -08:00