Skip to content
Docs Try Aspire
Docs Try

KubernetesHelmChartResource

Handle
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesHelmChartResource
extends IResource,
IResourceWithParent,
KubernetesEnvironmentResource]] {
withHelmChartDestroy(): KubernetesHelmChartResource;
withHelmChartForceConflicts(): KubernetesHelmChartResource;
withHelmChartNamespace(namespace: string): KubernetesHelmChartResource;
withHelmChartReleaseName(releaseName: string): KubernetesHelmChartResource;
withHelmValue(
key: string,
value: string): KubernetesHelmChartResource;
}

Methods

method withHelmChartDestroy builder
Opts the Helm chart in to destroy-time uninstall. When set, `aspire destroy` will run `helm uninstall` for this release as part of the destroy pipeline.
withHelmChartDestroy(): KubernetesHelmChartResource
KubernetesHelmChartResource
Opts the Helm chart in to `helm upgrade --install --force-conflicts`. When set, Helm's server-side apply forcibly takes over any fields owned by another field manager instead of failing with a conflict.
withHelmChartForceConflicts(): KubernetesHelmChartResource
KubernetesHelmChartResource
Sets the Kubernetes namespace for the Helm chart installation. If not set, the namespace defaults to the chart resource name.
withHelmChartNamespace(namespace: string): KubernetesHelmChartResource
namespace string
KubernetesHelmChartResource
Sets the Helm release name for the chart installation. If not set, the release name defaults to the resource name.
withHelmChartReleaseName(releaseName: string): KubernetesHelmChartResource
releaseName string
KubernetesHelmChartResource
method withHelmValue builder
Sets a Helm value for the chart installation. Values are passed to `helm upgrade --install` via `--set` flags.
withHelmValue(
key: string,
value: string): KubernetesHelmChartResource
key string
value string
KubernetesHelmChartResource