Skip to content

security.v1.runAsUserStrategyOptions

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

Index

Fields

fn withType

withType(type)

"Type is the strategy that will dictate what RunAsUser is used in the SecurityContext."

fn withUid

withUid(uid)

"UID is the user id that containers must run as. Required for the MustRunAs strategy if not using namespace/service account allocated uids."

fn withUidRangeMax

withUidRangeMax(uidRangeMax)

"UIDRangeMax defines the max value for a strategy that allocates by range."

fn withUidRangeMin

withUidRangeMin(uidRangeMin)

"UIDRangeMin defines the min value for a strategy that allocates by range."