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