struct
Kubernetes::EnvVarSource
- Kubernetes::EnvVarSource
- Struct
- Value
- Object
Overview
EnvVarSource represents a source for the value of an EnvVar.
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_key_ref : ConfigMapKeySelector | Nil
Selects a key of a ConfigMap.
-
#config_map_key_ref=(config_map_key_ref : ConfigMapKeySelector | Nil)
Selects a key of a ConfigMap.
-
#field_ref : ObjectFieldSelector | Nil
Selects a field of the pod: supports metadata.name, metadata.namespace,
metadata.labels['<KEY>'],metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -
#field_ref=(field_ref : ObjectFieldSelector | Nil)
Selects a field of the pod: supports metadata.name, metadata.namespace,
metadata.labels['<KEY>'],metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. -
#file_key_ref : FileKeySelector | Nil
FileKeyRef selects a key of the env file.
-
#file_key_ref=(file_key_ref : FileKeySelector | Nil)
FileKeyRef selects a key of the env file.
-
#resource_field_ref : ResourceFieldSelector | Nil
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
-
#resource_field_ref=(resource_field_ref : ResourceFieldSelector | Nil)
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
-
#secret_key_ref : SecretKeySelector | Nil
Selects a key of a secret in the pod's namespace
-
#secret_key_ref=(secret_key_ref : SecretKeySelector | Nil)
Selects a key of a secret in the pod's namespace
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Selects a key of a ConfigMap.
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled.
FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled.
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
Selects a key of a secret in the pod's namespace