Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddHelmChart

Method
📦 Aspire.Hosting.Kubernetes v13.6.5-preview.1.26559.7
func (KubernetesEnvironmentResource) AddHelmChart(
name string,
chartReference string,
chartVersion string,
) KubernetesHelmChartResource

Signature

methodAddHelmChartbuilder
Adds an external Helm chart to be installed in the Kubernetes environment. The chart is installed via helm upgrade --install as a pipeline step after the main application Helm chart is deployed.
AddHelmChart(
name string,
chartReference string,
chartVersion string,
) KubernetesHelmChartResource
namestringThe name of the Helm chart resource (used as release name and namespace if not overridden).
chartReferencestringThe Helm chart reference. Can be an OCI registry URL (e.g., oci://quay.io/jetstack/charts/cert-manager) or a chart name from an added repository.
chartVersionstringThe chart version to install.
KubernetesHelmChartResource

A resource builder for the Helm chart resource.

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

Applies to

This method applies to the following types: