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.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
SecretEnvSource selects a Secret to populate the environment variables with.
-
.new(pull : JSON::PullParser)
SecretEnvSource selects a Secret to populate the environment variables with.
- .new(*, name : String? = nil, optional : Bool? = nil)
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.