# HelmReleaseResource

- Module: [CommunityToolkit.Aspire.Hosting.K3s](/reference/api/typescript/communitytoolkit.aspire.hosting.k3s.md)
- Version: `13.5.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1)

Represents a Helm chart release installed into a k3s cluster.

## Definition

```typescript
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

- `namespace`: `string` `get` -- Gets the Kubernetes namespace the chart is installed into.
- `parent`: [K3sClusterResource](/reference/api/typescript/communitytoolkit.aspire.hosting.k3s/k3sclusterresource.md) `get` -- Gets the Parent property
- `releaseName`: `string` `get` -- Gets the Helm release name passed to `helm upgrade --install`.

## Methods

- [withHelmValue](/reference/api/typescript/communitytoolkit.aspire.hosting.k3s/helmreleaseresource/withhelmvalue.md) -- `method` -- Adds a Helm `--set key=value` override to the release.
    ```typescript
  withHelmValue(key: string, value: string): HelmReleaseResource
  ```
- [withHelmValuesFile](/reference/api/typescript/communitytoolkit.aspire.hosting.k3s/helmreleaseresource/withhelmvaluesfile.md) -- `method` -- Supplies a YAML values file to the Helm release (`--values`).
    ```typescript
  withHelmValuesFile(path: string): HelmReleaseResource
  ```
