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

Value members

Concrete methods

if allowPrivilegeEscalation has a value, transforms to the result of function

if allowPrivilegeEscalation has a value, transforms to the result of function

Source:
SecurityContext.scala

if capabilities has a value, transforms to the result of function

if capabilities has a value, transforms to the result of function

Source:
SecurityContext.scala

if privileged has a value, transforms to the result of function

if privileged has a value, transforms to the result of function

Source:
SecurityContext.scala

if procMount has a value, transforms to the result of function

if procMount has a value, transforms to the result of function

Source:
SecurityContext.scala

if readOnlyRootFilesystem has a value, transforms to the result of function

if readOnlyRootFilesystem has a value, transforms to the result of function

Source:
SecurityContext.scala

if runAsGroup has a value, transforms to the result of function

if runAsGroup has a value, transforms to the result of function

Source:
SecurityContext.scala

if runAsNonRoot has a value, transforms to the result of function

if runAsNonRoot has a value, transforms to the result of function

Source:
SecurityContext.scala

if runAsUser has a value, transforms to the result of function

if runAsUser has a value, transforms to the result of function

Source:
SecurityContext.scala

if seLinuxOptions has a value, transforms to the result of function

if seLinuxOptions has a value, transforms to the result of function

Source:
SecurityContext.scala

if seccompProfile has a value, transforms to the result of function

if seccompProfile has a value, transforms to the result of function

Source:
SecurityContext.scala

if windowsOptions has a value, transforms to the result of function

if windowsOptions has a value, transforms to the result of function

Source:
SecurityContext.scala

Returns a new data with allowPrivilegeEscalation set to new value

Returns a new data with allowPrivilegeEscalation set to new value

Source:
SecurityContext.scala

Returns a new data with capabilities set to new value

Returns a new data with capabilities set to new value

Source:
SecurityContext.scala

Returns a new data with privileged set to new value

Returns a new data with privileged set to new value

Source:
SecurityContext.scala

Returns a new data with procMount set to new value

Returns a new data with procMount set to new value

Source:
SecurityContext.scala

Returns a new data with readOnlyRootFilesystem set to new value

Returns a new data with readOnlyRootFilesystem set to new value

Source:
SecurityContext.scala

Returns a new data with runAsGroup set to new value

Returns a new data with runAsGroup set to new value

Source:
SecurityContext.scala

Returns a new data with runAsNonRoot set to new value

Returns a new data with runAsNonRoot set to new value

Source:
SecurityContext.scala

Returns a new data with runAsUser set to new value

Returns a new data with runAsUser set to new value

Source:
SecurityContext.scala

Returns a new data with seLinuxOptions set to new value

Returns a new data with seLinuxOptions set to new value

Source:
SecurityContext.scala

Returns a new data with seccompProfile set to new value

Returns a new data with seccompProfile set to new value

Source:
SecurityContext.scala

Returns a new data with windowsOptions set to new value

Returns a new data with windowsOptions set to new value

Source:
SecurityContext.scala

Inherited methods

Inherited from:
Product