struct

RailsApp::EnvFrom

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

The source of an environment variable, such as a ConfigMap or Secret.

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(*, secret_ref : RailsApp::EnvFrom::SecretRef | Nil = nil, config_map_ref : RailsApp::EnvFrom::ConfigMapRef | Nil = nil)
Source

Instance methods

config_map_ref

A reference to the Kubernetes ConfigMap resource containing the keys and values to set in the environment.

secret_ref

A reference to the Kubernetes Secret resource containing the keys and values to set in the environment.

Nested types