-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable subdomain matching in registries.conf
This commit allows the prefix field in registries.conf to be in the format: `prefix = "*.example.com" for wildcard subdomain matching. refMatchesPrefix has been renamed to refMatchingPrefix. refMatchingPrefix now returns the length of the prefix if there's a match and the prefix doesn't contain `*.`. If prefix contains `*.` and there's a match, then refMatchingPrefix returns the length of the refString without the image. This change removes the need for any additional string comparison in `rewriteReference`. Co-authored-by: Valentin Rothberg <[email protected]> Signed-off-by: Lokesh Mandvekar <[email protected]>
- Loading branch information
Showing
9 changed files
with
345 additions
and
63 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
Oops, something went wrong.