RunAsUserStrategyOptions

case class RunAsUserStrategyOptions(ranges: Optional[Vector[IDRange]], rule: String)

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.

Value Params
ranges

ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.

rule

rule is the strategy that will dictate the allowable RunAsUser values that may be set.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getRanges: IO[K8sFailure, Vector[IDRange]]

ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.

ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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 the allowable RunAsUser values that may be set.

rule is the strategy that will dictate the allowable RunAsUser values that may be set.

This effect always succeeds, it is safe to use the field rule directly.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product