ConfigMapEnvSourcePatch

data class ConfigMapEnvSourcePatch(val name: String? = null, val optional: Boolean? = null)

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

Constructors

Link copied to clipboard
constructor(name: String? = null, optional: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String? = null

Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

Link copied to clipboard
val optional: Boolean? = null

Specify whether the ConfigMap must be defined