You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
We have a private repo where we store all the images. When flux is trying to read images from this private repo, what is happening is that it is resolving the dns to a public ip and is trying to connect there despite specifying hostAliases in the yaml and I have crossverified that under /etc/hosts there is an entry for the docker repo. Could someone please help me out as to understand what is happening here .
The text was updated successfully, but these errors were encountered:
This is most likely connected to golang/go#22846: Go's native hostname resolution checks DNS before /etc/hosts (in the absence of /etc/nsswitch.conf). We use alpine as the base image, and there is no /etc/nsswitch.conf shipped with alpine.
Remedy: we can include a minimal /etc/nsswitch.conf in the image, as suggested in the issue mentioned.
We have a private repo where we store all the images. When flux is trying to read images from this private repo, what is happening is that it is resolving the dns to a public ip and is trying to connect there despite specifying hostAliases in the yaml and I have crossverified that under /etc/hosts there is an entry for the docker repo. Could someone please help me out as to understand what is happening here .
The text was updated successfully, but these errors were encountered: