HelmReleaseResource

Handle
📦 CommunityToolkit.Aspire.Hosting.K3s v13.6.1
interface HelmReleaseResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithParent,
K3sClusterResource]],
IResourceWithProbes,
IResourceWithWaitSupport {
readonly namespace: string;
readonly parent: K3sClusterResource;
readonly releaseName: string;
withHelmValue(
key: string,
value: string): HelmReleaseResource;
withHelmValuesFile(path: string): HelmReleaseResource;
}

Properties

propertynamespacestringget
Gets the Kubernetes namespace the chart is installed into.
propertyparentK3sClusterResourceget
Gets the Parent property
propertyreleaseNamestringget
Gets the Helm release name passed to `helm upgrade --install`.

Methods

methodwithHelmValuebuilder
Adds a Helm `--set key=value` override to the release.
withHelmValue(
key: string,
value: string): HelmReleaseResource
keystringThe Helm value path using dot notation, e.g. `server.service.type`. If the same key is set more than once, the last call wins.
valuestringThe value to assign.
HelmReleaseResource
methodwithHelmValuesFilebuilder
Supplies a YAML values file to the Helm release (`--values`).
withHelmValuesFile(path: string): HelmReleaseResource
pathstringPath to the YAML values file on the host. Relative paths are resolved against the AppHost project directory. Call this method multiple times to supply additional files; they are applied in declaration order and later files win for duplicate keys.
HelmReleaseResource