Skip to content

Replace the python-prod image name from older installs - #374

Merged
bruno-espino merged 1 commit into
mainfrom
remove-python-prod-references
Nov 19, 2026
Merged

bruno-espino merged 1 commit into
mainfrom
remove-python-prod-references

Conversation

@hramezani

Copy link
Copy Markdown
Contributor

Summary

Upgrades with --reuse-values from a chart before 0.15.0 now pull the per-service Python images instead of python-prod. Those charts set image.backendImage and image.workerImage to python-prod, and --reuse-values keeps that value. The platform is going to stop publishing python-prod, because no workload in the chart or in Pydantic's own deployments runs it any more. After that, such an upgrade would get ImagePullBackOff on every Python workload.

  • The logfire.pythonImage helper now also resolves backendImage and workerImage. The backend Deployment, the migration Job, the post-deploy migration Job, and the worker use it.
  • When the resolved name is python-prod, the helper replaces it with the image of the workload: logfire-backend-prod, logfire-worker-prod, logfire-auth-prod, logfire-task-runner-prod or logfire-remote-mcp-prod.
  • The trusted CA init container uses the same helper, so it pulls the same image as its main container.
  • Other values do not change. A custom backendImage, such as a mirrored name, still acts as the fallback for unset per-service keys, as before.
  • The tests no longer use python-prod as a fixture. A new case pins the replacement for all six workloads. The case fails if the replacement is removed.

This chart change must ship before, or with, the first chart whose appVersion comes from a platform release that does not publish python-prod. Older chart versions pin older platform tags, and those python-prod tags stay in the registries.

Upgrade notes

  • No action is needed for installs that use the chart's default image names.
  • An install that mirrors images into a private registry (image.repository) and still pulls python-prod must mirror the per-service images before it upgrades: logfire-backend-prod, logfire-worker-prod, logfire-auth-prod, logfire-task-runner-prod and logfire-remote-mcp-prod.

Breaking changes

None for the default registry. Installs that mirror only python-prod must mirror the per-service images, as described above.

https://claude.ai/code/session_01PRaoYPSYEPRLEntdp4tfqD

Charts before 0.15.0 set `image.backendImage` and `image.workerImage` to
`python-prod`, and `helm upgrade --reuse-values` carries that value
forward. The platform is about to stop publishing `python-prod`, so such
an upgrade would pull a tag that does not exist for every Python workload.

The `logfire.pythonImage` helper now resolves the backend, migration,
post-deploy migration and worker images too, and replaces `python-prod`
with the image of each workload. The trusted CA init container uses the
same helper, so it pulls the same image as its main container.

Claude-Session: https://claude.ai/code/session_01PRaoYPSYEPRLEntdp4tfqD
@hramezani hramezani closed this Nov 19, 2026
@hramezani hramezani reopened this Nov 19, 2026
@bruno-espino
bruno-espino merged commit 99e2af9 into main Nov 19, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants