RuntimeClassStrategyOptionsPatch

data class RuntimeClassStrategyOptionsPatch(val allowedRuntimeClassNames: List<String>? = null, val defaultRuntimeClassName: String? = null)

RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.

Constructors

Link copied to clipboard
constructor(allowedRuntimeClassNames: List<String>? = null, defaultRuntimeClassName: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.

Link copied to clipboard

defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.