-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
salt,tests: Allow to resolve registry endpoint from containers
In some cases, we may want to get some "stuff" from the internal registry from inside a container (for example an operator that try to retrieve some information from the registry). Since we use a "fake" endpoint in containerd config file to reach the registries, this commit make this "fake" endpoint also available when resolving name with CoreDNS as we `rewrite` the "fake" endpoint name to resolve to a non-headless service that points to the registry. NOTE: We need to use a non-headless service as we want to forward the port so that we have the same behavior as the fake endpoint configured in containerd
- Loading branch information
1 parent
b5cf882
commit e51a7b9
Showing
5 changed files
with
47 additions
and
0 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
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
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