class Pyrite::Api::Core::V1::ConfigMapEnvSource

Overview

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

Defined in:

versions/v1.14/api/core/v1/config_map_env_source.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.


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

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.


def self.new(*, name : String? = nil, optional : Bool? = nil) #

Instance Method Detail

def name : String? #

def name=(name : String?) #

def optional : Bool? #

def optional=(optional : Bool?) #