com.coralogix.zio.k8s.model.policy.v1beta1
SupplementalGroupsStrategyOptions
Companion object SupplementalGroupsStrategyOptions
case class SupplementalGroupsStrategyOptions(ranges: Optional[Vector[IDRange]] = Optional.Absent, rule: Optional[String] = Optional.Absent) extends Product with Serializable
SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.
- ranges
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
- rule
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
- Alphabetic
- By Inheritance
- SupplementalGroupsStrategyOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SupplementalGroupsStrategyOptions(ranges: Optional[Vector[IDRange]] = Optional.Absent, rule: Optional[String] = Optional.Absent)
- ranges
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
- rule
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
Value Members
-
def
getRanges: IO[K8sFailure, Vector[IDRange]]
ranges are the allowed ranges of supplemental groups.
ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getRule: IO[K8sFailure, String]
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val ranges: Optional[Vector[IDRange]]
- val rule: Optional[String]