struct

RailsApp::Env::ValueFrom

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

A container for references to the source of an environment variable's value. For example, if you store your env var in a ConfigMap, then you would set configMapKeyRef here.

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(*, config_map_key_ref : RailsApp::Env::ValueFrom::ConfigMapKeyRef | Nil = nil, secret_key_ref : RailsApp::Env::ValueFrom::SecretKeyRef | Nil = nil, field_ref : RailsApp::Env::ValueFrom::FieldRef | Nil = nil)
Source

Instance methods

config_map_key_ref

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

field_ref
secret_key_ref

Nested types