Skip to content
DocsTry Aspire
DocsTry

HelmReleaseResource

Classsealednet10.0
📦 CommunityToolkit.Aspire.Hosting.K3s v13.4.1-beta.706
Represents a Helm chart release installed into a k3s cluster.
namespace Aspire.Hosting.ApplicationModel;
public sealed class HelmReleaseResource
: Aspire.Hosting.ApplicationModel.ContainerResource,
Aspire.Hosting.ApplicationModel.IResource,
Aspire.Hosting.ApplicationModel.IResourceWithParent,
Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.ApplicationModel.K3sClusterResource>
{
// ...
}
ContainerResourceIResourceIResourceWithParentIResourceWithParent<K3sClusterResource>
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.