Skip to content

Add conditional internal registry port (5000) to frontend service#869

Open
michaellzc wants to merge 2 commits into
mainfrom
claude/slack-session-CBOnA
Open

Add conditional internal registry port (5000) to frontend service#869
michaellzc wants to merge 2 commits into
mainfrom
claude/slack-session-CBOnA

Conversation

@michaellzc
Copy link
Copy Markdown
Member

@michaellzc michaellzc commented May 22, 2026

https://github.com/sourcegraph/sourcegraph/pull/12621

Summary

  • Adds frontend.internalRegistry.enabled configuration option to conditionally expose port 5000 on the frontend service
  • Exposes port as a named port "registry" on both the Service and Deployment
  • Supports the internal OCI image registry backed by blobstore for batch changes

Context

This change enables exposing the internal image registry (go-containerregistry) running on port 5000 from the frontend service. This is needed to support batch changes that can build OCI images and publish them to an internal registry.

Slack thread: https://sourcegraph.slack.com/archives/C0A7PV1600P/p1779463759092779?thread_ts=1779268068.208029&cid=C0A7PV1600P

Usage

To enable the internal registry port:

frontend:
  internalRegistry:
    enabled: true

Test plan

  • Verify helm template renders correctly with internalRegistry.enabled: false (default)
  • Verify helm template renders the registry port with internalRegistry.enabled: true
  • Verify helm-docs generates correct documentation

https://claude.ai/code/session_016dk2KH5aCME6dzGTuyQzoG


Generated by Claude Code

claude added 2 commits May 22, 2026 15:30
Adds configuration option `frontend.internalRegistry.enabled` to
conditionally expose port 5000 as a named port "registry" on the
frontend service and deployment. This supports the internal OCI
image registry backed by blobstore for batch changes.

https://claude.ai/code/session_016dk2KH5aCME6dzGTuyQzoG
Follows naming convention of other HTTP ports in the chart.

https://claude.ai/code/session_016dk2KH5aCME6dzGTuyQzoG
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