Open chapitos opened 2 months ago
/cc @geoand (kubernetes), @iocanel (kubernetes), @radcortez (config), @sberyozkin (security)
@chapitos as you seem to have analyzed what is required, would you like to open a Pull Request with your proposal?
Thanks
Description
Currently it is not possible to set the allowPrivilegeEscalation property of the security context in Kubernetes extension using application properties. Setting this property to false will disable the pod (container) to gain more privilege than the parent process. Many clusters use policy agents which will, per default, hinder the start of the pod with security context with this property not set explicitly to false.
Implementation ideas
Extend the relevant classes to support new property: