-
Notifications
You must be signed in to change notification settings - Fork 30
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
Run livenessprobe as nonroot #192
Run livenessprobe as nonroot #192
Conversation
Test Results (edit: after rebasing)
|
9893192
to
cbda619
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.
/lgtm
Environments to test:
Test cases:
|
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.
please change the copyright, other things looks good
can you also come up with release note with this changes
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.
/lgtm
please verify changes also
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arahamad, prankulmahajan, sameshai The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR aims to do the following,
runAsGroup
for all containers in nodeServer and controller. Currently, though the users are non-root, the group is still being used as root.livenessprobe
sidecar as non-root user/group.To achieve the 2nd point, had to change file permissions of CSI socket created by node server.
This PR changes the group of the csi socket from root to non-root(set 2121 in deployment configMap) and update permissions to 660. Setting "660" allows the root user and the non-root group to access the socket as expected.