The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
refactor(helm): move litellm-helm chart to helm/ and drop deploy folder (#32234)
Yassin Kortam3c5ae3d0cd96
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex 032bb56becc..ce9aaa9be8a 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -1610,14 +1610,14 @@ jobs:- run:name: Run helm lintcommand: |- helm lint ./deploy/charts/litellm-helm+ helm lint ./helm/litellm-helm# Run helm tests- run:name: Run helm testscommand: |IMAGE_TAG=${CIRCLE_SHA1:-ci}- helm install litellm ./deploy/charts/litellm-helm -f ./deploy/charts/litellm-helm/ci/test-values.yaml \+ helm install litellm ./helm/litellm-helm -f ./helm/litellm-helm/ci/test-values.yaml \--set image.repository=litellm-ci \--set image.tag=${IMAGE_TAG} \--set image.pullPolicy=Neverdiff --git a/.github/workflows/helm_unit_test.yml b/.github/workflows/helm_unit_test.ymlindex a280e5557bb..5b9d20d97f3 100644--- a/.github/workflows/helm_unit_test.yml+++ b/.github/workflows/helm_unit_test.yml@@ -39,5 +39,5 @@ jobs:- name: Run unit testsrun: |- helm unittest -f 'tests/*.yaml' deploy/charts/litellm-helm+ helm unittest -f 'tests/*.yaml' helm/litellm-helmhelm unittest -f 'tests/*.yaml' helm/litellmdiff --git a/.gitignore b/.gitignoreindex 62db5fe6182..e3ccf50508f 100644--- a/.gitignore+++ b/.gitignore@@ -52,9 +52,8 @@ ui/litellm-dashboard/node_modulesui/litellm-dashboard/next-env.d.tsui/litellm-dashboard/package.jsonui/litellm-dashboard/package-lock.json-deploy/charts/litellm/*.tgz-deploy/charts/litellm/charts/*-deploy/charts/*.tgz+helm/litellm-helm/*.tgz+helm/*.tgzlitellm/proxy/vertex_key.json**/.vim/**/node_modulesdiff --git a/Makefile b/Makefileindex f8d10de2917..f2753b09ff5 100644--- a/Makefile+++ b/Makefile@@ -265,7 +265,7 @@ test-integration: install-test-deps$(UV_RUN) pytest tests/ -k "not test_litellm"test-unit-helm: install-helm-unittest- helm unittest -f 'tests/*.yaml' deploy/charts/litellm-helm+ helm unittest -f 'tests/*.yaml' helm/litellm-helm# LLM Translation testing targetstest-llm-translation: install-test-depsdiff --git a/deploy/azure_resource_manager/azure_marketplace.zip b/deploy/azure_resource_manager/azure_marketplace.zipdeleted file mode 100644index 34751258637..00000000000Binary files a/deploy/azure_resource_manager/azure_marketplace.zip and /dev/null differdiff --git a/deploy/azure_resource_manager/azure_marketplace/createUiDefinition.json b/deploy/azure_resource_manager/azure_marketplace/createUiDefinition.jsondeleted file mode 100644index 4eba73bdba4..00000000000--- a/deploy/azure_resource_manager/azure_marketplace/createUiDefinition.json+++ /dev/null@@ -1,15 +0,0 @@-{- "$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#",- "handler": "Microsoft.Azure.CreateUIDef",- "version": "0.1.2-preview",- "parameters": {- "config": {- "isWizard": false,- "basics": { }- },- "basics": [ ],- "steps": [ ],- "outputs": { },- "resourceTypes": [ ]- }-}\ No newline at end of filediff --git a/deploy/azure_resource_manager/azure_marketplace/mainTemplate.json b/deploy/azure_resource_manager/azure_marketplace/mainTemplate.jsondeleted file mode 100644index 114e855bf54..00000000000--- a/deploy/azure_resource_manager/azure_marketplace/mainTemplate.json+++ /dev/null@@ -1,63 +0,0 @@-{- "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",- "contentVersion": "1.0.0.0",- "parameters": {- "imageName": {- "type": "string",- "defaultValue": "ghcr.io/berriai/litellm:main-latest"- },- "containerName": {- "type": "string",- "defaultValue": "litellm-container"- },- "dnsLabelName": {- "type": "string",- "defaultValue": "litellm"- },- "portNumber": {- "type": "int",- "defaultValue": 4000- }- },- "resources": [- {- "type": "Microsoft.ContainerInstance/containerGroups",- "apiVersion": "2021-03-01",- "name": "[parameters('containerName')]",- "location": "[resourceGroup().location]",- "properties": {- "containers": [- {- "name": "[parameters('containerName')]",- "properties": {- "image": "[parameters('imageName')]",- "resources": {- "requests": {- "cpu": 1,- "memoryInGB": 2- }- },- "ports": [- {- "port": "[parameters('portNumber')]"- }- ]- }- }- ],- "osType": "Linux",- "restartPolicy": "Always",- "ipAddress": {- "type": "Public",- "ports": [- {- "protocol": "tcp",- "port": "[parameters('portNumber')]"- }- ],- "dnsNameLabel": "[parameters('dnsLabelName')]"- }- }- }- ]- }\ No newline at end of filediff --git a/deploy/azure_resource_manager/main.bicep b/deploy/azure_resource_manager/main.bicepdeleted file mode 100644index b104cefe1e1..00000000000--- a/deploy/azure_resource_manager/main.bicep+++ /dev/null@@ -1,42 +0,0 @@-param imageName string = 'ghcr.io/berriai/litellm:main-latest'-param containerName string = 'litellm-container'-param dnsLabelName string = 'litellm'-param portNumber int = 4000--resource containerGroupName 'Microsoft.ContainerInstance/containerGroups@2021-03-01' = {- name: containerName- location: resourceGroup().location- properties: {- containers: [- {- name: containerName- properties: {- image: imageName- resources: {- requests: {- cpu: 1- memoryInGB: 2- }- }- ports: [- {- port: portNumber- }- ]- }- }- ]- osType: 'Linux'- restartPolicy: 'Always'- ipAddress: {- type: 'Public'- ports: [- {- protocol: 'tcp'- port: portNumber- }- ]- dnsNameLabel: dnsLabelName- }- }-}diff --git a/deploy/charts/litellm-helm/.helmignore b/helm/litellm-helm/.helmignoresimilarity index 100%rename from deploy/charts/litellm-helm/.helmignorerename to helm/litellm-helm/.helmignorediff --git a/deploy/charts/litellm-helm/Chart.lock b/helm/litellm-helm/Chart.locksimilarity index 100%rename from deploy/charts/litellm-helm/Chart.lockrename to helm/litellm-helm/Chart.lockdiff --git a/deploy/charts/litellm-helm/Chart.yaml b/helm/litellm-helm/Chart.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/Chart.yamlrename to helm/litellm-helm/Chart.yamldiff --git a/deploy/charts/litellm-helm/README.md b/helm/litellm-helm/README.mdsimilarity index 100%rename from deploy/charts/litellm-helm/README.mdrename to helm/litellm-helm/README.mddiff --git a/deploy/charts/litellm-helm/charts/postgresql-14.3.1.tgz b/helm/litellm-helm/charts/postgresql-14.3.1.tgzsimilarity index 100%rename from deploy/charts/litellm-helm/charts/postgresql-14.3.1.tgzrename to helm/litellm-helm/charts/postgresql-14.3.1.tgzdiff --git a/deploy/charts/litellm-helm/charts/redis-18.19.1.tgz b/helm/litellm-helm/charts/redis-18.19.1.tgzsimilarity index 100%rename from deploy/charts/litellm-helm/charts/redis-18.19.1.tgzrename to helm/litellm-helm/charts/redis-18.19.1.tgzdiff --git a/deploy/charts/litellm-helm/ci/test-values.yaml b/helm/litellm-helm/ci/test-values.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/ci/test-values.yamlrename to helm/litellm-helm/ci/test-values.yamldiff --git a/deploy/charts/litellm-helm/templates/NOTES.txt b/helm/litellm-helm/templates/NOTES.txtsimilarity index 100%rename from deploy/charts/litellm-helm/templates/NOTES.txtrename to helm/litellm-helm/templates/NOTES.txtdiff --git a/deploy/charts/litellm-helm/templates/_helpers.tpl b/helm/litellm-helm/templates/_helpers.tplsimilarity index 100%rename from deploy/charts/litellm-helm/templates/_helpers.tplrename to helm/litellm-helm/templates/_helpers.tpldiff --git a/deploy/charts/litellm-helm/templates/configmap-litellm.yaml b/helm/litellm-helm/templates/configmap-litellm.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/configmap-litellm.yamlrename to helm/litellm-helm/templates/configmap-litellm.yamldiff --git a/deploy/charts/litellm-helm/templates/deployment.yaml b/helm/litellm-helm/templates/deployment.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/deployment.yamlrename to helm/litellm-helm/templates/deployment.yamldiff --git a/deploy/charts/litellm-helm/templates/extra-resources.yaml b/helm/litellm-helm/templates/extra-resources.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/extra-resources.yamlrename to helm/litellm-helm/templates/extra-resources.yamldiff --git a/deploy/charts/litellm-helm/templates/hpa.yaml b/helm/litellm-helm/templates/hpa.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/hpa.yamlrename to helm/litellm-helm/templates/hpa.yamldiff --git a/deploy/charts/litellm-helm/templates/ingress.yaml b/helm/litellm-helm/templates/ingress.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/ingress.yamlrename to helm/litellm-helm/templates/ingress.yamldiff --git a/deploy/charts/litellm-helm/templates/keda.yaml b/helm/litellm-helm/templates/keda.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/keda.yamlrename to helm/litellm-helm/templates/keda.yamldiff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/helm/litellm-helm/templates/migrations-job.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/migrations-job.yamlrename to helm/litellm-helm/templates/migrations-job.yamldiff --git a/deploy/charts/litellm-helm/templates/poddisruptionbudget.yaml b/helm/litellm-helm/templates/poddisruptionbudget.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/poddisruptionbudget.yamlrename to helm/litellm-helm/templates/poddisruptionbudget.yamldiff --git a/deploy/charts/litellm-helm/templates/secret-dbcredentials.yaml b/helm/litellm-helm/templates/secret-dbcredentials.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/secret-dbcredentials.yamlrename to helm/litellm-helm/templates/secret-dbcredentials.yamldiff --git a/deploy/charts/litellm-helm/templates/secret-masterkey.yaml b/helm/litellm-helm/templates/secret-masterkey.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/secret-masterkey.yamlrename to helm/litellm-helm/templates/secret-masterkey.yamldiff --git a/deploy/charts/litellm-helm/templates/service.yaml b/helm/litellm-helm/templates/service.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/service.yamlrename to helm/litellm-helm/templates/service.yamldiff --git a/deploy/charts/litellm-helm/templates/serviceaccount.yaml b/helm/litellm-helm/templates/serviceaccount.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/serviceaccount.yamlrename to helm/litellm-helm/templates/serviceaccount.yamldiff --git a/deploy/charts/litellm-helm/templates/servicemonitor.yaml b/helm/litellm-helm/templates/servicemonitor.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/servicemonitor.yamlrename to helm/litellm-helm/templates/servicemonitor.yamldiff --git a/deploy/charts/litellm-helm/templates/tests/test-connection.yaml b/helm/litellm-helm/templates/tests/test-connection.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/tests/test-connection.yamlrename to helm/litellm-helm/templates/tests/test-connection.yamldiff --git a/deploy/charts/litellm-helm/templates/tests/test-env-vars.yaml b/helm/litellm-helm/templates/tests/test-env-vars.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/tests/test-env-vars.yamlrename to helm/litellm-helm/templates/tests/test-env-vars.yamldiff --git a/deploy/charts/litellm-helm/templates/tests/test-servicemonitor.yaml b/helm/litellm-helm/templates/tests/test-servicemonitor.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/templates/tests/test-servicemonitor.yamlrename to helm/litellm-helm/templates/tests/test-servicemonitor.yamldiff --git a/deploy/charts/litellm-helm/tests/deployment_command_args_labels_tests.yaml b/helm/litellm-helm/tests/deployment_command_args_labels_tests.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/tests/deployment_command_args_labels_tests.yamlrename to helm/litellm-helm/tests/deployment_command_args_labels_tests.yamldiff --git a/deploy/charts/litellm-helm/tests/deployment_tests.yaml b/helm/litellm-helm/tests/deployment_tests.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/tests/deployment_tests.yamlrename to helm/litellm-helm/tests/deployment_tests.yamldiff --git a/deploy/charts/litellm-helm/tests/hpa_tests.yaml b/helm/litellm-helm/tests/hpa_tests.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/tests/hpa_tests.yamlrename to helm/litellm-helm/tests/hpa_tests.yamldiff --git a/deploy/charts/litellm-helm/tests/ingress_tests.yaml b/helm/litellm-helm/tests/ingress_tests.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/tests/ingress_tests.yamlrename to helm/litellm-helm/tests/ingress_tests.yamldiff --git a/deploy/charts/litellm-helm/tests/masterkey-secret_tests.yaml b/helm/litellm-helm/tests/masterkey-secret_tests.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/tests/masterkey-secret_tests.yamlrename to helm/litellm-helm/tests/masterkey-secret_tests.yamldiff --git a/deploy/charts/litellm-helm/tests/migrations-job_tests.yaml b/helm/litellm-helm/tests/migrations-job_tests.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/tests/migrations-job_tests.yamlrename to helm/litellm-helm/tests/migrations-job_tests.yamldiff --git a/deploy/charts/litellm-helm/tests/pdb_tests.yaml b/helm/litellm-helm/tests/pdb_tests.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/tests/pdb_tests.yamlrename to helm/litellm-helm/tests/pdb_tests.yamldiff --git a/deploy/charts/litellm-helm/tests/service_tests.yaml b/helm/litellm-helm/tests/service_tests.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/tests/service_tests.yamlrename to helm/litellm-helm/tests/service_tests.yamldiff --git a/deploy/charts/litellm-helm/values.yaml b/helm/litellm-helm/values.yamlsimilarity index 100%rename from deploy/charts/litellm-helm/values.yamlrename to helm/litellm-helm/values.yaml