final case class PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Int] = None, supplementalGroups: Option[Seq[Int]] = None, runAsGroup: Option[Int] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Int] = None, runAsNonRoot: Option[Boolean] = None) extends Product with Serializable
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.
- Source
- PodSecurityContext.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PodSecurityContext
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Int] = None, supplementalGroups: Option[Seq[Int]] = None, runAsGroup: Option[Int] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Int] = None, runAsNonRoot: Option[Boolean] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addSupplementalGroups(newValues: Int*): PodSecurityContext
- def addSysctls(newValues: Sysctl*): PodSecurityContext
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val fsGroup: Option[Int]
- val fsGroupChangePolicy: Option[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val runAsGroup: Option[Int]
- val runAsNonRoot: Option[Boolean]
- val runAsUser: Option[Int]
- val seLinuxOptions: Option[SELinuxOptions]
- val seccompProfile: Option[SeccompProfile]
- val supplementalGroups: Option[Seq[Int]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val sysctls: Option[Seq[Sysctl]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val windowsOptions: Option[WindowsSecurityContextOptions]
- def withFsGroup(value: Int): PodSecurityContext
- def withFsGroupChangePolicy(value: String): PodSecurityContext
- def withRunAsGroup(value: Int): PodSecurityContext
- def withRunAsNonRoot(value: Boolean): PodSecurityContext
- def withRunAsUser(value: Int): PodSecurityContext
- def withSeLinuxOptions(value: SELinuxOptions): PodSecurityContext
- def withSeccompProfile(value: SeccompProfile): PodSecurityContext
- def withSupplementalGroups(value: Seq[Int]): PodSecurityContext
- def withSysctls(value: Seq[Sysctl]): PodSecurityContext
- def withWindowsOptions(value: WindowsSecurityContextOptions): PodSecurityContext