Packages

final case class PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Long] = None, supplementalGroups: Option[Seq[Long]] = None, runAsGroup: Option[Long] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Long] = None, appArmorProfile: Option[AppArmorProfile] = 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PodSecurityContext
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Long] = None, supplementalGroups: Option[Seq[Long]] = None, runAsGroup: Option[Long] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Long] = None, appArmorProfile: Option[AppArmorProfile] = None, runAsNonRoot: Option[Boolean] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addSupplementalGroups(newValues: Long*): PodSecurityContext

    Appends new values to supplementalGroups

  5. def addSysctls(newValues: Sysctl*): PodSecurityContext

    Appends new values to sysctls

  6. val appArmorProfile: Option[AppArmorProfile]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val fsGroup: Option[Long]
  11. val fsGroupChangePolicy: Option[String]
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mapAppArmorProfile(f: (AppArmorProfile) ⇒ AppArmorProfile): PodSecurityContext

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

  15. def mapFsGroup(f: (Long) ⇒ Long): PodSecurityContext

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

  16. def mapFsGroupChangePolicy(f: (String) ⇒ String): PodSecurityContext

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

  17. def mapRunAsGroup(f: (Long) ⇒ Long): PodSecurityContext

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

  18. def mapRunAsNonRoot(f: (Boolean) ⇒ Boolean): PodSecurityContext

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

  19. def mapRunAsUser(f: (Long) ⇒ Long): PodSecurityContext

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

  20. def mapSeLinuxOptions(f: (SELinuxOptions) ⇒ SELinuxOptions): PodSecurityContext

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

  21. def mapSeccompProfile(f: (SeccompProfile) ⇒ SeccompProfile): PodSecurityContext

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

  22. def mapSupplementalGroups(f: (Seq[Long]) ⇒ Seq[Long]): PodSecurityContext

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

  23. def mapSysctls(f: (Seq[Sysctl]) ⇒ Seq[Sysctl]): PodSecurityContext

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

  24. def mapWindowsOptions(f: (WindowsSecurityContextOptions) ⇒ WindowsSecurityContextOptions): PodSecurityContext

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

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. val runAsGroup: Option[Long]
  29. val runAsNonRoot: Option[Boolean]
  30. val runAsUser: Option[Long]
  31. val seLinuxOptions: Option[SELinuxOptions]
  32. val seccompProfile: Option[SeccompProfile]
  33. val supplementalGroups: Option[Seq[Long]]
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. val sysctls: Option[Seq[Sysctl]]
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. val windowsOptions: Option[WindowsSecurityContextOptions]
  40. def withAppArmorProfile(value: AppArmorProfile): PodSecurityContext

    Returns a new data with appArmorProfile set to new value

  41. def withFsGroup(value: Long): PodSecurityContext

    Returns a new data with fsGroup set to new value

  42. def withFsGroupChangePolicy(value: String): PodSecurityContext

    Returns a new data with fsGroupChangePolicy set to new value

  43. def withRunAsGroup(value: Long): PodSecurityContext

    Returns a new data with runAsGroup set to new value

  44. def withRunAsNonRoot(value: Boolean): PodSecurityContext

    Returns a new data with runAsNonRoot set to new value

  45. def withRunAsUser(value: Long): PodSecurityContext

    Returns a new data with runAsUser set to new value

  46. def withSeLinuxOptions(value: SELinuxOptions): PodSecurityContext

    Returns a new data with seLinuxOptions set to new value

  47. def withSeccompProfile(value: SeccompProfile): PodSecurityContext

    Returns a new data with seccompProfile set to new value

  48. def withSupplementalGroups(value: Seq[Long]): PodSecurityContext

    Returns a new data with supplementalGroups set to new value

  49. def withSysctls(value: Seq[Sysctl]): PodSecurityContext

    Returns a new data with sysctls set to new value

  50. def withWindowsOptions(value: WindowsSecurityContextOptions): PodSecurityContext

    Returns a new data with windowsOptions set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped