fix: Double custom registry in pod image#870
Merged
Merged
Conversation
AndrejsPon00
approved these changes
Mar 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes image name rendering when a custom registry is configured by removing redundant registry prefixing that led to InvalidImageName (e.g., registry/registry/...) and by making the default global registry value empty so component defaults are preserved unless explicitly overridden.
Changes:
- Remove manual registry-prefixing of VictoriaMetrics component image repositories in VMCluster/VMAuth templates (letting upstream/operator logic handle registry composition).
- Change
global.registrydefault inkof-mothershipfromdocker.ioto empty and align docs accordingly. - Simplify registry selection logic in several deployments/templates to consistently use
global.registrywhen set.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| charts/kof-storage/templates/victoria/vmcluster.yaml | Stops manually prefixing VMCluster component image repositories with global registry to avoid double-registry. |
| charts/kof-storage/templates/victoria/vmauth.yaml | Stops manually prefixing VMAuth image repository with global registry to avoid double-registry. |
| charts/kof-regional/templates/regional-multi-cluster-service.yaml | Removes special-casing that treated docker.io as “empty” registry for multi-cluster rendered values. |
| charts/kof-mothership/values.yaml | Sets global.registry default to "" to avoid implicit registry override and double-registry behavior. |
| charts/kof-mothership/templates/victoria/vmcluster.yaml | Removes manual image repository rewriting for VMCluster components. |
| charts/kof-mothership/templates/promxy/promxy-deployment.yaml | Uses global.registry when set, otherwise falls back to chart image registry. |
| charts/kof-mothership/templates/kof-operator/operator-deployment.yaml | Uses global.registry when set, otherwise falls back to chart image registry. |
| charts/kof-mothership/templates/acl/deployment.yaml | Uses global.registry when set, otherwise falls back to chart image registry. |
| charts/kof-mothership/README.md | Updates documented default for global.registry to "" and adjusts description. |
| charts/kof-collectors/templates/opentelemetry/instrumentation.yaml | Uses global.registry when set, otherwise falls back to upstream default registry. |
| charts/kof-child/templates/child-multi-cluster-service.yaml | Removes special-casing that treated docker.io as “empty” registry for multi-cluster rendered values. |
You can also share your feedback on Copilot code review. Take the survey.
denis-ryzhkov
added a commit
that referenced
this pull request
Mar 18, 2026
denis-ryzhkov
added a commit
that referenced
this pull request
Mar 19, 2026
gmlexx
pushed a commit
that referenced
this pull request
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
InvalidImageNamewhen using custom registry.registrycomponent added to the pod image.global.registry: docker.iobecausedocker pull docker.io/docker.io/victoriametrics/vmstorage:v1.105.0-clusteractually works, unexpectedly.