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 [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.
Attributes Companion: object Source: SecurityContext.scala Graph Reset zoom Hide graph Show graph
Supertypes trait Serializable
class Object
trait Matchable
class Any
Members list Concise view
Value members
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 privileged has a value, transforms to the result of function
if procMount has a value, transforms to the result of function
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 runAsNonRoot has a value, transforms to the result of function
if runAsUser has a value, transforms to the result of function
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 capabilities set to new value
Returns a new data with privileged set to new value
Returns a new data with procMount set to new value
Returns a new data with readOnlyRootFilesystem set to new value
Returns a new data with runAsGroup set to new value
Returns a new data with runAsNonRoot set to new value
Returns a new data with runAsUser set to new value
Returns a new data with seLinuxOptions set to new value
Returns a new data with seccompProfile set to new value
Returns a new data with windowsOptions set to new value