RunAsUserStrategyOptions

data class RunAsUserStrategyOptions(val ranges: List<IDRange>? = null, val rule: String)

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.

Constructors

Link copied to clipboard
constructor(ranges: List<IDRange>? = null, rule: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val ranges: List<IDRange>? = null

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.

Link copied to clipboard

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