PodSecurityContext

io.k8s.api.core.v1.PodSecurityContext
See thePodSecurityContext companion object
final case class PodSecurityContext(fsGroupChangePolicy: Option[String], sysctls: Option[Seq[Sysctl]], fsGroup: Option[Long], supplementalGroups: Option[Seq[Long]], runAsGroup: Option[Long], seccompProfile: Option[SeccompProfile], windowsOptions: Option[WindowsSecurityContextOptions], seLinuxOptions: Option[SELinuxOptions], runAsUser: Option[Long], runAsNonRoot: Option[Boolean])

PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.

Attributes

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

Members list

Value members

Concrete methods

Appends new values to supplementalGroups

Appends new values to supplementalGroups

Attributes

Source
PodSecurityContext.scala

Appends new values to sysctls

Appends new values to sysctls

Attributes

Source
PodSecurityContext.scala

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

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

Attributes

Source
PodSecurityContext.scala

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

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

Attributes

Source
PodSecurityContext.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
PodSecurityContext.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
PodSecurityContext.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
PodSecurityContext.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
PodSecurityContext.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
PodSecurityContext.scala

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

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

Attributes

Source
PodSecurityContext.scala

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

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

Attributes

Source
PodSecurityContext.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
PodSecurityContext.scala

Returns a new data with fsGroup set to new value

Returns a new data with fsGroup set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with fsGroupChangePolicy set to new value

Returns a new data with fsGroupChangePolicy set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with runAsGroup set to new value

Returns a new data with runAsGroup set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with runAsNonRoot set to new value

Returns a new data with runAsNonRoot set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with runAsUser set to new value

Returns a new data with runAsUser set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with seLinuxOptions set to new value

Returns a new data with seLinuxOptions set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with seccompProfile set to new value

Returns a new data with seccompProfile set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with supplementalGroups set to new value

Returns a new data with supplementalGroups set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with sysctls set to new value

Returns a new data with sysctls set to new value

Attributes

Source
PodSecurityContext.scala

Returns a new data with windowsOptions set to new value

Returns a new data with windowsOptions set to new value

Attributes

Source
PodSecurityContext.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product