SecurityContext

io.k8s.api.core.v1.SecurityContext
See theSecurityContext companion object
final case class SecurityContext(capabilities: Option[Capabilities], readOnlyRootFilesystem: Option[Boolean], allowPrivilegeEscalation: Option[Boolean], procMount: Option[String], runAsGroup: Option[Long], seccompProfile: Option[SeccompProfile], windowsOptions: Option[WindowsSecurityContextOptions], seLinuxOptions: Option[SELinuxOptions], runAsUser: Option[Long], 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.

Attributes

Companion
object
Source
SecurityContext.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
SecurityContext.scala

Returns a new data with allowPrivilegeEscalation set to new value

Returns a new data with allowPrivilegeEscalation set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with capabilities set to new value

Returns a new data with capabilities set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with privileged set to new value

Returns a new data with privileged set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with procMount set to new value

Returns a new data with procMount set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with readOnlyRootFilesystem set to new value

Returns a new data with readOnlyRootFilesystem set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with runAsGroup set to new value

Returns a new data with runAsGroup set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with runAsNonRoot set to new value

Returns a new data with runAsNonRoot set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with runAsUser set to new value

Returns a new data with runAsUser set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with seLinuxOptions set to new value

Returns a new data with seLinuxOptions set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with seccompProfile set to new value

Returns a new data with seccompProfile set to new value

Attributes

Source
SecurityContext.scala

Returns a new data with windowsOptions set to new value

Returns a new data with windowsOptions set to new value

Attributes

Source
SecurityContext.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product