-
Notifications
You must be signed in to change notification settings - Fork 481
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
driver: set network.host entitlement by default for container drivers #2266
Conversation
This seems to be a potentially breaking change (from security perspective), and has to be documented? |
builder/builder.go
Outdated
|
||
if !hasNetworkHostEntitlement { | ||
// always set network.host entitlement as container network is | ||
// isolated for docker-container and kubernetes drivers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the comment could you explain the purpose of setting the entitlement by default?
It is not. The default networking for build step containers if builder was in container was already host (meaning host inside the container, not host of machine) and will remain like this in v0.13. This was without setting any |
ae3436e
to
48ab88d
Compare
2d6ae5c
to
4d88ca6
Compare
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
4d88ca6
to
e008b84
Compare
fixes #2255