Watch Aspire live streamsDocsTry Aspire

EnvVarSourceV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v17.0.0
EnvVarSourceV1 represents a source for an environment variable value in a Kubernetes resource. It provides multiple options to derive the value of an environment variable, such as from a specific key in a ConfigMap, a field reference within the resource, a resource field (e.g., CPU or memory usage), a specific key in a Secret, or a key in an environment variable file.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class EnvVarSourceV1
{
// ...
}
View all constructors
View all properties