Description
When using dynamic scaling in k8s, only the pod securityContext is inherited. The container securityContext is left empty. However, certain settings (in particular allowPrivilegeEscalation and capabilities) can only be configured as container securityContext, making the current setup impossible to run with pod security profile restricted.
Would it be possible to also inherit the container securityContext of the spawned pods or make it configurable?
Have you considered any alternatives or workarounds?
No response
Description
When using dynamic scaling in k8s, only the pod securityContext is inherited. The container securityContext is left empty. However, certain settings (in particular allowPrivilegeEscalation and capabilities) can only be configured as container securityContext, making the current setup impossible to run with pod security profile restricted.
Would it be possible to also inherit the container securityContext of the spawned pods or make it configurable?
Have you considered any alternatives or workarounds?
No response