-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Configure jib.allowInsecureRegistries as required #2674
Conversation
Even with |
I've been thinking this over and I don't think we should unless we change |
I think it's OK to not set BTW, registry-1.docker.io is a secure registry, so I guess |
I only meant registry-1.docker.io as an hypothetical example — like a corporate firewall that prevented HTTPS connections to *.docker.io but inadvertently allowed HTTP connections. If we included |
That's a fair point. So, I guess this PR is good and final as it stands now? |
I think it's good to go. |
LGTM, but looks like some of the unit tests need to be updated? |
Oh jeepers, I can't believe I inverted the test condition 😊 |
Exposes
docker.isInsecure
→docker.IsInsecure
and adds some tests (wasn't actually testing the value frominsecureRegistries
).Fixes #2664