struct

RailsApp::Env::ValueFrom::ConfigMapKeyRef

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

A reference to the ConfigMap that holds the value of this environment variable.

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
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)
new(*, name : String, key : String)
Source

Instance methods

key

The data key inside the ConfigMap to get the value from.

name

The name of the ConfigMap in the same namespace that holds the value you want to use for this env var.