litellm/helm/litellm-helm/tests
Bernedotcom2312 ebfec956d2
chore(helm): drop migrationJob values the chart never reads (#42141)
`migrationJob.retries` and `migrationJob.disableSchemaUpdate` are declared
in values.yaml but referenced by no template, no test and no README row.
Setting either changes nothing about the rendered Job.

`disableSchemaUpdate` is the misleading one: its comment promises "the job
will exit with code 0", but the Job hardcodes DISABLE_SCHEMA_UPDATE=false
and renders it after envVars/extraEnvVars precisely so nothing can turn the
migration off — that ordering is what #12809 fixed. An operator who reads
values.yaml, sets the flag and watches migrations run anyway has no way to
tell the knob is inert. `migrationJob.enabled: false` is the supported way
to skip the Job, and the componentized chart in helm/litellm already ships
a migrationJob block with neither key.

`retries` is simply dead: Jobs retry through `backoffLimit`, which the
chart does render.

Removing values keys is backward compatible — Helm ignores user values that
no template consumes, so existing releases setting either key keep working.

Adds a test pinning the override: with envVars.DISABLE_SCHEMA_UPDATE="true"
the Job's last env entry is still DISABLE_SCHEMA_UPDATE=false, so the
last-wins ordering cannot regress and the key cannot quietly come back as a
chart value. Verified by mutation: flipping the hardcoded value and moving
the entry above the envVars loop each fail the suite.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: ryan-crabbe-berri <ryan@berri.ai>
2026-10-02 10:13:52 -07:00
..
billing_metrics_tests.yaml feat(proxy): push-based OTLP billable-request metering for enterprise deployments (#31592) 2026-07-15 12:12:52 -07:00
bundled_db_images_tests.yaml fix(helm): pin bundled postgres and redis to the bitnamilegacy images (#34963) 2026-07-28 16:19:20 -07:00
collector_tests.yaml feat(proxy): offload spend tracking to a pod-local collector sidecar (#40545) 2026-09-10 17:14:13 -07:00
connection_pool_tests.yaml fix(helm): give the collector sidecar the pod PgBouncer env when database.connectionPool is enabled (#40660) 2026-09-11 02:07:04 +00:00
coordination_redis_tests.yaml feat(deploy): make coordination redis a first-class chart and terraform surface (#32662) 2026-07-10 16:16:09 -07:00
deployment_command_args_labels_tests.yaml refactor(helm): move litellm-helm chart to helm/ and drop deploy folder (#32234) 2026-07-07 15:18:33 +03:00
deployment_tests.yaml feat(helm): compose DATABASE_URL_READ_REPLICA from a reader host secret key (#37109) 2026-08-20 16:03:32 -07:00
hpa_tests.yaml feat(infra): scale gateway on per-pod RPS and TPS in Helm and Terraform (#40479) 2026-09-10 13:36:23 -07:00
ingress_tests.yaml refactor(helm): move litellm-helm chart to helm/ and drop deploy folder (#32234) 2026-07-07 15:18:33 +03:00
keda_tests.yaml feat(infra): scale gateway on per-pod RPS and TPS in Helm and Terraform (#40479) 2026-09-10 13:36:23 -07:00
masterkey-secret_tests.yaml fix(helm): reuse the generated master key Secret on helm upgrade (#39219) 2026-09-01 17:45:59 -07:00
metrics_server_tests.yaml feat(deploy): metrics sidecar and separate metrics port in Helm and Terraform (#40163) 2026-09-08 13:31:07 -07:00
migrations-job_tests.yaml chore(helm): drop migrationJob values the chart never reads (#42141) 2026-10-02 10:13:52 -07:00
pdb_tests.yaml refactor(helm): move litellm-helm chart to helm/ and drop deploy folder (#32234) 2026-07-07 15:18:33 +03:00
service_tests.yaml refactor(helm): move litellm-helm chart to helm/ and drop deploy folder (#32234) 2026-07-07 15:18:33 +03:00