ConfigMapKeySelector

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

Selects a key from a ConfigMap.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val key: String

The key to select.

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 or its key must be defined