struct RailsApp::Env::ValueFrom

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

Defined in:

rails_app_operator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

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) #

[View source]

Instance Method Detail

def config_map_key_ref : ConfigMapKeyRef | Nil #

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


def field_ref : FieldRef | Nil #

def secret_key_ref : SecretKeyRef | Nil #