Kustomize Replacement and prefix Issue: prefix container registry host to Image with missing registry and Registry Replacements for existing images #5828
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened?
I'm working on a Kustomize setup where I need to: Download all images from my local registry i.e 10.20.30.40
I didn't find any generic way to point out the image registry to my local registry. like in Helm way we set
global:
registry: "10.20.30.40" # Your global registry URL
Replace the registry for images that already have a registry (e.g., docker.io → 10.20.30.40). Prepend the registry for images without one (e.g., mysql:8.0.29 → 10.20.30.40/mysql:8.0.29).
I tried image prefix as well, thats prefixing to all images and not doing replacement. Not I am trying replacement and its replacing all images first position.
What did you expect to happen?
How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
Kustomize version
v5.4.3
Operating system
Linux
The text was updated successfully, but these errors were encountered: