RuntimeClassStrategyOptionsArgs

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

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

Constructors

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

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
val defaultRuntimeClassName: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): RuntimeClassStrategyOptionsArgs