struct RailsApp::Env::ValueFrom
- RailsApp::Env::ValueFrom
- Struct
- Value
- Object
Overview
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.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
rails_app_operator.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#config_map_key_ref : ConfigMapKeyRef | Nil
A reference to the
ConfigMap
that holds the value of this environment variable. - #field_ref : FieldRef | Nil
- #secret_key_ref : SecretKeyRef | Nil
Constructor Detail
def self.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)
#
Instance Method Detail
def config_map_key_ref : ConfigMapKeyRef | Nil
#
A reference to the ConfigMap
that holds the value of
this environment variable.