SecurityContext

final case class SecurityContext(capabilities: Option[Capabilities], readOnlyRootFilesystem: Option[Boolean], allowPrivilegeEscalation: Option[Boolean], procMount: Option[String], runAsGroup: Option[Int], seccompProfile: Option[SeccompProfile], windowsOptions: Option[WindowsSecurityContextOptions], seLinuxOptions: Option[SELinuxOptions], runAsUser: Option[Int], privileged: Option[Boolean], runAsNonRoot: Option[Boolean])

SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

Source:
SecurityContext.scala
trait Product
trait Equals
class Object
trait Matchable
class Any