class K8S::Api::Core::V1::SecretEnvSource

Overview

SecretEnvSource selects a Secret to populate the environment variables with.

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

Included Modules

Defined in:

versions/v1.21/api/core/v1/secret_env_source.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

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

[View source]

Instance Method Detail

def name : String? #

[View source]
def name=(name : String?) #

[View source]
def optional : Bool? #

[View source]
def optional=(optional : Bool?) #

[View source]