-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow host+subpath as the source registry for registry-override (#…
…2135) Instead of looking for refInfo.Host in the override map loop through the keys and values in i.RegistryOverrides, check if the refInfo.Reference begins with an override key and, if it does, replace that override text with the override value and set it back to actualSrc. Do not use ImageTransformHostWithoutChecksum since we already have the parsed ref and all the info we need to do the replacement. default actualSrc to refInfo.Reference Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
- Loading branch information
1 parent
cf1d1e4
commit bfb68a6
Showing
2 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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