-
Notifications
You must be signed in to change notification settings - Fork 190
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
Feat: 771 remove unnecessary security concerns #926
Feat: 771 remove unnecessary security concerns #926
Conversation
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.
Look good to me :)
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.
We need to double check if we can remove the debug path.
@BGrasnick would you mind if I took a stab at addressing the comments and submit another PR? |
Hey @sthaha! Sorry for the delay! I was away for a while but now I am back and ready to jump back in :) |
Thank you @BGrasnick , the PR is quite useful :) |
Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com>
Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com>
…n host PID namespace Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com>
Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com>
86af3c4
to
3587979
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.
@marceloamaral This PR looks good to me. Since you raised a concern which seems to be addressed, I will let you review and merge if it looks fine to you.
…-io#926) * feat: reduce privileges granted through SCC for OpenShift Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com> * feat: set mounted volumes as read only as much as possible Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com> * feat: set pod hostPID to true to avoid collisions/unwanted behavior in host PID namespace Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com> * feat: remove unnecessary mount of /sys/kernel/debug Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com> --------- Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com>
…-io#926) * feat: reduce privileges granted through SCC for OpenShift Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com> * feat: set mounted volumes as read only as much as possible Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com> * feat: set pod hostPID to true to avoid collisions/unwanted behavior in host PID namespace Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com> * feat: remove unnecessary mount of /sys/kernel/debug Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com> --------- Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com>
fixes #771
Same improvements were already merged in the kepler-operator: sustainable-computing-io/kepler-operator#185
And the removal of the /sys/kernel/debug was discussed here: sustainable-computing-io/kepler-model-server#158 (comment)