addHelmRelease
Method
interface K3sClusterResource { // ... omitted for brevity addHelmRelease( name: string, chart: string, repo?: string, version?: string, namespace?: string): HelmReleaseResource;}Signature
method
addHelmRelease builderInstalls a Helm chart into the k3s cluster.
addHelmRelease( name: string, chart: string, repo?: string, version?: string, namespace?: string): HelmReleaseResourceParameters
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.repostringoptionalOptional Helm repository URL, e.g. `https://argoproj.github.io/argo-helm`. When provided, the repo is added and updated before installation.versionstringoptionalOptional chart version to pin, e.g. `7.8.0`. When `null` the latest version available in the repository is installed.namespacestringoptional= defaultThe Kubernetes namespace to install the release into. The namespace is created automatically if it does not exist. Defaults to `default`.Returns
HelmReleaseResource Applies to
This method applies to the following types: