litellm - 💡(How to fix) Fix [Bug]: Helm chart default image tag main-<appVersion> does not exist on ghcr for stable releases → ImagePullBackOff

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

templates/deployment.yaml and templates/migrations-job.yaml both default the tag to main-<AppVersion>:

image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "main-%s" .Chart.AppVersion) }}"

For chart 1.86.2 (AppVersion: 1.86.2) this renders ghcr.io/berriai/litellm-database:main-1.86.2, which returns 404. The registry has the plain 1.86.2 tag (and main-stable), but not main-1.86.2.

Fix Action

Workaround

image:
  tag: "1.86.2"   # immutable; same digest as main-stable

Code Example

image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "main-%s" .Chart.AppVersion) }}"

---

image:
  tag: "1.86.2"   # immutable; same digest as main-stable

---

helm template litellm oci://ghcr.io/berriai/litellm-helm --version 1.86.2 | grep litellm-database

---
RAW_BUFFERClick to expand / collapse

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

What happened?

Installing oci://ghcr.io/berriai/litellm-helm with no image.tag override fails with ImagePullBackOff. The chart's default renders an image tag that is not published to ghcr.io/berriai/litellm-database.

Root cause

templates/deployment.yaml and templates/migrations-job.yaml both default the tag to main-<AppVersion>:

image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "main-%s" .Chart.AppVersion) }}"

For chart 1.86.2 (AppVersion: 1.86.2) this renders ghcr.io/berriai/litellm-database:main-1.86.2, which returns 404. The registry has the plain 1.86.2 tag (and main-stable), but not main-1.86.2.

This is systemic across recent stable releases

Anonymous manifest checks on ghcr.io/berriai/litellm-database:

Chart versionmain-<ver> (default)<ver> (plain)
1.84.0 / 1.84.1 / 1.84.3404200
1.85.0 / 1.85.1 / 1.85.2404200
1.86.1 / 1.86.2404200

The published 1.86.2 tag and main-stable resolve to the same digest (sha256:7b4494a6b2e366bf17ece8e3a84a5a92d5ce6c9309115cc6d65d71766fc59242), confirming the image exists — only the main-<version> tag the chart constructs is missing.

Impact

A default install of any recent stable chart version cannot pull the app/migrations image; pods sit in ImagePullBackOff until the user manually overrides image.tag. Affects both the main Deployment and the DB migrations Job.

Workaround

image:
  tag: "1.86.2"   # immutable; same digest as main-stable

Suggested fix

Either publish a main-<AppVersion> tag as part of the stable release pipeline, or change the chart's default to .Chart.AppVersion (the plain <version> tag is consistently published).

Steps to Reproduce

helm template litellm oci://ghcr.io/berriai/litellm-helm --version 1.86.2 | grep litellm-database
  1. see that the image tag is ghcr.io/berriai/litellm-database:main-1.86.2
  2. docker pull of ghcr.io/berriai/litellm-database:main-1.86.2 is failing with 404 not found

Relevant log output

What part of LiteLLM is this about?

Other

What LiteLLM version are you on ?

1.86.2

Twitter / LinkedIn details

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix [Bug]: Helm chart default image tag main-<appVersion> does not exist on ghcr for stable releases → ImagePullBackOff