mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-29 01:42:19 +00:00
templates/tests/test-env-vars.yaml is a helm.sh/hook: test pod that
asserts DD_ENV == dev_helm, DD_SERVICE == litellm and
USE_DDTRACE == true, reading them from .Values.envVars. Those values
are only set in ci/test-values.yaml, which the chart's own CircleCI
job uses. values.yaml defaults envVars to {}, so on every real
install that doesn't set the Datadog env vars, `helm test <release>`
fails with "Environment variable DD_ENV mismatch. Expected: dev_helm,
Got: ", and since helm stops at the first failed test, it also masks
the useful test-connection test.
Render the pod only when all three values are actually set. CI
behavior is unchanged since ci/test-values.yaml sets them.
|
||
|---|---|---|
| .. | ||
| litellm | ||
| litellm-helm | ||