class Pyrite::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.

Defined in:

versions/v1.14/api/core/v1/secret_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) #

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.


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

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.


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