diff --git a/deploy/charts/litellm-helm/tests/migrations-job_tests.yaml b/deploy/charts/litellm-helm/tests/migrations-job_tests.yaml index 686d20efa5..3a7bfa5eb0 100644 --- a/deploy/charts/litellm-helm/tests/migrations-job_tests.yaml +++ b/deploy/charts/litellm-helm/tests/migrations-job_tests.yaml @@ -110,4 +110,18 @@ tests: path: spec.template.spec.containers[0].env content: name: CUSTOM_VAR - value: "custom_value" \ No newline at end of file + value: "custom_value" + + - it: should not include DATABASE_URL when deployStandalone is false + template: migrations-job.yaml + set: + migrationJob: + enabled: true + db: + deployStandalone: false + useExisting: false + asserts: + - notContains: + path: spec.template.spec.containers[0].env + content: + name: DATABASE_URL \ No newline at end of file