Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddHelmRelease

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
func (K3sClusterResource) AddHelmRelease(
name string,
chart string,
options ...*AddHelmReleaseOptions,
) HelmReleaseResource

Signature

methodAddHelmReleasebuilder
Installs a Helm chart into the k3s cluster.
AddHelmRelease(
name string,
chart string,
options ...*AddHelmReleaseOptions,
) HelmReleaseResource
namestringThe Aspire resource name; also used as the Helm release name passed to helm upgrade --install.
chartstringThe chart name, e.g. argo-cd for a repo chart or oci://registry/chart for an OCI reference. Provide repo when using a named repo chart.
options...*AddHelmReleaseOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddHelmReleaseOptions argument.

Repo*stringOptional Helm repository URL, e.g. https://argoproj.github.io/argo-helm. When provided, the repo is added and updated before installation.
Version*stringOptional chart version to pin, e.g. 7.8.0. When null the latest version available in the repository is installed.
Namespace*stringThe Kubernetes namespace to install the release into. The namespace is created automatically if it does not exist. Defaults to default.
HelmReleaseResource

A builder for the HelmReleaseResource.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: