struct

Kubernetes::ConfigMapKeySelector

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

Selects a key from a ConfigMap.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

key

The key to select from the ConfigMap's Data field. Keys in the BinaryData field are not currently propagated to container env vars.

Source
key=(key : String | Nil)

The key to select from the ConfigMap's Data field. Keys in the BinaryData field are not currently propagated to container env vars.

Source
name

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

Source
name=(name : String | Nil)

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

Source
optional

Specify whether the ConfigMap or its key must be defined

Source
optional=(optional : Bool | Nil)

Specify whether the ConfigMap or its key must be defined

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source