Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

EnvVarV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
EnvVarV1 represents an environment variable in a Kubernetes resource. It is used to define key-value pairs or to derive values from other Kubernetes resources through a configurable source.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class EnvVarV1
{
// ...
}
EnvVarV1 contains properties to define the name and value of the environment variable directly, or to set the value dynamically using a source, such as a ConfigMap, Secret, or Field reference.
View all constructors
View all properties