struct
Kubernetes::EnvFromSource
- Kubernetes::EnvFromSource
- Struct
- Value
- Object
Overview
EnvFromSource represents the source of a set of ConfigMaps or Secrets
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#config_map_ref : ConfigMapEnvSource | Nil
The ConfigMap to select from
-
#config_map_ref=(config_map_ref : ConfigMapEnvSource | Nil)
The ConfigMap to select from
-
#prefix : String | Nil
Optional text to prepend to the name of each environment variable.
-
#prefix=(prefix : String | Nil)
Optional text to prepend to the name of each environment variable.
-
#secret_ref : SecretEnvSource | Nil
The Secret to select from
-
#secret_ref=(secret_ref : SecretEnvSource | Nil)
The Secret to select from
Constructor Detail
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#
Macro Detail
macro field(name, type = nil, **options, &block)
#
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
def prefix : String | Nil
#
Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.
def prefix=(prefix : String | Nil)
#
Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.