Skip to content

Add listen_address to registry part of gdk config

Dzmitry Meshcharakou requested to merge update-gdk-registry-config into main

What does this Merge Request do and why?

I was facing the following issue with the container registry setup during onboarding:

In case when listen_address is not set for the registry then gdk fallbacks to the default listen_address of the project and, in case when a loopback interface was created earlier, what is suggested to avoid clashes with localhost and 127.0.0.1, then docker will try to spin up a container using added private IP which in turn might cause the next error:
"Error starting userland proxy: listen tcp4 172.16.123.1:5000: bind: cannot assign requested address."

This MR adds listen_address with value 0.0.0.0 to gdk.yml configuration file.

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Dzmitry Meshcharakou

Merge request reports