-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[installer] manually set allowPrivilegeEscalation
to false
#14918
Conversation
started the job as gitpod-build-tar-disallow-escalation-explicitely.2 because the annotations in the pull request description changed |
/hold just for some more tests 👀 |
@Pothulapati While I agree that this in theory should not affect anything we should definitely test thoroughly. 💯 |
7d055c9
to
e932bd4
Compare
Update: Manual tests are all good i.e workspaces, prebuilds, etc. Waiting on |
cb4cb2d
to
c84c9b3
Compare
This PR manually sets the `allowPrivilegeEscalation` container config to false where we don't need extra capabilities. This is needed as not setting this explicitely could mean that it could still be `true` based on other settings. This also helps us future proof on any behaviour changes around this. Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
c84c9b3
to
fc7b871
Compare
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.
Description
This PR manually sets the
allowPrivilegeEscalation
container config to false wherewe don't need extra capabilities. Though this does not effect anything yet,
This is needed as not setting this explicitely could mean that it could still be
true
based on some other settings.
This also helps us future proof on any behaviour changes around this.
This skips the following components as they need privilege access:
agent-smith
component containerws-daemon
Component containershiftfs
containerSigned-off-by: Tarun Pothulapati tarun@gitpod.io
Related Issue(s)
Part of https://github.com/gitpod-io/security/issues/70
How to test
Tested that workspaces start correctly through a preview environment
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh