Skip to content

fix: correct ReplicatedImageRegistry usage per EC3 docs - #49

Merged
aa-replicated merged 1 commit into
mainfrom
demo/tier4
Apr 18, 2026
Merged

fix: correct ReplicatedImageRegistry usage per EC3 docs#49
aa-replicated merged 1 commit into
mainfrom
demo/tier4

Conversation

@aa-replicated

Copy link
Copy Markdown
Owner

Summary

Rewrote image registry handling based on verbatim EC3 template functions docs:

  • ReplicatedImageRegistry takes only the registry host (ghcr.io, index.docker.io) — not a full image reference
  • ReplicatedImageRepository is not a documented function — removed all usage
  • Use HelmValue(".replicated.image.registry") for SDK subchart so it reads the chart's own default (proxy.replicated.com), which is returned unchanged for online and redirected to local registry for airgap
  • Split image.repository in values.yaml so it no longer includes the registry host
  • Deployment template updated to use registry/repository split consistently

Install path verification

Path Image constructed
Direct Helm, no proxy ghcr.io/aa-replicated/gameshelf:tag
Direct Helm, custom proxy proxy.replicated.com/proxy/gameshelf/ghcr.io/aa-replicated/gameshelf:tag
EC online proxy.replicated.com/proxy/gameshelf/ghcr.io/aa-replicated/gameshelf:tag
EC airgap <local-registry>/aa-replicated/gameshelf:tag
SDK online proxy.replicated.com/library/replicated-sdk-image:tag
SDK airgap <local-registry>/library/replicated-sdk-image:tag

Test plan

  • Online EC install: all pods pull correctly
  • Airgap EC install: all pods pull from local registry
  • Direct Helm install still works

🤖 Generated with Claude Code

- Pass only registry host to ReplicatedImageRegistry (not full image ref)
- Remove all ReplicatedImageRepository usage (not a documented function)
- Use HelmValue for SDK subchart registry to read chart default
- Split image.registry from image.repository in values.yaml
- Update deployment template to use registry/repository split consistently

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aa-replicated
aa-replicated merged commit f5e4cf1 into main Apr 18, 2026
1 check 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.

1 participant