struct RailsApp::BeforeCreate::EnvFrom

Overview

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

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

[View source]

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.


def secret_ref : SecretRef | Nil #

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