Add SecurityContext to containers <JIRA:OSPRH-34267> - #451
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mumesan The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Build failed (check pipeline). Post ✔️ openstack-baremetal-operator-content-provider SUCCESS in 2h 53m 24s |
|
recheck |
|
Build failed (check pipeline). Post ✔️ openstack-baremetal-operator-content-provider SUCCESS in 2h 27m 53s |
|
recheck |
|
Build failed (check pipeline). Post ✔️ openstack-baremetal-operator-content-provider SUCCESS in 2h 33m 44s |
|
recheck |
|
Build failed (check pipeline). Post ✔️ openstack-baremetal-operator-content-provider SUCCESS in 2h 33m 14s |
|
recheck |
|
Build failed (check pipeline). Post ✔️ openstack-baremetal-operator-content-provider SUCCESS in 2h 32m 29s |
Description:
Applies a hardened SecurityContext to the OpenstackProvisionServer containers. This SecurityContext makes sure that it runs as non root, does not allow privilege escalation, read only root file system, drops all capabilities and runtime Seccomp profile. Also created emptyDir scratch volumes for the paths that still need to be writable.
Jira: OSPRH-34267