EphemeralContainerV1.Env Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Env is a collection of environment variables defined for the container. It represents the list of key-value pairs that provide configuration or additional information to the container processes at runtime.
[YamlDotNet.Serialization.YamlMember(Alias="env")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.EnvVarV1> Env { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="env")>]
member this.Env : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.EnvVarV1>
Public ReadOnly Property Env As List(Of EnvVarV1)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
Env is a list of type EnvVarV1 that can include direct key-value pairs or dynamically derived values from other Kubernetes resources such as ConfigMaps, Secrets, or downward API fields. These environment variables are essential for passing environment-specific configurations into the container.