PodPresetSpec

data class PodPresetSpec(val env: List<EnvVar>? = null, val envFrom: List<EnvFromSource>? = null, val selector: LabelSelector? = null, val volumeMounts: List<VolumeMount>? = null, val volumes: List<Volume>? = null)

PodPresetSpec is a description of a pod preset.

Constructors

Link copied to clipboard
constructor(env: List<EnvVar>? = null, envFrom: List<EnvFromSource>? = null, selector: LabelSelector? = null, volumeMounts: List<VolumeMount>? = null, volumes: List<Volume>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val env: List<EnvVar>? = null

Env defines the collection of EnvVar to inject into containers.

Link copied to clipboard
val envFrom: List<EnvFromSource>? = null

EnvFrom defines the collection of EnvFromSource to inject into containers.

Link copied to clipboard
val selector: LabelSelector? = null

Selector is a label query over a set of resources, in this case pods. Required.

Link copied to clipboard

VolumeMounts defines the collection of VolumeMount to inject into containers.

Link copied to clipboard
val volumes: List<Volume>? = null

Volumes defines the collection of Volume to inject into the pod.