Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

salt,tests: Allow to resolve registry endpoint from containers #3690

Merged
merged 2 commits into from
Feb 4, 2022

Commits on Feb 4, 2022

  1. Configuration menu
    Copy the full SHA
    b5cf882 View commit details
    Browse the repository at this point in the history
  2. 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
    TeddyAndrieux committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    e51a7b9 View commit details
    Browse the repository at this point in the history