Skip to content
DocsTry Aspire
DocsTry

HelmReleaseResource Constructors

ClassConstructors1 member
Represents a Helm chart release installed into a k3s cluster.
Constructor(string, string, string, K3sClusterResource)Section titled Constructor(string, string, string, K3sClusterResource)
Represents a Helm chart release installed into a k3s cluster.
public sealed class HelmReleaseResource
{
public HelmReleaseResource(
string name,
string releaseName,
string @namespace,
K3sClusterResource cluster)
{
// ...
}
}
namestringThe Aspire resource name; also used as the Helm release name.
releaseNamestring The Helm release name passed to helm upgrade --install.
namespacestringThe Kubernetes namespace to install the chart into.
clusterK3sClusterResourceThe parent k3s cluster resource.
The release runs as an alpine/helm container. The container polls until the cluster kubeconfig is available, executes helm upgrade --install --wait, then exits with code 0. Use WaitForCompletion(helmRelease) on resources that depend on the chart being fully installed.