PodPresetSpecPatch

data class PodPresetSpecPatch(val env: List<EnvVarPatch>? = null, val envFrom: List<EnvFromSourcePatch>? = null, val selector: LabelSelectorPatch? = null, val volumeMounts: List<VolumeMountPatch>? = null, val volumes: List<VolumePatch>? = null)

PodPresetSpec is a description of a pod preset.

Constructors

Link copied to clipboard
constructor(env: List<EnvVarPatch>? = null, envFrom: List<EnvFromSourcePatch>? = null, selector: LabelSelectorPatch? = null, volumeMounts: List<VolumeMountPatch>? = null, volumes: List<VolumePatch>? = null)

Types

Link copied to clipboard
object Companion

Properties

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

Env defines the collection of EnvVar to inject into containers.

Link copied to clipboard

EnvFrom defines the collection of EnvFromSource to inject into containers.

Link copied to clipboard

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<VolumePatch>? = null

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