struct RailsApp::BeforeCreate::EnvFrom
- RailsApp::BeforeCreate::EnvFrom
- Struct
- Value
- Object
Overview
The source of an environment variable, such as a ConfigMap
or Secret
.
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(*, secret_ref : RailsApp::BeforeCreate::EnvFrom::SecretRef | Nil = nil, config_map_ref : RailsApp::BeforeCreate::EnvFrom::ConfigMapRef | Nil = nil)
Instance Method Summary
-
#config_map_ref : ConfigMapRef | Nil
A reference to the Kubernetes
ConfigMap
resource containing the keys and values to set in the environment. -
#secret_ref : SecretRef | Nil
A reference to the Kubernetes
Secret
resource containing the keys and values to set in the environment.
Constructor Detail
def self.new(*, secret_ref : RailsApp::BeforeCreate::EnvFrom::SecretRef | Nil = nil, config_map_ref : RailsApp::BeforeCreate::EnvFrom::ConfigMapRef | Nil = nil)
#
Instance Method Detail
def config_map_ref : ConfigMapRef | Nil
#
A reference to the Kubernetes ConfigMap
resource containing the keys and values to set in the environment.